/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #00D28E;
    /* Fresh Green */
    --primary-dark: #00A670;
    --accent: #007AFF;
    /* Tech Blue */
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;

    /* Glass Effect Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --blur: 16px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: #f0f4f8;
    /* Fallback */
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- Animated Background --- */
.circles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: move 20s infinite alternate;
}

.circle-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 142, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.circle-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -5s;
}

.circle-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 195, 68, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

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

/* --- Glass Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

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

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

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--dark);
}

.lang-btn i {
    font-size: 1.1rem;
    color: var(--gray);
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}

/* --- Buttons --- */
.btn {
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* --- Store Buttons --- */
.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark);
    /* Black buttons for premium feel */
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 160px;
}

.store-btn.dark {
    background: #000;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.store-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-text span {
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px 0;
    position: relative;
    overflow: visible;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 480px;
}

.stats-pills {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.pill i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Phone Mockup (CSS Art) --- */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 40px;
    border: 10px solid var(--dark);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
    z-index: 2;
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--dark);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 5;
}

.screen-content {
    padding: 40px 15px 15px 15px;
    height: 100%;
    background: #F2F4F8;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Simulated UI */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-icon,
.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ddd;
}

.app-logo {
    font-weight: 700;
    color: var(--dark);
}

.app-stats {
    display: flex;
    gap: 10px;
}

.stat-box {
    flex: 1;
    padding: 12px;
    border-radius: 16px;
    color: #fff;
}

.stat-box.blue {
    background: var(--accent);
}

.stat-box.green {
    background: var(--primary);
}

.stat-box small {
    opacity: 0.8;
    font-size: 0.7rem;
    display: block;
}

.stat-box strong {
    font-size: 1.1rem;
}

.listing-item {
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.img-placeholder {
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 10px;
}

.text-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.line {
    height: 8px;
    background: #eee;
    border-radius: 4px;
}

.line.lg {
    width: 80%;
}

.line.sm {
    width: 50%;
}

.price-tag {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.floating-alert {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 210, 142, 0.2);
    animation: float 4s ease-in-out infinite;
}

.check-icon {
    width: 30px;
    /* Reduced from 36px */
    height: 30px;
    /* Reduced from 36px */
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

/* Ensure text containers don't overflow */
.floating-alert div {
    display: flex;
    flex-direction: column;
}

@keyframes float {

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

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

.floating {
    animation: float 6s ease-in-out infinite;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 210, 142, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Ticker --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-bottom: 80px;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin: 0 30px;
    font-size: 1.1rem;
    color: var(--dark);
}

.ticker-item strong {
    margin-left: 8px;
}

.ticker-item span {
    margin-right: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.up {
    color: var(--primary);
}

.down {
    color: red;
}

.same {
    color: var(--gray);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Features Bento Grid --- */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

.card-lg {
    grid-column: span 1;
    grid-row: span 2;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.card-wide {
    grid-column: span 2;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.icon-box.blue {
    background: var(--accent);
}

.icon-box.green {
    background: var(--primary);
}

.icon-box.orange {
    background: #f59e0b;
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.bento-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.card-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.huge-icon {
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
}

/* --- Steps Section --- */
.steps-section {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-item {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 210, 142, 0.1);
    /* faded primary */
    position: absolute;
    top: -30px;
    left: 20px;
    z-index: -1;
}

.step-content {
    background: #fff;
    /* fallback */
    height: 100%;
}

/* --- CTA Footer --- */
.cta-footer {
    padding: 80px 0 40px 0;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    padding: 80px 20px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.center-btns {
    justify-content: center;
    margin-top: 40px;
}

.main-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 60px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--gray);
    margin-right: 20px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--dark);
}

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

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        margin-top: 50px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .card-lg,
    .card-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nav-links {
        display: none;
        /* simple Hide for now, can transform to drawer */
    }

    .mobile-toggle {
        display: block;
    }

    /* Reveal nav on toggle (needs js) */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .ticker-item {
        margin: 0 15px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* --- Animations Classes --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}