:root {
    --primary: #0f172a;
    --secondary: #334155;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #d1fae5;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --tier-free: #22c55e;
    --tier-starter: #3b82f6;
    --tier-pro: #a855f7;
    --tier-business: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 16px;
    background: var(--accent-light);
    padding: 6px 12px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* padding-top: 40px; */
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    border-radius: 50%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mockup-header {
    background: var(--bg-light);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-content {
    padding: 24px;
}

.mockup-sidebar {
    width: 200px;
    background: var(--primary);
    height: 300px;
    border-radius: 12px;
    padding: 20px;
    float: left;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.sidebar-item.active {
    background: var(--accent);
    width: 70%;
}

.mockup-main {
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-chart {
    flex: 1;
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 12%;
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 6px 6px 0 0;
    margin: 0 4px;
}

.main-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mini-card {
    background: var(--bg-light);
    border-radius: 12px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.mini-card h4 {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.mini-card p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Floating Cards Animation */
.float-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.float-card.top-right {
    top: -20px;
    right: -30px;
}

.float-card.bottom-left {
    bottom: 40px;
    left: -40px;
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.float-icon.green {
    background: var(--accent-light);
    color: var(--accent);
}

.float-icon.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.float-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.float-text p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- Features Section --- */
.features {
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header .section-desc {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

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

/* --- How It Works --- */
.how-it-works {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.how-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-header .section-label {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent);
}

.how-header .section-title {
    color: white;
}

.how-header .section-desc {
    color: #94a3b8;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.step-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
}

.step-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.step-item h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- Privacy Section --- */
.privacy {
    background: white;
}

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

.privacy-visual {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}

.shield-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield-icon {
    font-size: 6rem;
    color: var(--accent);
}

.orbit {
    position: absolute;
    border: 1px dashed var(--border);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.orbit-1 { width: 360px; height: 360px; }
.orbit-2 { width: 420px; height: 420px; animation-duration: 25s; animation-direction: reverse; }

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    top: -6px;
    left: 50%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.privacy-content {
    opacity: 0;
    transform: translateX(30px);
}

.privacy-content .section-title {
    max-width: none;
}

.privacy-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.privacy-check {
    width: 24px;
    height: 24px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-list h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.privacy-list p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.cta .section-title {
    color: white;
    font-size: 2.8rem;
    max-width: 700px;
    margin: 0 auto 24px;
}

.cta .section-desc {
    color: #94a3b8;
    margin: 0 auto 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

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

/* --- Pricing Section --- */
.pricing {
    background: var(--bg-light);
}

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

.pricing-header .section-desc {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--tier-starter);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.tier-free .tier-badge {
    background: var(--tier-free);
}

.tier-starter .tier-badge {
    background: var(--tier-starter);
}

.tier-pro .tier-badge {
    background: var(--tier-pro);
}

.tier-business .tier-badge {
    background: var(--tier-business);
}

.pricing-card.tier-free {
    border-top: 4px solid var(--tier-free);
}

.pricing-card.tier-starter {
    border-top: 4px solid var(--tier-starter);
}

.pricing-card.tier-pro {
    border-top: 4px solid var(--tier-pro);
}

.pricing-card.tier-business {
    border-top: 4px solid var(--tier-business);
}

.tier-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.tier-free .tier-icon {
    background: #dcfce7;
    color: var(--tier-free);
}

.tier-starter .tier-icon {
    background: #dbeafe;
    color: var(--tier-starter);
}

.tier-pro .tier-icon {
    background: #f3e8ff;
    color: var(--tier-pro);
}

.tier-business .tier-icon {
    background: #fee2e2;
    color: var(--tier-business);
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.pricing-card .tier-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.pricing-features {
    list-style: none;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.pricing-features li i {
    font-size: 1rem;
    flex-shrink: 0;
}

.tier-free .pricing-features li i { color: var(--tier-free); }
.tier-starter .pricing-features li i { color: var(--tier-starter); }
.tier-pro .pricing-features li i { color: var(--tier-pro); }
.tier-business .pricing-features li i { color: var(--tier-business); }

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

.tier-free .btn {
    background: #f1f5f9;
    color: var(--primary);
}

.tier-free .btn:hover {
    background: #e2e8f0;
}

.tier-starter .btn-primary {
    background: var(--tier-starter);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.tier-starter .btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.tier-pro .btn-primary {
    background: var(--tier-pro);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.tier-pro .btn-primary:hover {
    background: #9333ea;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

.tier-business .btn-primary {
    background: var(--tier-business);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.tier-business .btn-primary:hover {
    background: #dc2626;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

.entry-point {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tier-starter);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* --- Pricing Responsive --- */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}


/* --- Footer --- */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 16px;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s;
}

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

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}