@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1a8dc3;
    --primary-light: #e0f2fe;
    --secondary: #262262;
    --accent: #6366f1;
    --bg: #ffffff;
    --surface: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #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 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--secondary);
}

p {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Modules */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 8rem 0;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 141, 195, 0.2);
}

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

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

/* Hero Section */
.hero {
    padding: 12rem 0 5rem;
    background: radial-gradient(circle at top right, #f0f9ff 0%, transparent 40%),
        radial-gradient(circle at bottom left, #fdf4ff 0%, transparent 40%);
    text-align: center;
}

.hero-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-image-wrap {
    margin-top: 4rem;
    position: relative;
    padding: 0 2rem;
}

.hero-image-wrap img {
    width: 100%;
    max-width: 1100px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25),
        0 18px 36px -18px rgba(0, 0, 0, 0.3);
    border: 8px solid white;
}

/* Stats / Social Proof */
.stats {
    padding: 4rem 0;
    background: var(--surface);
    border-y: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Features Section (Z-Layout) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 0.8;
}

.feature-image {
    flex: 1.5;
    position: relative;
    perspective: 1000px;
}

.feature-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    transition: var(--transition);
    transform: rotateY(-5deg) rotateX(2deg);
}

.feature-row:nth-child(even) .feature-image img {
    transform: rotateY(5deg) rotateX(2deg);
}

.feature-image:hover img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 35px 70px -15px rgba(26, 141, 195, 0.2);
}

/* Floating Elements for Dynamism */
.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.feature-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.feature-text ul {
    list-style: none;
    margin-top: 2rem;
}

.feature-text li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-weight: 500;
}

.feature-text li i {
    color: var(--primary);
    margin-top: 0.3rem;
}

/* How It Works (Steps) */
.how-it-works {
    background: var(--surface);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.step-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

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

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
    text-align: left;
}

/* Pricing */
/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.toggle-label.active {
    color: var(--secondary);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.price-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 4rem 2.5rem;
    flex: 1;
    max-width: 380px;
    transition: var(--transition);
}

.price-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 25px 50px -12px rgba(26, 141, 195, 0.15);
    transform: translateY(-10px);
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.price-amount span {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    background: var(--secondary);
    color: white;
    text-align: center;
    border-radius: 40px;
    padding: 6rem 2rem;
    margin-bottom: 8rem;
    margin-top: 4rem;
}

.final-cta h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    padding: 5rem 0 3rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}


/* Legal Content Pages - Simplified */
.legal-page {
    padding: 10rem 0 6rem;
    background: #fff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--secondary);
    border-bottom: 4px solid var(--primary-light);
    display: inline-block;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.legal-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2.5rem 1.5rem;
        border-radius: 0;
    }
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

/* Responsive */
@media (max-width: 1024px) {

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .steps-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .price-card {
        max-width: 100%;
    }
}