/* ── Fonts ── */
@font-face {
    font-family: 'YekanBakh';
    src: url('../assets/fonts/YekanBakhFaNum-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../assets/fonts/YekanBakhFaNum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../assets/fonts/YekanBakhFaNum-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../assets/fonts/YekanBakhFaNum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../assets/fonts/YekanBakhFaNum-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}

/* ── Variables ── */
:root {
    --primary: #1A6B3C;
    --primary-dark: #145530;
    --primary-light: #E8F5EE;
    --secondary: #F5A623;
    --secondary-light: #FFF4E0;
    --bg: #F7F8FA;
    --surface: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --border: #E5E7EB;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, .08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, .12);
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'YekanBakh', system-ui, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-loaded .hero-enter {
    opacity: 1;
    transform: none;
}

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

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

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

/* ── Background orbs ── */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* ── Scroll progress ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 200;
    background: linear-gradient(to left, var(--secondary), var(--primary));
    box-shadow: 0 0 12px rgba(26, 107, 60, 0.5);
    transition: width .08s linear;
}

/* ── Cursor glow ── */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 107, 60, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .4s;
    will-change: transform;
}

body.has-cursor .cursor-glow {
    opacity: 1;
}

/* ── Background orbs ── */
.mesh-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(26, 107, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 60, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 70%);
    animation: mesh-drift 20s linear infinite;
}

@keyframes mesh-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 60px;
    }
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    left: -150px;
    animation: orb-float-1 18s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-light);
    top: 40%;
    right: -200px;
    animation: orb-float-2 22s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    bottom: -100px;
    left: 30%;
    animation: orb-float-3 16s ease-in-out infinite;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: rgba(245, 166, 35, 0.15);
    top: 60%;
    left: 10%;
    animation: orb-float-4 20s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, 30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 50px) scale(0.95);
    }
}

@keyframes orb-float-2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-60px, -40px);
    }
}

@keyframes orb-float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

@keyframes orb-float-4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 20px);
    }
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

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

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

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

.logo-img--sm {
    height: 28px;
}

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

.nav-links a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color .2s;
}

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

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

.nav-links a.btn:hover {
    color: #fff;
    background: var(--primary-dark);
}

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

.nav-links a.btn.active::after {
    display: none;
}

.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    animation: nav-underline .3s ease;
}

@keyframes nav-underline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: transform .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
}

.btn:active {
    transform: scale(.97);
}

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

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

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 107, 60, .3);
    position: relative;
    overflow: hidden;
}

.magnetic-btn {
    transition: transform .15s ease-out, box-shadow .2s, background .2s;
}

.btn-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0%, 70%, 100% {
        transform: translateX(-120%);
    }
    85% {
        transform: translateX(120%);
    }
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(26, 107, 60, .4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ── Hero ── */
.hero {
    padding: calc(var(--header-h) + 48px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.3);
    }
}

.hero h1,
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-line {
    display: block;
}

.hero-enter {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--i, 0) * 0.1s + 0.2s);
}

.shimmer-text {
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.stat span {
    font-size: .8rem;
    color: var(--text-secondary);
}

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

/* ── Phone mockup ── */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-glow-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--primary));
    opacity: .2;
    filter: blur(40px);
    animation: ring-spin 8s linear infinite;
    z-index: 1;
}

@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.phone-frame {
    width: 280px;
    background: #111;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1);
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform .1s ease-out;
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
    }
}

.phone-frame.is-tilting {
    animation: none;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #111;
    border-radius: 0 0 16px 16px;
    margin: -4px auto 8px;
    position: relative;
    z-index: 3;
}

.phone-screen {
    background: var(--bg);
    border-radius: 28px;
    overflow: hidden;
    padding: 16px 12px 0;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-greeting {
    font-size: .75rem;
    font-weight: 700;
}

.app-notif {
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    position: relative;
}

.app-notif::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: notif-ping 2s ease-out infinite;
}

@keyframes notif-ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.tab-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: -16px;
    box-shadow: 0 4px 12px rgba(26, 107, 60, .4);
    animation: tab-pulse 2s ease-in-out infinite;
}

@keyframes tab-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(26, 107, 60, .4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(26, 107, 60, .6), 0 0 0 6px rgba(26, 107, 60, .15);
    }
}

.app-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.app-stat-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.app-pop {
    opacity: 0;
    transform: scale(0.8);
    animation: app-pop-in .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
    animation-delay: calc(var(--d, 0) * 0.12s + 0.8s);
}

@keyframes app-pop-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.app-slide {
    opacity: 0;
    transform: translateX(20px);
    animation: app-slide-in .5s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: calc(var(--d, 0) * 0.1s + 1s);
}

@keyframes app-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-stat-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.app-stat-label {
    font-size: .6rem;
    color: var(--text-secondary);
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border-radius: 10px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.app-list-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c8e6d0, #a8d5b8);
    flex-shrink: 0;
}

.app-list-thumb.thumb-2 {
    background: linear-gradient(135deg, #fde8c8, #f5c878);
}

.app-list-thumb.thumb-3 {
    background: linear-gradient(135deg, #d4e4f7, #a8c8e8);
}

.app-list-info {
    flex: 1;
    min-width: 0;
}

.app-list-title {
    display: block;
    font-size: .6rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-meta {
    font-size: .5rem;
    color: var(--text-secondary);
}

.app-list-badge {
    font-size: .5rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    flex-shrink: 0;
}

.app-list-badge.active {
    background: var(--primary-light);
    color: var(--primary);
}

.app-list-badge.pending {
    background: var(--secondary-light);
    color: var(--secondary);
}

.app-tabbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
    margin: 0 -12px;
    padding-inline: 12px;
}

.tab {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--border);
}

.tab.active {
    background: var(--primary);
}

/* Float cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

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

.float-card-2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    75% {
        transform: translateY(-14px) rotate(-1deg);
    }
}

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

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

.float-icon.gold {
    background: var(--secondary-light);
}

.float-card strong {
    display: block;
    font-size: .8rem;
    font-weight: 700;
}

.float-card span {
    font-size: .7rem;
    color: var(--text-secondary);
}

/* ── Sections shared ── */
section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ── Features ── */
.features {
    background: var(--surface);
}

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

.feature-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s, border-color .4s;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(26, 107, 60, 0.12);
    border-color: rgba(26, 107, 60, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary);
    color: #fff;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s;
    position: relative;
    z-index: 1;
}

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── How it works ── */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 16px;
}

.step-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(26, 107, 60, .3);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
}

.step.visible .step-num {
    animation: step-pop .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
}

@keyframes step-pop {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.step:hover .step-num {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(26, 107, 60, .4);
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.step-connector::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--primary-light), var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.step-connector.visible::after {
    transform: scaleX(1);
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ── Pricing ── */
.pricing {
    background: var(--surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card--featured {
    border-color: var(--primary);
}

.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: conic-gradient(from var(--glow-angle, 0deg), var(--primary), var(--secondary), var(--primary));
    z-index: -1;
    opacity: .5;
    animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
    to {
        --glow-angle: 360deg;
    }
}

@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.pricing-card--secondary {
    background: var(--surface);
}

.pricing-desc {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: right;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to left, var(--secondary), var(--primary));
}

.pricing-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 20px;
}

.pricing-price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.pricing-price-unit {
    font-size: .9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-card h3 + .pricing-desc {
    margin-top: 0;
}

.pricing-trial {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-trial-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pricing-trial-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: right;
    line-height: 1.4;
}

.pricing-features {
    text-align: right;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: .95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ── Download ── */
.download-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.download-aurora {
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: aurora-shift 8s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(-5%, 5%) rotate(3deg);
    }
}

.download-box::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    top: -100px;
    left: -80px;
}

.download-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(245, 166, 35, .15);
    border-radius: 50%;
    bottom: -60px;
    right: -40px;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-logo {
    margin: 0 auto 20px;
    width: auto;
    object-fit: contain;
}

.download-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.download-box p {
    opacity: .85;
    margin-bottom: 32px;
    font-size: 1rem;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    color: #fff;
    transition: background .2s, transform .2s;
}

.store-btn:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-2px);
}

.store-btn small {
    display: block;
    font-size: .7rem;
    opacity: .8;
}

.store-btn strong {
    font-size: 1rem;
    font-weight: 700;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

a.contact-card:hover,
.contact-card.visible:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(26, 107, 60, 0.1);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s;
    transform-style: preserve-3d;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card:hover .contact-icon {
    color: var(--primary-dark);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: .9rem;
    color: var(--text-secondary);
}

/* ── Footer ── */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary);
}

.footer-copy {
    font-size: .85rem;
    color: var(--text-secondary);
    text-align: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
}

.footer-enamad {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.footer-enamad img {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color .2s;
}

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

/* ── Scroll reveal ── */
.reveal,
.reveal-tilt,
.reveal-scale,
.reveal-line {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal {
    transform: translateY(32px);
}

.reveal-tilt {
    transform: translateY(40px) rotateX(8deg);
    transform-origin: center bottom;
}

.reveal-scale {
    transform: scale(0.9) translateY(24px);
}

.reveal-line {
    transform: scaleX(0);
    transform-origin: center;
}

.reveal.visible,
.reveal-tilt.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

.reveal-line.visible {
    opacity: 1;
    transform: scaleX(1);
}

.stagger-grid .reveal-tilt {
    transition-delay: calc(var(--stagger, 0) * 0.08s);
}

.reveal-delay-1 {
    transition-delay: .12s !important;
}

.reveal-delay-2 {
    transition-delay: .24s !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-enter,
    .reveal, .reveal-tilt, .reveal-scale, .reveal-line {
        opacity: 1;
        transform: none;
    }

    .cursor-glow {
        display: none;
    }

    .phone-frame {
        animation: none;
    }
}

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

    .hero-desc {
        margin-inline: auto;
    }

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

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

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

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-inline: auto;
    }

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

/* ── Mobile: reduce animations for performance & layout ── */
@media (max-width: 960px) {
    .mesh-grid,
    .orb,
    .phone-glow-ring,
    .download-aurora,
    .glow-border::after,
    .badge-dot,
    .shimmer-text,
    .btn-shine,
    .app-notif::after,
    .tab-add,
    .phone-frame,
    .float-card {
        animation: none !important;
    }

    .orb {
        display: none;
    }

    .mesh-grid {
        opacity: .5;
    }

    .cursor-glow {
        display: none;
    }

    .hero-enter,
    .app-pop,
    .app-slide {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .float-card {
        display: none;
    }

    .hero-visual {
        perspective: none;
    }

    .phone-frame {
        width: min(280px, 85vw);
        transform: none !important;
    }

    .hero {
        min-height: auto;
        padding-bottom: 48px;
    }

    section {
        padding: 64px 0;
    }

    .reveal,
    .reveal-tilt,
    .reveal-scale,
    .reveal-line {
        transition-duration: .4s;
    }

    .step.visible .step-num {
        animation: none;
    }
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform .3s, opacity .3s;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

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

    .float-card-1 {
        left: 0;
    }

    .float-card-2 {
        right: 0;
    }

    .download-box {
        padding: 48px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-enamad {
        margin-top: 8px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}
