/* SuPublic Landing Page – Custom Styles */

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(.4,0,.2,1),
                transform 0.65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Float Animation ───────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ── Water Drop Pulse ──────────────────────────────────────── */
@keyframes waterDrop {
    0%, 100% { transform: scaleY(1) scaleX(1); }
    40%       { transform: scaleY(0.88) scaleX(1.10); }
    70%       { transform: scaleY(1.06) scaleX(0.96); }
}
.animate-water { animation: waterDrop 2.8s ease-in-out infinite; }

/* ── Ripple Ring ───────────────────────────────────────────── */
@keyframes ripple {
    0%   { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(2.2); opacity: 0; }
}
.ripple-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(30,136,229,0.45);
    animation: ripple 2s ease-out infinite;
}
.ripple-ring-2 {
    animation-delay: 0.7s;
}
.ripple-ring-3 {
    animation-delay: 1.4s;
}

/* ── Number Counter Animation ─────────────────────────────── */
@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat-number {
    animation: countUp 0.8s ease-out forwards;
}

/* ── Gradient Text ─────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #246BFD, #0288D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-eco {
    background: linear-gradient(135deg, #059669, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Phone Mockup ──────────────────────────────────────────── */
.phone-mockup {
    filter: drop-shadow(0 32px 64px rgba(13,71,161,0.35));
}

/* ── Glassmorphism Tile ────────────────────────────────────── */
.glass-tile {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.80);
}

/* ── Step Connector Line ───────────────────────────────────── */
.step-line {
    background: linear-gradient(90deg, #1E88E5 0%, transparent 100%);
}

/* ── Feature Card Hover ────────────────────────────────────── */
.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(30,136,229,0.14);
}

/* ── Hero Decoration Circles ───────────────────────────────── */
.hero-circle-1 {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.hero-circle-2 {
    position: absolute;
    bottom: 20px;
    left: -80px;
    width: 220px;
    height: 220px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.hero-circle-3 {
    position: absolute;
    top: 50%;
    right: 30%;
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

/* ── Smooth scroll offset for fixed navbar ─────────────────── */
[id] {
    scroll-margin-top: 72px;
}

/* ── Badge Card ────────────────────────────────────────────── */
.badge-card {
    transition: transform 0.2s ease;
}
.badge-card:hover {
    transform: scale(1.04);
}

/* ── App Store Button ──────────────────────────────────────── */
.store-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(36,107,253,0.30);
}
