/* ===== CSS Variables & Reset ===== */
:root {
    --blue-50: #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;
    --blue-900: #1E3A8A;
    --cyan-400: #22D3EE;
    --green-50: #F0FDF4;
    --green-500: #22C55E;
    --green-600: #16A34A;
    --orange-50: #FFF7ED;
    --orange-500: #F97316;
    --emerald-50: #ECFDF5;
    --emerald-500: #10B981;
    --rose-50: #FFF1F2;
    --rose-500: #F43F5E;
    --indigo-50: #EEF2FF;
    --indigo-500: #6366F1;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .15);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* ===== Text Gradient ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .45);
}

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border-color: var(--blue-200, #BFDBFE);
}

.btn-outline:hover {
    background: var(--blue-50);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--blue-700);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
    transform: translateY(-2px);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all .3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
}

.logo-icon {
    font-size: 26px;
}

.logo-text {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color .2s;
}

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

.nav-links a.btn-primary {
    color: #fff;
}

.nav-links a.btn-primary:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all .3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--blue-100);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #C7D2FE;
    bottom: -100px;
    left: -50px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #A5F3FC;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup img {
    width: 380px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .15));
    border-radius: var(--radius-2xl);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatY 4s ease-in-out infinite;
    white-space: nowrap;
}

.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatY {

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

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

.fc-icon {
    font-size: 24px;
}

.floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--gray-800);
}

.floating-card small {
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== Sections ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all .3s ease;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.icon-green {
    background: var(--green-50);
    color: var(--green-600);
}

.icon-orange {
    background: var(--orange-50);
    color: var(--orange-500);
}

.icon-emerald {
    background: var(--emerald-50);
    color: var(--emerald-500);
}

.icon-rose {
    background: var(--rose-50);
    color: var(--rose-500);
}

.icon-violet {
    background: var(--indigo-50);
    color: var(--indigo-500);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Showcase ===== */
.showcase {
    padding: 100px 0;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse>* {
    direction: ltr;
}

.showcase-visual img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .1));
    border-radius: var(--radius-xl);
}

.showcase-content h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.4px;
    margin-bottom: 16px;
}

.showcase-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
}

.check-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--green-50);
    color: var(--green-600);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== What's New ===== */
.whats-new {
    padding: 100px 0;
    background: var(--gray-50);
}

.new-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-100);
    transition: all .2s ease;
}

.nf-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.nf-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* ===== Reviews ===== */
.reviews {
    padding: 100px 0;
}

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

.review-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all .3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-stars {
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.reviewer strong {
    display: block;
    font-size: 14px;
    color: var(--gray-800);
}

.reviewer small {
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0 100px;
}

.cta-card {
    text-align: center;
    padding: 72px 40px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: var(--radius-2xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
    bottom: -150px;
    left: -50px;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 17px;
    opacity: .85;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .logo-text {
    background: linear-gradient(135deg, #93C5FD, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-400);
    max-width: 280px;
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color .2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }

    .hero-inner {
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

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

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

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

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .phone-mockup img {
        width: 260px;
    }

    .floating-card {
        display: none;
    }

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

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

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

    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .showcase-visual img {
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .showcase-content h2 {
        font-size: 28px;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-card h2 {
        font-size: 28px;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 15px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }
}