/* ================================
   TICARION - Style
   ================================ */

:root {
    --bg: #07090f;
    --bg-2: #0b0f1a;
    --bg-3: #11172a;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 184, 0, 0.18);
    --border-soft: rgba(255, 255, 255, 0.08);
    --text: #ecf0f6;
    --muted: #9aa3b8;
    --gold: #ffb800;
    --gold-2: #ffd84d;
    --gold-3: #ff9d00;
    --green: #2ecc71;
    --green-2: #27ae60;
    --shadow-gold: 0 10px 40px -10px rgba(255, 184, 0, 0.55);
    --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-feature-settings: "ss01", "cv02";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   Background Decor
   ================================ */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 184, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 184, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.15), transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
}

.money-rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.money-rain span {
    position: absolute;
    top: -50px;
    color: rgba(46, 204, 113, 0.18);
    font-size: 32px;
    font-weight: 800;
    animation: fall linear infinite;
    text-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
}
.money-rain span:nth-child(1)  { left: 5%;  font-size: 28px; animation-duration: 14s; animation-delay: 0s; }
.money-rain span:nth-child(2)  { left: 15%; font-size: 36px; animation-duration: 18s; animation-delay: 2s; }
.money-rain span:nth-child(3)  { left: 28%; font-size: 24px; animation-duration: 12s; animation-delay: 4s; }
.money-rain span:nth-child(4)  { left: 40%; font-size: 32px; animation-duration: 16s; animation-delay: 1s; }
.money-rain span:nth-child(5)  { left: 52%; font-size: 28px; animation-duration: 13s; animation-delay: 3s; }
.money-rain span:nth-child(6)  { left: 64%; font-size: 38px; animation-duration: 17s; animation-delay: 5s; }
.money-rain span:nth-child(7)  { left: 75%; font-size: 26px; animation-duration: 11s; animation-delay: 2s; }
.money-rain span:nth-child(8)  { left: 85%; font-size: 34px; animation-duration: 15s; animation-delay: 6s; }
.money-rain span:nth-child(9)  { left: 92%; font-size: 30px; animation-duration: 19s; animation-delay: 0s; }
.money-rain span:nth-child(10) { left: 35%; font-size: 22px; animation-duration: 20s; animation-delay: 7s; }

@keyframes fall {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s var(--ease);
    padding: 16px 0;
}
.header.scrolled {
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}
.brand-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin-left: auto;
}
.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.nav-menu a:hover { color: var(--gold-2); }
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #1a0f00;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 50px -10px rgba(255, 184, 0, 0.7);
}

.store-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 32px 0;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a1f30, #0f1320);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    transition: all 0.25s var(--ease);
    min-width: 180px;
}
.store-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.store-btn svg { flex-shrink: 0; }
.store-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}
.store-btn small {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
}
.store-btn strong {
    font-size: 17px;
    font-weight: 700;
}

/* ================================
   Hero
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #6ee7a3;
    margin-bottom: 24px;
}
.badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.grad {
    background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 0;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: var(--gold-2);
    line-height: 1;
    letter-spacing: 1px;
}
.stat span {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.phone-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.35), transparent 60%);
    filter: blur(60px);
    z-index: 0;
}
.phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1f2e, #0a0d15);
    border-radius: 38px;
    padding: 14px;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 184, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-20px) rotate(-2deg); }
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0e1422 0%, #1a1027 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-logo {
    width: 140px;
    height: 140px;
    opacity: 0.85;
    filter: drop-shadow(0 0 30px rgba(255, 184, 0, 0.5));
    animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.phone-card {
    position: absolute;
    background: rgba(20, 25, 40, 0.92);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
    animation: cardFloat 4s ease-in-out infinite;
}
.phone-card small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.phone-card strong {
    display: block;
    font-size: 14px;
    color: var(--gold-2);
    font-weight: 700;
}
.phone-card .card-icon {
    font-size: 24px;
}
.card-1 { top: 12%;  left: -30px; animation-delay: 0s; }
.card-2 { top: 48%;  right: -40px; animation-delay: 1s; }
.card-3 { bottom: 14%; left: -20px; animation-delay: 2s; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-cue span {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ================================
   Sections
   ================================ */
.section {
    padding: 100px 0;
    position: relative;
}
.section-alt {
    background:
        radial-gradient(ellipse at top, rgba(255, 184, 0, 0.05), transparent 50%),
        linear-gradient(180deg, transparent, rgba(255, 184, 0, 0.02), transparent);
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.section-head p {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(255, 184, 0, 0.3));
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}
.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

/* Sectors */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.sector {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all 0.25s var(--ease);
    text-align: left;
}
.sector:hover {
    background: var(--surface-2);
    border-color: var(--border);
    transform: translateY(-3px);
}
.sector span {
    font-size: 32px;
    display: inline-block;
    margin-bottom: 12px;
}
.sector h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--gold-2);
}
.sector p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    list-style: none;
    counter-reset: step;
}
.step {
    background: linear-gradient(180deg, var(--surface), transparent);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s var(--ease);
}
.step:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}
.step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.step h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.step p {
    color: var(--muted);
    font-size: 15px;
}

/* CTA */
.cta {
    padding: 100px 0;
    position: relative;
}
.cta-inner {
    background:
        radial-gradient(ellipse at top left, rgba(255, 184, 0, 0.15), transparent 50%),
        linear-gradient(135deg, rgba(20, 25, 40, 0.6), rgba(10, 15, 25, 0.8));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}
.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 184, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 184, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.cta-content p {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 8px;
}
.cta-content .store-buttons { margin-bottom: 0; }
.cta-decor {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta-logo {
    width: 220px;
    height: 220px;
    filter: drop-shadow(0 0 50px rgba(255, 184, 0, 0.5));
    animation: spinSlow 18s linear infinite;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.3);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-brand img {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}
.footer-tag {
    color: var(--muted);
    font-size: 14px;
}
.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0;
}
.footer-nav a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-2); }
.copy {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

/* ================================
   Reveal animation
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 960px) {
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual { min-height: 400px; }
    .phone { width: 240px; height: 480px; }
    .phone-logo { width: 110px; height: 110px; }
    .scroll-cue { display: none; }

    .cta-inner {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }
    .cta-decor { order: -1; }
    .cta-logo { width: 140px; height: 140px; }
    .cta-content .store-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(7, 9, 15, 0.96);
        backdrop-filter: blur(20px);
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-soft);
        transform: translateY(-120%);
        transition: transform 0.3s var(--ease);
        z-index: 99;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-menu a { font-size: 17px; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .section { padding: 70px 0; }
    .section-head { margin-bottom: 40px; }

    .store-buttons { gap: 12px; }
    .store-btn {
        flex: 1;
        min-width: 0;
        padding: 10px 16px;
    }
    .store-btn strong { font-size: 14px; }

    .hero-stats { gap: 24px; }
    .stat strong { font-size: 28px; }

    .feature-card, .step { padding: 24px; }
    .step-num { font-size: 48px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .brand-text { font-size: 22px; }
    .brand-logo { width: 38px; height: 38px; }
    .phone { width: 200px; height: 400px; }
    .phone-card { padding: 8px 12px; }
    .phone-card .card-icon { font-size: 18px; }
    .phone-card strong { font-size: 12px; }
    .card-1, .card-3 { left: -10px; }
    .card-2 { right: -10px; }
}

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