:root {
    /* Clean & Calm Palette (from App) */
    --primary: #5CCFC2;
    /* Soft Mint */
    --primary-light: #8EE3D9;
    --primary-dark: #3FB4A5;

    --secondary: #F5E9DA;
    /* Beige Sand */
    --accent: #BFD8B8;
    /* Sage Green */

    --bg-main: #F7F8FA;
    /* Soft Gray Background */
    --bg-card: #FFFFFF;
    /* Pure White Cards */

    --text-main: #1A1D1F;
    --text-muted: #4A5568;
    --text-light: #6B7280;

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(92, 207, 194, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Floating Language Switcher */
.lang-floater {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s;
    font-family: var(--font-main);
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--primary-dark);
}

.divider {
    color: var(--text-light);
    opacity: 0.3;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F7F8FA 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Soft Background Blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 207, 194, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 233, 218, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(92, 207, 194, 0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    max-width: 550px;
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* Modern Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-cyber {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(92, 207, 194, 0.3);
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 207, 194, 0.4);
    background: var(--primary-dark);
}

.btn-cyber.outline {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

.btn-cyber.outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #FFFFFF;
}

/* Scanner Visual - Light Version */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.scanner-frame {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.scanner-target {
    width: 140px;
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.8;
    animation: scan 3s infinite ease-in-out;
    z-index: 10;
    border-radius: 50%;
}

@keyframes scan {
    0% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

/* Data Points - Floating Cards */
.data-point {
    position: absolute;
    background: #FFFFFF;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    animation: floatIn 0.8s ease-out forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-point span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.p1 {
    top: 15%;
    right: -15%;
    animation-delay: 0.5s;
}

.p2 {
    bottom: 10%;
    left: -10%;
    animation-delay: 0.8s;
}

.p3 {
    top: 10%;
    left: -10%;
    animation-delay: 1.1s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Core Loop Section */
.core-loop {
    padding: 120px 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step-card {
    background: var(--bg-main);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.step-card:hover,
.step-card.active {
    background: #FFFFFF;
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: rgba(92, 207, 194, 0.2);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    background: rgba(92, 207, 194, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: var(--bg-main);
}

.split-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
}

.side {
    flex: 1;
    padding: 3rem;
    border-radius: 24px;
    background: #FFFFFF;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.old-way {
    border: 2px solid rgba(0, 0, 0, 0.03);
}

.old-way h3 {
    color: #FF6B6B;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.list-item {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.new-way {
    background: linear-gradient(145deg, #FFFFFF, #F0FFFC);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(92, 207, 194, 0.15);
}

.new-way h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.tech-card {
    text-align: center;
}

.tech-card i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(92, 207, 194, 0.3));
}

.tech-card span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.vs-badge {
    background: #FFFFFF;
    color: var(--text-main);
    font-weight: 900;
    padding: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    font-size: 1.2rem;
}

/* Detailed Features */
.features-detail {
    padding: 120px 0;
    background: #FFFFFF;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 250px;
    padding: 2rem;
    background: var(--bg-main);
    border-radius: 24px;
}

.bar {
    width: 50px;
    background: #E2E8F0;
    border-radius: 12px 12px 0 0;
    position: relative;
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bar span {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-weight: 700;
}

.bar.p {
    background: var(--primary);
}

.bar.c {
    background: #FFB74D;
}

.bar.f {
    background: #FAD390;
}

/* Download Area */
.download-area {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FFFC 100%);
}

.download-area h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.download-area p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-group.center {
    justify-content: center;
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    /* Mobile Fixes for Scanner */
    .scanner-frame {
        width: 280px;
        height: 280px;
    }

    .data-point {
        display: flex;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .p1 {
        right: -5%;
        top: 10%;
    }

    .p2 {
        left: -5%;
        bottom: 5%;
    }

    .p3 {
        left: -5%;
        top: 5%;
    }

    .split-layout {
        flex-direction: column;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .new-way {
        transform: scale(1);
    }
}