:root {
    --primary-color: #34d399; /* Light Green */
    --primary-dark: #059669; /* Emerald */
    --secondary-color: #3b82f6; /* Blue */
    --bg-color: #f8fafc; /* Very light slate for harmony */
    --surface-color: #ffffff; /* White cards */
    --text-main: #1e293b; /* Dark slate for high readability */
    --text-muted: #64748b; /* Lighter slate */
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #ffffff;
}

.highlight {
    color: var(--primary-dark);
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo span {
    color: var(--text-main);
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: rgba(52, 211, 153, 0.15);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: rgba(52, 211, 153, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52,211,153,0.15) 0%, rgba(248,250,252,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.badge-green { color: #059669; border-color: #a7f3d0; background: #ecfdf5;}
.badge-yellow { color: #d97706; border-color: #fde68a; background: #fffbeb;}
.badge-blue { color: #2563eb; border-color: #bfdbfe; background: #eff6ff;}
.badge-orange { color: #ea580c; border-color: #fed7aa; background: #fff7ed;}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.script-box-container {
    background: var(--surface-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.instruction-text {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.script-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.script-box code {
    background: #f1f5f9;
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 0.9rem;
    color: #0f172a;
    word-break: break-all;
    border: 1px solid #e2e8f0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.primary-btn {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(52, 211, 153, 0.39);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.23);
}

.anti-steal-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 16px;
    border-radius: var(--radius-md);
}

.anti-steal-notice code {
    display: block;
    margin-top: 8px;
    background: #fef3c7;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #b45309;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.ui-mockup {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.ui-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.ui-header {
    background: var(--primary-color);
    color: white;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-align: center;
}

.ui-body {
    padding: 24px;
}

.ui-body ul {
    list-style: none;
    margin-bottom: 24px;
}

.ui-body li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.ui-stats {
    background: #f1f5f9;
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Video Showcase */
.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--surface-color);
    padding: 8px;
}

.video-container iframe {
    border-radius: var(--radius-md);
    width: 100%;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.comparison-table .highlight-col {
    background: rgba(52, 211, 153, 0.05);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Compatibility */
.compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.compat-card {
    background: var(--surface-color);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.compat-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.compat-card h3 {
    margin-bottom: 12px;
}

.compat-card .status {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.compat-card .recommended {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-dark);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 24px 24px;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* arbitrary large value */
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: #0f172a; /* Dark footer anchors the light design */
    color: #f8fafc;
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #94a3b8;
}

.footer-links h4 {
    margin-bottom: 16px;
    color: #e2e8f0;
}

.footer-links p {
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .badges {
        justify-content: center;
    }
    
    .hero .subtitle {
        margin: 0 auto 40px;
    }
    
    .ui-mockup {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Hide nav on mobile for simplicity, could add hamburger */
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 60px 0;
    }
}
