@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:active {
    transform: scale(0.98);
}

.logo-img {
    height: 39px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-link:hover .logo-img {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.75rem 0;
    border: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
    text-decoration: none;
}

.cart-btn,
a.cart-btn {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.cart-icon {
    width: 24px;
    height: 24px;
    fill: var(--white);
    transition: transform 0.3s;
}

.cart-btn:hover .cart-icon {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.user-menu-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Hide user menu button on mobile and tablet - links are in mobile menu */
@media (max-width: 1024px) {
    .user-menu-btn {
        display: none !important;
    }
}

.user-menu-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.user-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.user-menu-btn:hover .user-icon {
    transform: scale(1.1);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.user-menu-dropdown a:last-child {
    border-bottom: none;
}

.user-menu-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.user-menu-dropdown a svg {
    width: 18px;
    height: 18px;
}

/* Legacy logout-btn support */
.logout-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.logout-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.logout-btn:hover .logout-icon {
    transform: translateX(2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 50%, var(--white) 100%);
    color: var(--text-dark);
    padding: 4rem 0 6rem;
}

.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
}

.trust-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.hero-description .highlight {
    text-decoration: underline;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    fill: var(--primary-color);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-credibility {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cred-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Hero Right Side */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
    background: var(--white);
}

.why-choose-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.why-choose-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.why-choose-right {
    flex: 1;
}

.why-choose-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.why-choose-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.why-choose-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.why-choose-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    
}

.why-choose-right {
    position: relative;
}

.why-choose-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
}

.why-choose-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.performance-bars {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
    z-index: 2;
}

.bar {
    width: 8px;
    border-radius: 4px;
}

.bar-1 {
    height: 60px;
    background: #86efac;
}

.bar-2 {
    height: 120px;
    background: #22d3ee;
}

/* Security Section */
.security-section {
    padding: 6rem 0;
    background: var(--white);
}

.security-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.security-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.security-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.security-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.security-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.security-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.testimonials-wrapper {
    position: relative;
}

.testimonials-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    padding: 2rem;
    min-width: calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.testimonial-stars .star {
    color: #fbbf24;
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-stars .star {
    transform: scale(1.1);
}

.testimonial-headline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    flex-grow: 1;
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author::before {
    content: '—';
    color: var(--primary-color);
    font-weight: 400;
}

.testimonial-time {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.testimonials-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
    align-items: center;
}

.nav-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-arrow:hover svg {
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: translateY(0) scale(0.95);
}

.nav-arrow:disabled,
.nav-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-arrow:disabled:hover,
.nav-arrow.disabled:hover {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-dark);
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

.product-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, #fef3f2 0%, var(--white) 20%);
}

.product-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.product-card.featured .product-card-header {
    border-bottom-color: var(--primary-color);
}

.product-badge {
    background: #ef4444;
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card.featured .product-badge {
    background: var(--primary-color);
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.product-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.product-price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.product-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-features {
    list-style: none;
    margin: 0 0 2rem;
    flex-grow: 1;
    padding: 0;
}

.product-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.add-to-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-card.featured .add-to-cart {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-dark);
}

.cart-items {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info h4 {
    margin-bottom: 0.25rem;
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: var(--border-color);
}

.remove-btn {
    background: #ef4444;
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: right;
}

.checkout-btn {
    width: 100%;
}

/* Logout Modal */
.logout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.logout-modal.active {
    display: flex;
}

.logout-modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
    border: 1px solid var(--border-color);
}

.logout-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logout-modal-icon svg {
    width: 32px;
    height: 32px;
}

.logout-modal-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.logout-modal-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.logout-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.logout-modal-actions .btn {
    flex: 1;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-modal-actions .btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.logout-modal-actions .btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-light);
}

.logout-modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.logout-modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Auth Modal - Mobile First Design */
#authModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

#authModal.active {
    display: flex;
}

#authModal .modal-content {
    background: var(--white);
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

#authModal .auth-modal-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Close Button */
#authModal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    touch-action: manipulation;
}

#authModal .modal-close:active {
    background: var(--border-color);
}

/* Tabs */
#authModal .auth-tabs {
    display: flex;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 5;
}

#authModal .auth-tab {
    flex: 1;
    padding: 1.25rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
}

#authModal .auth-tab svg {
    display: none;
}

#authModal .auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

#authModal .auth-tab:active {
    background: var(--bg-light);
}

/* Form Container */
#authModal .auth-form-container {
    display: none;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1.5rem;
    padding-bottom: 3rem;
}

#authModal .auth-form-container.active {
    display: block;
}

/* Header */
#authModal .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

#authModal .auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

#authModal .auth-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Form Groups */
#authModal .form-group {
    margin-bottom: 1.5rem;
}

#authModal .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Input Wrapper */
#authModal .input-wrapper {
    position: relative;
}

#authModal .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-light);
    pointer-events: none;
}

#authModal .input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
    min-height: 52px;
}

#authModal .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#authModal .input-wrapper input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

/* Password Toggle */
#authModal .password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    touch-action: manipulation;
}

#authModal .password-toggle:active {
    color: var(--text-dark);
}

#authModal .password-toggle .eye-icon {
    width: 20px;
    height: 20px;
}

/* Form Options */
#authModal .form-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

#authModal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
    touch-action: manipulation;
}

#authModal .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

#authModal .forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    text-align: right;
    touch-action: manipulation;
}

#authModal .forgot-password:active {
    color: var(--primary-dark);
}

/* Submit Button */
#authModal .auth-submit {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    transition: all 0.2s;
    touch-action: manipulation;
}

#authModal .auth-submit:active:not(:disabled) {
    transform: scale(0.98);
}

#authModal .auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    #authModal {
        align-items: center;
        padding: 2rem;
    }
    
    #authModal .modal-content {
        max-width: 480px;
        max-height: 85vh;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    #authModal .auth-form-container {
        padding: 2.5rem;
    }
    
    #authModal .auth-header h2 {
        font-size: 1.75rem;
    }
    
    #authModal .form-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    #authModal .forgot-password {
        text-align: left;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, #f8fafc 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.contact-info-card:hover::before {
    transform: scaleY(1);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-info-content {
    flex: 1;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    
}

.contact-info-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafbfc;
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 1.125rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.contact-submit:hover svg {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1.25rem 0;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-form p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.5rem 0;
}

.newsletter-form input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
/* Fallback: If JavaScript is disabled, content should still be visible */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in,
.zoom-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    transform: scale(0.9);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

.zoom-in {
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* CRITICAL: Show content if JavaScript fails or is disabled */
/* Fallback: Make content visible after 1 second if not animated */
.fade-in-up:not(.animated),
.fade-in-left:not(.animated),
.fade-in-right:not(.animated),
.scale-in:not(.animated),
.zoom-in:not(.animated) {
    animation: forceVisible 0.1s ease-out 1s forwards;
}

@keyframes forceVisible {
    to {
        opacity: 1 !important;
        transform: translateY(0) translateX(0) scale(1) !important;
    }
}

/* If already animated, don't use fallback animation */
.fade-in-up.animated,
.fade-in-left.animated,
.fade-in-right.animated,
.scale-in.animated,
.zoom-in.animated {
    animation: none;
}

/* Stagger Animation Delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

/* Responsive Design */
/* Tablet Styles (769px - 1024px) - Hero Section Layout */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section - Centered layout */
    .hero-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        max-width: 900px;
    }

    /* Testimonials - Show 2 cards on tablet */
    .testimonial-card {
        min-width: calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }

    .testimonials-container {
        gap: 1.5rem;
        padding: 1rem 0.5rem 2rem;
    }
}

/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Hide desktop logout button on tablet/mobile - use mobile menu instead */
    .logout-btn,
    button.logout-btn,
    #logoutBtn {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Hide user menu button on tablet/mobile - links are in mobile menu */
    .user-menu-btn,
    #userMenuBtn {
        display: none !important;
        visibility: hidden !important;
    }

    /* Show mobile menu logout link on tablet/mobile */
    .mobile-logout-link {
        display: flex !important;
    }
    
    /* Hide mobile logout links by default - will be shown by JS if user is logged in */
    .mobile-logout-link[style*="display: none"],
    .mobile-logout-link[style*="display:none"] {
        display: none !important;
    }

    /* Footer Tablet Styles */
    .footer {
        padding: 3.5rem 0 0;
    }

    .footer-content {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-section:first-child {
        grid-column: auto;
        text-align: left;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-logo p {
        text-align: left;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        font-size: 0.875rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-section:nth-child(5) {
        grid-column: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        text-align: left;
    }

    .newsletter-form {
        max-width: 100%;
        margin: 0;
    }

    .newsletter-form p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .newsletter-form input {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .newsletter-form button {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-legal {
        flex-direction: row;
        gap: 2rem;
    }

    /* Completely disable hover dropdown on tablet and mobile - use click only */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
    }
    
    /* Disable arrow rotation on hover for tablet/mobile */
    .nav-dropdown:hover .dropdown-arrow {
        transform: none !important;
    }
    
    /* Only show dropdown when .active class is present (from click) */
    .nav-dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    /* Arrow rotation only on active (click) state */
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 1.5rem;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    /* Tablet Dropdown Styles */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        text-align: left;
    }
    
    /* Left align all menu items */
    .nav-menu > li {
        width: 100%;
        text-align: left;
    }
    
    .nav-menu > li > a {
        display: block;
        padding: 1rem 1.5rem;
        text-align: left;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        background: var(--bg-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 0.875rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu a::before {
        display: none;
    }

    .dropdown-menu a:hover {
        padding-left: 2rem;
        background: rgba(99, 102, 241, 0.05);
    }

    .mobile-login-link {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--border-color);
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-color) !important;
        font-weight: 700;
        text-align: left;
        text-decoration: none;
        transition: all 0.3s;
    }

    /* Hide mobile menu logout link on desktop - use desktop logout button instead */
    @media (min-width: 1025px) {
        .mobile-logout-link {
            display: none !important;
        }
    }

    .mobile-logout-link:hover {
        background: rgba(99, 102, 241, 0.05);
        color: var(--primary-dark) !important;
    }

    .mobile-logout-link {
        align-items: center !important;
        justify-content: flex-start;
        line-height: 1.5;
    }

    .mobile-logout-link .logout-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-right: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logout-link span {
        display: inline-block;
        vertical-align: middle;
        line-height: 1.5;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    .nav-left {
        gap: 1rem;
    }

    .nav-login-btn {
        display: none;
    }

    /* Hide desktop logout button on mobile - use mobile menu instead */
    .logout-btn,
    button.logout-btn,
    #logoutBtn {
        display: none !important;
        visibility: hidden !important;
    }

    /* Reduce section padding on mobile */
    .hero {
        padding: 2rem 0 3rem;
    }

    .why-choose {
        padding: 3rem 0;
    }

    .security-section {
        padding: 3rem 0;
    }

    .testimonials-section {
        padding: 3rem 0;
    }

    .hero-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-credibility {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .why-choose-heading {
        font-size: 2rem;
    }

    .why-choose-title {
        font-size: 1.5rem;
    }

    .why-choose-description {
        font-size: 1rem;
    }

    .uptime-overlay {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
    }

    .performance-bars {
        display: none;
    }

    .security-wrapper {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .security-title {
        font-size: 2rem;
    }

    .security-description {
        font-size: 1rem;
    }

    .security-image {
        max-width: 100%;
        height: auto;
        max-height: 300px;
    }
    
    .why-choose-image {
        max-height: 300px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-price-amount {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-heading {
        font-size: 1.75rem;
    }

    .testimonial-card {
        min-width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        padding: 1.5rem;
    }

    .testimonials-container {
        gap: 1rem;
        padding: 1rem 1rem 2rem;
    }
    
    .testimonials-nav {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .nav-arrow {
        width: 48px;
        height: 48px;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Footer Responsive Styles */
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section:first-child {
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo p {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter-form p {
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .newsletter-form input {
        width: 100%;
        padding: 1rem;
    }

    .newsletter-form button {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .footer-legal a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        display: block;
    }

    .footer-section h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .footer-logo p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .logout-modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .logout-modal-icon {
        width: 56px;
        height: 56px;
    }

    .logout-modal-icon svg {
        width: 28px;
        height: 28px;
    }

    .logout-modal-content h2 {
        font-size: 1.5rem;
    }

    .logout-modal-actions {
        flex-direction: column;
    }

    .logout-modal-actions .btn {
        width: 100%;
    }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 0;
    }

    .footer-content {
        gap: 2rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-logo p {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .newsletter-form input {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-legal a {
        font-size: 0.8rem;
    }
}

