/* Landing Page Custom Styles */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sticky header */
header.sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

html.dark header.sticky {
    background-color: rgba(11, 18, 32, 0.92);
}

/* Mobile: denser landing, less scroll */
@media (max-width: 767px) {
    section {
        scroll-margin-top: 64px;
    }

    .adg-hero-sub {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .adg-calc__preset {
        padding: 0.28rem 0.7rem;
        font-size: 0.8125rem;
    }

    .adg-calc__row {
        padding: 0.55rem 0;
        font-size: 0.8125rem;
    }
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section spacing */
section {
    scroll-margin-top: 80px;
}

/* FAQ accordion */
details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    .no-print {
        display: none;
    }
}

/* Earnings calculator (home) */
.adg-calc__glow {
    position: absolute;
    inset: -20% 10% auto;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.18), transparent 70%);
    pointer-events: none;
}
.adg-calc__input {
    font-variant-numeric: tabular-nums;
}
.adg-calc__slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    outline: none;
}
.adg-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #f59e0b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.adg-calc__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #f59e0b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.adg-calc__preset {
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(15, 23, 42, 0.65);
    color: #fde68a;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.adg-calc__preset:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(251, 191, 36, 0.7);
}
.adg-calc__preset.is-active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #0f172a;
}
.adg-calc__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}
.adg-calc__row dt {
    color: #cbd5e1;
    min-width: 0;
}
.adg-calc__row dd {
    margin: 0;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.adg-calc__row--emphasis {
    background: rgba(245, 158, 11, 0.08);
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 0.5rem;
}
.adg-calc__assump {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 0.35rem;
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    font-size: 0.75rem;
    font-weight: 700;
}
.adg-calc__money {
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.35);
}
.adg-calc__note {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}
.adg-calc__tip strong {
    font-weight: 700;
}


