:root {
    --bg-light: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-hover: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.04);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #10b981;
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.4;
}

.blob-1 { top: -100px; right: -100px; background: rgba(16, 185, 129, 0.15); }
.blob-2 { bottom: -100px; left: -100px; background: rgba(59, 130, 246, 0.15); }
.blob-3 { top: 40%; left: 60%; background: rgba(139, 92, 246, 0.1); width: 400px; height: 400px; }

a { text-decoration: none; }

/* ── Typography & Utilities ────────────────────────────────────────────────── */

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

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn-primary {
    background: #10b981;
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #059669;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-outline) {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn-outline):hover {
    color: var(--text-main);
}

.lang-switch {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary) !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.2s;
}

.lang-switch:hover {
    background: var(--primary);
    color: white !important;
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    top: 20%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.03) 40%, transparent 70%);
    z-index: -1;
}

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

.pill-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #a855f7;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

.pro-cta-line {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.pro-cta-line strong {
    color: var(--primary);
    font-weight: 600;
}

.disclaimer-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.5;
    opacity: 0.8;
}

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

/* ── Mockup ────────────────────────────────────────────────────────────────── */

.mockup-section {
    padding: 0 2rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.mockup-container {
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-radius: 12px;
    background: white;
}

.mockup-header {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mac-dots {
    display: flex; gap: 6px;
}

.mac-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    display: flex;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── Core Features ─────────────────────────────────────────────────────────── */

.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.f-icon {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

/* Color Themes for Feature Icons */
.theme-green .f-icon { background: #ecfdf5; color: #10b981; }
.theme-blue .f-icon { background: #eff6ff; color: #3b82f6; }
.theme-purple .f-icon { background: #f5f3ff; color: #8b5cf6; }
.theme-amber .f-icon { background: #fffbeb; color: #f59e0b; }

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

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

/* ── Pro Section ───────────────────────────────────────────────────────────── */

.pro-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #eff6ff 100%);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.price-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 900;
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
    transform: rotate(-2deg);
}

.pro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pro-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: -1.5rem auto 4rem;
    font-size: 1.1rem;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pro-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.pro-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
}

.pro-card-img {
    height: 180px;
    background: #f1f5f9;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.pro-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.pro-card:hover .pro-img {
    transform: scale(1.08);
}

.pro-card-content {
    padding: 2rem;
}

.pro-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.pro-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-cta {
    margin-bottom: 6rem;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

/* ── Comparison Table ─────────────────────────────────────────────────────── */

.comparison-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.table-container {
    overflow-x: auto;
    margin-top: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 700;
    color: var(--text-main);
    background: #f8fafc;
}

tr:hover td {
    background: #fdfdfd;
}

.check { color: #10b981; font-weight: bold; }
.cross { color: #94a3b8; }
.feature-name { font-weight: 600; color: var(--text-main); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .pro-grid { grid-template-columns: 1fr; }
    .mockup-body { flex-direction: column; height: 600px;}
    .mockup-sidebar { width: 100%; height: 60px; }
}
</style>
