/* ================================
   Global Styles & Variables
   ================================ */

:root {
    /* Colors - Light Mode */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #f093fb;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --background: #ffffff;
    --background-secondary: #f7fafc;
    --border: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
body.dark-mode {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e0;
    --background: #1a202c;
    --background-secondary: #2d3748;
    --border: #4a5568;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

body.dark-mode .hero-bg {
    background: linear-gradient(to bottom, #2d3748 0%, #1a202c 100%);
}

body.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.98);
    border-bottom: 1px solid var(--border);
}

body.dark-mode .logo-x {
    color: #a78bfa;
}

/* Better text contrast in dark mode */
body.dark-mode .hero-subtitle,
body.dark-mode .section-subtitle,
body.dark-mode .product-description,
body.dark-mode .contact-info p,
body.dark-mode .about-text p {
    color: #e2e8f0;
}

body.dark-mode .stat-label {
    color: #cbd5e0;
}

body.dark-mode .product-row,
body.dark-mode .contact-item,
body.dark-mode .about-image {
    background: var(--background-secondary);
}

body.dark-mode .product-row.featured {
    background: var(--gradient-primary);
}

body.dark-mode .product-row.featured .product-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Featured product button in dark mode - Brighter cyan/teal */
body.dark-mode .product-row.featured .btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
    font-weight: 700;
}

body.dark-mode .product-row.featured .btn-primary:hover {
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.6);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: var(--background-secondary);
    color: var(--text-primary);
    border-color: var(--border);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #a0aec0;
    opacity: 1;
}

body.dark-mode .contact-item a {
    color: #90cdf4;
}

body.dark-mode .contact-item a:hover {
    color: #63b3ed;
}

/* Additional dark mode text improvements */
body.dark-mode .footer {
    background: #0f1419;
    color: #e2e8f0;
}

body.dark-mode .footer p {
    color: #cbd5e0;
}

body.dark-mode .section-title,
body.dark-mode .section-header .section-title {
    color: #f7fafc !important;
}

body.dark-mode .section-subtitle,
body.dark-mode .section-header .section-subtitle {
    color: #e2e8f0 !important;
}

body.dark-mode .feature-title,
body.dark-mode .about h2,
body.dark-mode .contact h2 {
    color: #f7fafc;
}

body.dark-mode .hero-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #a5b4fc;
}

body.dark-mode .tag {
    background: rgba(102, 126, 234, 0.15);
    color: #a5b4fc;
}

body.dark-mode .product-row.featured .tag {
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
}

/* Button fixes for dark mode */
body.dark-mode .btn-secondary {
    background: var(--background-secondary);
    color: #f7fafc;
    border: 2px solid var(--border);
}

body.dark-mode .btn-secondary:hover {
    background: #3d4c5f;
    border-color: #667eea;
}

body.dark-mode .btn-primary {
    /* Primary button already looks good with gradient */
    color: white;
}

/* Ensure product row action buttons are visible */
body.dark-mode .product-row-action .btn {
    color: #f7fafc;
}

body.dark-mode .product-row-action .btn-secondary {
    background: var(--background-secondary);
    color: #f7fafc;
    border: 2px solid var(--border);
}

body.dark-mode .product-row-action .btn-primary {
    color: white;
}

/* Contact section - Force bright colors in dark mode */
body.dark-mode .contact {
    background: var(--background);
}

body.dark-mode .contact .section-header .section-title {
    color: #f7fafc !important;
}

body.dark-mode .contact .section-header .section-subtitle {
    color: #e2e8f0 !important;
}

body.dark-mode .contact .section-title,
body.dark-mode .contact h2 {
    color: #f7fafc !important;
}

body.dark-mode .contact .section-subtitle {
    color: #e2e8f0 !important;
}

body.dark-mode .contact p {
    color: #e2e8f0 !important;
}

body.dark-mode .contact-details h4 {
    color: #f7fafc;
}

/* About section - feature icons */
body.dark-mode .feature-icon {
    background: var(--gradient-primary);
}

body.dark-mode .feature-icon svg {
    stroke: white;
}

body.dark-mode .feature-content h4 {
    color: #f7fafc;
}

body.dark-mode .feature-content p {
    color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ================================
   Navigation
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-x {
    color: #667eea;
    font-style: italic;
    font-weight: 800;
}

/* Keep old .logo-icon for backward compatibility if needed */
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.nav-link-external {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link-external:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--background-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================================
   Hero Section
   ================================ */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #f7fafc 0%, #ffffff 100%);
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -250px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -200px;
    left: -100px;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

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


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}


/* ================================
   Products Section
   ================================ */

.products {
    padding: 100px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Products List Layout */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.product-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.product-row:hover {
    transform: translateY(-4px) translateX(2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary);
}

.product-row:hover .product-icon {
    transform: scale(1.05);
}

.product-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-row.featured {
    background: var(--gradient-primary);
    color: white;
    border-left-color: rgba(255, 255, 255, 0.3);
}

.product-row.featured .product-description {
    color: rgba(255, 255, 255, 0.9);
}

.product-row.featured .tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-row-icon {
    flex-shrink: 0;
}

.product-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    color: var(--primary);
}

.product-icon svg {
    stroke: var(--primary);
}

.product-row.featured .product-icon {
    background: rgba(255, 255, 255, 0.15);
}

.product-row.featured .product-icon svg {
    stroke: white;
}

/* Featured product button - Vibrant teal/cyan for high contrast */
.product-row.featured .btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    font-weight: 700;
}

.product-row.featured .btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.product-row-content {
    flex: 1;
}

.product-row-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

.product-row:hover .product-title {
    color: var(--primary);
}

.product-row.featured:hover .product-title {
    color: white;
}

.featured-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 16px;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.product-row:hover .tag {
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.15);
}

.product-row-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.product-row-action .btn {
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-row:hover .product-row-action .btn {
    transform: translateX(3px);
}

/* ================================
   About Section
   ================================ */

.about {
    padding: 100px 0;
    background: var(--background-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.feature-icon svg {
    stroke: white;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ================================
   Contact Section
   ================================ */

.contact {
    padding: 100px 0;
    background: white;
}

.contact-info-centered {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 35px 30px;
    background: var(--background-secondary);
    border-radius: 15px;
    transition: var(--transition);
    min-width: 250px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.contact-icon svg {
    stroke: white;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-dark);
}

/* ================================
   Footer
   ================================ */

.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-centered {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .contact-item {
        width: 100%;
        max-width: 350px;
    }
    
    .product-row {
        padding: 30px;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
    }
    
    .product-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 70vh;
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 35px;
    }
    
    .product-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-row-icon {
        align-self: flex-start;
    }
    
    .product-row-action {
        align-self: stretch;
    }
    
    .product-row-action .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .product-row {
        padding: 25px;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
    }
    
    .product-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ================================
   Privacy Policy Page
   ================================ */

.privacy-policy-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.privacy-header .last-updated {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-intro {
    background: var(--background-secondary);
    padding: 24px 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 48px;
}

.privacy-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

.privacy-section {
    margin-bottom: 48px;
}

.privacy-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.privacy-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.privacy-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
}

.privacy-section ul li::before {
    content: "•";
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.privacy-section a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.contact-info {
    background: var(--background-secondary);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-info a {
    color: var(--primary);
}

.privacy-summary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 32px;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    margin-top: 60px;
}

.privacy-summary h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.privacy-summary p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* Dark mode for privacy policy */
body.dark-mode .privacy-policy-section {
    background: var(--background);
}

body.dark-mode .privacy-header h1 {
    color: #f7fafc;
}

body.dark-mode .privacy-header .last-updated {
    color: var(--text-muted);
}

body.dark-mode .privacy-intro {
    background: var(--background-secondary);
}

body.dark-mode .privacy-intro p {
    color: #f7fafc;
}

body.dark-mode .privacy-section h2,
body.dark-mode .privacy-section h3 {
    color: #f7fafc;
}

body.dark-mode .privacy-section p,
body.dark-mode .privacy-section ul li {
    color: #e2e8f0;
}

body.dark-mode .privacy-section a {
    color: #a78bfa;
}

body.dark-mode .privacy-section a:hover {
    color: #c4b5fd;
}

body.dark-mode .contact-info {
    background: var(--background-secondary);
}

body.dark-mode .contact-info a {
    color: #a78bfa;
}

body.dark-mode .privacy-summary {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(167, 139, 250, 0.3);
}

body.dark-mode .privacy-summary h3,
body.dark-mode .privacy-summary p {
    color: #f7fafc;
}

/* Responsive privacy policy */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 100px 0 60px;
    }
    
    .privacy-header h1 {
        font-size: 32px;
    }
    
    .privacy-section h2 {
        font-size: 24px;
    }
    
    .privacy-intro,
    .privacy-summary {
        padding: 20px;
    }
    
    .privacy-section ul li {
        padding-left: 28px;
    }
}

/* ================================
   Chrome Extensions Page Styles
   ================================ */

.extensions-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid var(--border);
}

.extensions-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.extensions-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.extensions-stats .stat-item {
    text-align: center;
}

.extensions-stats .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.extensions-stats .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Extensions Grid Section */
.extensions-grid-section {
    padding: 80px 0;
    background: var(--background);
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.extension-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.extension-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.extension-card.featured {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.extension-card.featured * {
    color: white;
}

.extension-card.featured .extension-title,
.extension-card.featured .extension-description,
.extension-card.featured .extension-features h4,
.extension-card.featured .extension-features li {
    color: white;
}

.extension-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.extension-icon {
    width: 64px;
    height: 64px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.extension-card.featured .extension-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.extension-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.badge-users {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.badge-rating {
    background: #fbbf24;
    color: #78350f;
}

.extension-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.extension-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
}

.rating-score {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.extension-card.featured .rating-score {
    color: white;
}

.rating-count {
    font-size: 14px;
    color: var(--text-muted);
}

.extension-card.featured .rating-count {
    color: rgba(255, 255, 255, 0.8);
}

.extension-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.extension-features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.extension-features h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.extension-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extension-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.extension-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #10b981;
}

.extension-card.featured .extension-features li svg {
    color: white;
}

.extension-footer {
    margin-top: auto;
}

.btn-full {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

/* Non-featured card button styling */
.extension-card:not(.featured) .btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.extension-card:not(.featured) .btn-secondary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #663d8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Featured card button styling */
.extension-card.featured .btn-primary {
    background: white;
    color: #667eea;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.extension-card.featured .btn-primary svg {
    color: #667eea;
    fill: #667eea;
}

.extension-card.featured .btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.extension-card.featured .btn-primary:hover svg {
    color: #5568d3;
    fill: #5568d3;
}

.extension-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.extension-card.featured .extension-meta {
    color: rgba(255, 255, 255, 0.7);
}

/* Why Choose Section */
.extensions-why {
    padding: 80px 0;
    background: var(--background-secondary);
}

.extensions-why .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 24px;
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.why-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Privacy Notice Section */
.extensions-privacy {
    padding: 80px 0;
    background: var(--background);
}

.privacy-notice {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px;
    background: var(--background-secondary);
    border-radius: 16px;
    border: 2px solid var(--border);
}

.privacy-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.privacy-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Dark Mode Extensions Page */
body.dark-mode .extensions-hero {
    background: linear-gradient(135deg, rgba(26, 32, 44, 1) 0%, rgba(45, 55, 72, 0.95) 100%);
    border-bottom-color: var(--border);
}

body.dark-mode .page-title {
    color: #f7fafc;
}

body.dark-mode .page-subtitle {
    color: #e2e8f0;
}

body.dark-mode .breadcrumb {
    color: #cbd5e0;
}

body.dark-mode .breadcrumb a {
    color: #a78bfa;
}

body.dark-mode .breadcrumb a:hover {
    color: #c4b5fd;
}

body.dark-mode .extensions-stats .stat-number {
    color: #a78bfa;
}

body.dark-mode .extensions-stats .stat-label {
    color: #cbd5e0;
}

body.dark-mode .extension-card {
    background: var(--background-secondary);
}

body.dark-mode .extension-card:hover {
    border-color: #a78bfa;
}

body.dark-mode .extension-card.featured {
    background: var(--gradient-primary);
}

body.dark-mode .extension-icon {
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
}

body.dark-mode .extension-card:not(.featured) .btn-secondary {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

body.dark-mode .extension-card:not(.featured) .btn-secondary:hover {
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    box-shadow: 0 6px 16px rgba(167, 139, 250, 0.4);
}

body.dark-mode .extension-card.featured .btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

body.dark-mode .extension-card.featured .btn-primary svg {
    color: #667eea;
    fill: #667eea;
}

body.dark-mode .extension-card.featured .btn-primary:hover {
    background: #f7fafc;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

body.dark-mode .extension-card.featured .btn-primary:hover svg {
    color: #5568d3;
    fill: #5568d3;
}

body.dark-mode .privacy-notice {
    background: var(--background-secondary);
}

/* Responsive Extensions Page */
@media (max-width: 1024px) {
    .extensions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .extensions-hero {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .extensions-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .extensions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .extension-card {
        padding: 24px;
    }
    
    .extension-title {
        font-size: 20px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-notice {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }
    
    .privacy-icon {
        margin: 0 auto;
    }
    
    .extensions-grid-section,
    .extensions-why,
    .extensions-privacy {
        padding: 60px 0;
    }
}
