/* ============================================================
   Aura Network Infrastructure — styles.css
   Light theme: scroll reveal, animations, component styles
   ============================================================ */

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #0F172A;
}

/* ---- Scroll reveal base state ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for feature cards */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.24s; }
.feature-card:nth-child(5) { transition-delay: 0.32s; }
.feature-card:nth-child(6) { transition-delay: 0.40s; }

/* ---- Smooth focus outlines (accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---- Select arrow ---- */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ---- FAQ content transition ---- */
.faq-content {
    transition: all 0.2s ease;
}

/* ---- Scrollbar styling ---- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3B82F6;
}

/* ---- Input autofill light mode fix ---- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset;
    -webkit-text-fill-color: #0F172A;
    caret-color: #0F172A;
}

/* ---- Selection highlight ---- */
::selection {
    background-color: rgba(59, 130, 246, 0.2);
    color: #1E3A8A;
}

/* ---- Mobile menu slide-in ---- */
@media (max-width: 767px) {
    #mobileMenu {
        animation: slideDown 0.2s ease-out;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Gradient text fallback ---- */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---- Hero subtle dot grid ---- */
.hero-grid {
    background-image:
        radial-gradient(circle, #CBD5E1 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ---- Stats band ---- */
.stats-band {
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%);
}

/* ---- Feature card hover ring ---- */
.feature-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.12);
}

/* ---- Pricing featured card glow ---- */
.pricing-featured {
    box-shadow: 0 8px 40px -8px rgba(59, 130, 246, 0.25);
}

/* ---- Process step number ---- */
.step-active {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 8px 24px -4px rgba(59, 130, 246, 0.4);
}

/* ---- Testimonial card hover ---- */
.testimonial-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
    box-shadow: 0 16px 32px -8px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* ---- CTA section gradient ---- */
.cta-section {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #EFF6FF 100%);
}

/* ---- Form input focus ring ---- */
.form-input {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ---- Footer top gradient line removed ---- */

/* ---- Hero image edge fade (blends PNG into white background) ---- */
.hero-image-wrap {
    -webkit-mask-image: radial-gradient(
        ellipse 85% 80% at 60% 50%,
        black 40%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 85% 80% at 60% 50%,
        black 40%,
        transparent 100%
    );
}

/* ---- Activity ticker ---- */
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
