/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Colors */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #f59e0b;
    --secondary-light: #fbbf24;
    
    /* Cultural Colors */
    --gold: #d4af37;
    --gold-light: #f7e98e;
    --navy: #1e2761;
    --cream: #fef7ed;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.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);
    transform: translateY(-1px);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(255, 255, 255, 0.9) 50%, var(--white) 100%);
    padding: calc(70px + var(--space-24)) 0 var(--space-24);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f7e98e' fill-opacity='0.08'%3E%3Cpath d='M30 30l12-12v24l-12-12zm0 0l-12-12v24l12-12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

@media (min-width: 1024px) {
    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: center;
    }
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--navy), var(--primary-color), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-6);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.extension-preview {
    display: flex;
    justify-content: center;
    margin-top: var(--space-12);
}

@media (min-width: 1024px) {
    .extension-preview {
        margin-top: 0;
    }
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    transform: perspective(1200px) rotateY(-8deg) rotateX(8deg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.browser-mockup:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.browser-header {
    background: var(--gray-100);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: var(--space-2);
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
}

.browser-dots span:first-child {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:last-child {
    background: #28ca42;
}

.browser-url {
    background: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    flex: 1;
}

.browser-content {
    padding: var(--space-12);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--secondary-color) 100%);
    position: relative;
}

.browser-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.music-note {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    animation: musicPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes musicPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(-8px) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-4px) scale(1.02);
        opacity: 0.95;
    }
    75% {
        transform: translateY(-12px) scale(1.08);
        opacity: 0.85;
    }
}

/* Section Styles */
.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--navy);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--secondary-color));
    border-radius: var(--radius-full);
}

/* About Section */
.about {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--cream) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.about-grid {
    display: grid;
    gap: var(--space-16);
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: center;
    }
}

.about-text p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.about-features {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
    display: block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* Install Section */
.install {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--navy) 50%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.install::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40l20-20v40l-20-20zm0 0l-20-20v40l20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.install .section-title {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.install .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--secondary-light));
}

.install-content {
    display: grid;
    gap: var(--space-16);
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .install-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: center;
    }
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.step {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--secondary-light));
    color: var(--navy);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.step-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.install-button-container {
    text-align: center;
}

.install-note {
    margin-top: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

/* Privacy Page Specific Styles */
.privacy-main {
    padding-top: calc(70px + var(--space-8));
    padding-bottom: var(--space-16);
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: var(--space-16);
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, var(--cream), var(--gray-50));
    border-radius: var(--radius-2xl);
}

.privacy-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-4);
}

.privacy-date {
    color: var(--gray-600);
    font-size: var(--font-size-lg);
}

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

.privacy-section {
    margin-bottom: var(--space-12);
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}

.privacy-section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-6);
}

.privacy-section p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-4);
}

.privacy-section ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.privacy-section li {
    margin-bottom: var(--space-2);
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-info {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.contact-info p {
    margin-bottom: var(--space-2);
    font-family: monospace;
    font-size: var(--font-size-sm);
}

.privacy-footer {
    text-align: center;
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-4);
    color: var(--white);
}

.footer-section h3 {
    font-size: var(--font-size-xl);
    background: linear-gradient(135deg, var(--primary-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero {
        padding: calc(70px + var(--space-16)) 0 var(--space-16);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .privacy-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .privacy-section {
        padding: var(--space-6);
    }
    
    .about {
        padding: var(--space-16) 0;
    }
    
    .install {
        padding: var(--space-16) 0;
    }
    
    .browser-mockup {
        max-width: 350px;
        transform: perspective(800px) rotateY(-5deg) rotateX(5deg);
    }
    
    .browser-mockup:hover {
        transform: perspective(800px) rotateY(-2deg) rotateX(2deg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .music-note {
        animation: none;
    }
}

/* Focus states */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--gold-light);
    color: var(--navy);
}