/* ========================================
   ADULIS ESCROW — Landing Page Stylesheet
   Brand: Teal (#0D9488 / #14B8A6)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1e293b; line-height: 1.6; overflow-x: hidden; background: #ffffff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* --- Design Tokens --- */
:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
}

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

/* --- Animations --- */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: translate(0); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-soft { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes progress-fill { 0% { width: 0; } 100% { width: 70%; } }
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ========== NAVIGATION ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav--scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--slate-200); padding: 10px 0; box-shadow: var(--shadow-sm); }
.nav__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--slate-900); }
.nav__logo .logo-bg { color: var(--teal-600); }
.nav__logo-icon { color: var(--teal-600); display: flex; }
.nav__logo-accent { color: var(--teal-600); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--slate-600); transition: color 0.2s; }
.nav__link:hover { color: var(--teal-600); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: all 0.3s; }
.nav__toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle--active span:nth-child(2) { opacity: 0; }
.nav__toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--slate-950); padding: 120px 0 80px; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; }
.hero__orb--1 { width: 600px; height: 600px; background: var(--teal-600); top: -200px; right: -100px; animation: float 8s ease-in-out infinite; }
.hero__orb--2 { width: 400px; height: 400px; background: var(--teal-400); bottom: -100px; left: -100px; animation: float 10s ease-in-out infinite reverse; }
.hero__orb--3 { width: 300px; height: 300px; background: var(--teal-300); top: 50%; left: 50%; animation: float 12s ease-in-out infinite; opacity: 0.15; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.hero__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 184, 166, 0.12); border: 1px solid rgba(20, 184, 166, 0.25); border-radius: var(--radius-full); padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--teal-300); margin-bottom: 24px; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); animation: pulse-soft 2s ease-in-out infinite; }
.hero__title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1; color: #ffffff; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero__title-gradient { background: linear-gradient(135deg, var(--teal-300), var(--teal-500)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle { font-size: 17px; line-height: 1.7; color: var(--slate-400); margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats { display: flex; align-items: center; gap: 24px; }
.hero__stat-value { display: block; font-size: 24px; font-weight: 700; color: #ffffff; }
.hero__stat-label { font-size: 13px; color: var(--slate-400); }
.hero__stat-divider { width: 1px; height: 40px; background: var(--slate-700); }

/* Hero Card */
.hero__visual { display: flex; justify-content: center; }
.hero__card { background: rgba(255,255,255,0.06); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); width: 100%; max-width: 380px; overflow: hidden; box-shadow: var(--shadow-glow); animation: float 6s ease-in-out infinite; }
.hero__card-header { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero__card-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero__card-dot--green { background: #4ade80; }
.hero__card-dot--yellow { background: #facc15; }
.hero__card-dot--red { background: #f87171; }
.hero__card-body { padding: 20px 18px; }
.hero__card-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.hero__card-row:last-child { border-bottom: none; }
.hero__card-label { font-size: 13px; color: var(--slate-400); }
.hero__card-value { font-size: 13px; font-weight: 600; }
.hero__card-value--success { color: var(--teal-400); }
.hero__card-value--done { color: #4ade80; }
.hero__card-value--active { color: #facc15; }
.hero__card-value--pending { color: var(--slate-500); }
.hero__card-amount { font-size: 28px; font-weight: 700; color: #ffffff; padding: 12px 0 16px; }
.hero__card-progress { height: 6px; background: rgba(255,255,255,0.08); border-radius: var(--radius-full); margin-bottom: 16px; overflow: hidden; }
.hero__card-progress-bar { height: 100%; width: 70%; background: linear-gradient(90deg, var(--teal-400), var(--teal-600)); border-radius: var(--radius-full); animation: progress-fill 2s ease-out 0.5s both; }

/* Hero Scroll */
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero__scroll-link { color: var(--slate-500); animation: scroll-bounce 2s ease-in-out infinite; display: block; }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section--light { background: #ffffff; }
.section--dark { background: var(--slate-950); }
.section--gradient { background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-900) 100%); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-600); margin-bottom: 12px; }
.section__eyebrow--light { color: var(--teal-300); }
.section__title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: var(--slate-900); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.01em; }
.section--dark .section__title, .section__title--light { color: #ffffff; }
.section__description { font-size: 16px; line-height: 1.7; color: var(--slate-500); }
.section--dark .section__description { color: var(--slate-400); }

/* ========== ABOUT CARDS ========== */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about__card { padding: 36px 28px; border-radius: var(--radius-lg); background: var(--slate-50); border: 1px solid var(--slate-100); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.about__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-200); }
.about__card-icon { color: var(--teal-600); margin-bottom: 20px; }
.about__card-title { font-size: 18px; font-weight: 600; color: var(--slate-800); margin-bottom: 10px; }
.about__card-text { font-size: 14px; line-height: 1.7; color: var(--slate-500); }

/* ========== STEPS (How It Works) ========== */
.steps { position: relative; max-width: 640px; margin: 0 auto; }
.steps__line { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--teal-600), var(--teal-800), transparent); }
.step { display: flex; gap: 28px; margin-bottom: 48px; position: relative; }
.step:last-child { margin-bottom: 0; }
.step__number { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--slate-950), 0 0 20px rgba(13, 148, 136, 0.3); }
.step__content { padding-top: 8px; }
.step__icon { color: var(--teal-400); margin-bottom: 12px; }
.step__title { font-size: 18px; font-weight: 600; color: #ffffff; margin-bottom: 8px; }
.step__text { font-size: 14px; line-height: 1.7; color: var(--slate-400); }

/* ========== FEATURES ========== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--slate-100); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-200); }
.feature__icon-wrap { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--teal-50); color: var(--teal-600); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: all 0.3s; }
.feature:hover .feature__icon-wrap { background: var(--teal-600); color: #ffffff; }
.feature__title { font-size: 16px; font-weight: 600; color: var(--slate-800); margin-bottom: 8px; }
.feature__text { font-size: 14px; line-height: 1.7; color: var(--slate-500); }

/* ========== SECURITY ========== */
.security__layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.security__text { font-size: 16px; line-height: 1.8; color: var(--slate-300); margin-bottom: 32px; }
.security__list { display: flex; flex-direction: column; gap: 16px; }
.security__item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--slate-200); }
.security__item svg { color: var(--teal-400); flex-shrink: 0; }
.security__visual { display: flex; justify-content: center; align-items: center; }
.security__shield { animation: float 4s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(20, 184, 166, 0.2)); }

/* ========== CTA ========== */
.cta { text-align: center; padding: 64px 48px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-800) 100%); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%); animation: float 10s ease-in-out infinite; }
.cta__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: #ffffff; margin-bottom: 12px; position: relative; }
.cta__text { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius-full); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--primary { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #ffffff; box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45); }
.btn--ghost { background: transparent; color: var(--slate-300); border: 1px solid var(--slate-600); }
.btn--ghost:hover { border-color: var(--teal-500); color: var(--teal-400); }
.cta .btn--primary { background: #ffffff; color: var(--teal-700); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.cta .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ========== FOOTER ========== */
.footer { background: var(--slate-950); border-top: 1px solid rgba(255,255,255,0.06); }
.footer__top { padding: 64px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand-text { font-size: 14px; line-height: 1.7; color: var(--slate-400); margin-top: 16px; max-width: 280px; }
.footer__col-title { font-size: 14px; font-weight: 600; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 14px; color: var(--slate-400); transition: color 0.2s; }
.footer__links a:hover { color: var(--teal-400); }
.footer__bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__copyright { font-size: 13px; color: var(--slate-500); text-align: center; }
.footer .nav__logo-text { color: #ffffff; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { order: -1; }
    .hero__card { max-width: 340px; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .security__layout { grid-template-columns: 1fr; text-align: center; }
    .security__list { align-items: center; }
    .security__visual { order: -1; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav__links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #ffffff; flex-direction: column; padding: 80px 32px 32px; gap: 24px; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
    .nav__links--open { right: 0; }
    .nav__toggle { display: flex; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero__card { max-width: 300px; }
    .about__grid { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section__header { margin-bottom: 40px; }
    .cta { padding: 40px 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .hero__stats { flex-wrap: wrap; gap: 16px; }
    .hero__stat-divider { display: none; }
}
