/* ========== BASE VARIABLES & RESET ========== */
:root {
    --primary: #ef6f6f;
    --primary-light: rgba(239, 111, 111, 0.15);
    --primary-soft: rgba(239, 111, 111, 0.08);
    --dark: #1c1c28;
    --dark-soft: #2a2a3a;
}

html {
    scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar-custom {
    transition: all 0.4s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: transparent !important;
    border-bottom: 1px solid transparent;
}

.navbar-custom.scrolled {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background: var(--dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.navbar-custom .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff !important;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #fff !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-custom .btn-login {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.6rem;
    border-radius: 8px;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(239, 111, 111, 0.4);
}

.navbar-custom .btn-login:hover {
    background: #e05a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 111, 111, 0.5);
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1f2a 40%, #1f2d2d 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -250px;
    right: -250px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.15) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.1) 0%, transparent 70%);
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
}

.hero-content .hero-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    transition: transform 0.15s ease-out;
}

.hero-content .hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.18) 0%, rgba(239, 111, 111, 0.06) 45%, transparent 70%);
    animation: logoGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoGlowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 1;
    }
}

.hero-content .hero-logo-img {
    position: relative;
    z-index: 2;
    width: 160px;
    height: auto;
    display: block;
    animation: logoFloat 4s ease-in-out infinite;
    transition: transform 0.15s ease-out;
    filter: drop-shadow(0 4px 20px rgba(239, 111, 111, 0.25));
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease 0.15s forwards;
    opacity: 0;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content .hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.45s forwards;
    opacity: 0;
}

.hero-cta a {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary-cta {
    background: var(--primary);
    color: #fff;
    margin-right: 0.75rem;
    box-shadow: 0 6px 24px rgba(239, 111, 111, 0.45);
}

.hero-cta .btn-primary-cta:hover {
    background: #e05a5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 111, 111, 0.55);
}

.hero-cta .btn-outline-cta {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-cta .btn-outline-cta:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 10px;
    border-radius: 3px;
    background: var(--primary);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scrollDot {

    0%,
    100% {
        top: 8px;
        opacity: 0.4;
    }

    50% {
        top: 20px;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTIONS ========== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-heading .divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.section-heading p {
    color: #6c757d;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-light {
    background: #fafbfc;
}

.section-dark {
    background: var(--dark-soft);
    color: #e0e0e0;
}

.section-dark .section-heading h2 {
    color: #fff;
}

.section-dark .section-heading p {
    color: rgba(255, 255, 255, 0.55);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.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;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ========== ABOUT CARDS ========== */
.about-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(239, 111, 111, 0.15);
}

.about-card .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all 0.35s ease;
}

.about-card:hover .icon-circle {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.about-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #222;
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    align-items: start;
    gap: 1.15rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(239, 111, 111, 0.12);
}

/* ========== MODULE CARDS ========== */
.module-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--primary-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 111, 111, 0.2);
}

.module-card:hover::before {
    opacity: 1;
}

.module-card .module-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.15rem;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all 0.4s ease;
}

.module-card:hover .module-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 24px rgba(239, 111, 111, 0.35);
}

.module-card h5 {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.module-card p {
    position: relative;
    z-index: 2;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.feature-card .feat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all 0.35s ease;
}

.feature-card:hover .feat-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #222;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ========== STATS CARDS ========== */
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-card .stat-label {
    color: #777;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.4rem;
}

/* ========== CONTACT ========== */
.contact-section {
    background: var(--dark-soft);
    padding: 5rem 0;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-wrapper>p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2.5rem;
}

.contact-form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 111, 111, 0.15);
    color: #fff;
    outline: none;
}

.contact-form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.btn-send {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.78rem 2rem;
    border-radius: 10px;
    width: 100%;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(239, 111, 111, 0.35);
    cursor: pointer;
}

.btn-send:hover {
    background: #e05a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 111, 111, 0.5);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.captcha-row img {
    border-radius: 10px;
    height: 52px;
    width: auto;
}

.captcha-row .btn-refresh {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.captcha-row .btn-refresh:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* ================================================================ */
/*                        AUTH PAGES                                */
/* ================================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1f2a 40%, #1f2d2d 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.12) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.08) 0%, transparent 70%);
    animation: heroFloat 10s ease-in-out infinite reverse;
}

.auth-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    animation: fadeInUp 0.7s ease forwards;
}

.auth-card-header {
    padding: 2.5rem 2rem 1rem;
    text-align: center;
}

.auth-card-header .auth-logo {
    width: 64px;
    height: auto;
    margin-bottom: 1rem;
}

.auth-card-header h3 {
    font-weight: 700;
    color: #222;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.auth-card-header p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.auth-card-body {
    padding: 1rem 2rem 2rem;
}

.auth-card-footer {
    padding: 1.25rem 2rem;
    background: #fafbfc;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #888;
}

.auth-card-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-card-footer a:hover {
    color: #e05a5a;
}

/* Auth form controls */
.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-label {
    display: block;
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    letter-spacing: 0.2px;
}

.auth-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.auth-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 111, 111, 0.1);
}

.auth-form-input::placeholder {
    color: #bbb;
    font-size: 0.9rem;
}

/* Password field with toggle */
.auth-password-wrapper {
    position: relative;
}

.auth-password-wrapper .auth-form-input {
    padding-right: 3rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.auth-password-toggle:hover {
    color: var(--primary);
}

/* Auth submit button */
.auth-btn-primary {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(239, 111, 111, 0.35);
}

.auth-btn-primary:hover {
    background: #e05a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(239, 111, 111, 0.45);
}

.auth-btn-secondary {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.auth-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* Auth info tip */
.auth-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
    transition: all 0.3s ease;
}

.auth-info-tip:hover {
    background: var(--primary);
    color: #fff;
}

/* Auth captcha */
.auth-captcha-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.auth-captcha-row img {
    border-radius: 8px;
    height: 46px;
    width: auto;
    border: 1px solid #e0e0e0;
}

.auth-captcha-row .auth-btn-refresh {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.auth-captcha-row .auth-btn-refresh:hover {
    background: #eee;
    color: #333;
}

/* Auth code input */
.auth-code-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.3rem;
    letter-spacing: 8px;
    text-align: center;
    font-weight: 700;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.auth-code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 111, 111, 0.1);
}

.auth-code-input::placeholder {
    color: #bbb;
    letter-spacing: 4px;
    font-size: 1rem;
    font-weight: 400;
}

/* Auth register extended card */
.auth-card-wide {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 920px;
    margin: 2rem auto;
    animation: fadeInUp 0.7s ease forwards;
}

.auth-card-wide .auth-card-header {
    padding: 2.5rem 2rem 1rem;
    text-align: center;
}

.auth-card-wide .auth-card-body {
    padding: 1rem 2rem 2rem;
}

.auth-card-wide .auth-card-footer {
    padding: 1.25rem 2rem;
    background: #fafbfc;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #888;
}

.auth-card-wide .auth-card-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-card-wide .auth-card-footer a:hover {
    color: #e05a5a;
}

/* Registration product table */
.auth-product-table {
    width: 100%;
    font-size: 0.9rem;
}

.auth-product-table th {
    font-weight: 600;
    color: #555;
    font-size: 0.85rem;
    border-bottom: 2px solid #eee;
    padding: 0.75rem;
}

.auth-product-table td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Auth page with scroll (register) */
.auth-page-scroll {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1f2a 40%, #1f2d2d 100%);
    position: relative;
    overflow: auto;
    padding: 2rem 1rem;
}

.auth-page-scroll::before {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.1) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.auth-page-scroll::after {
    content: '';
    position: fixed;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 111, 111, 0.06) 0%, transparent 70%);
    animation: heroFloat 10s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Quick actions row */
.auth-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.auth-quick-actions a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-quick-actions a:hover {
    color: #e05a5a;
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767.98px) {
    .section {
        padding: 4rem 0;
    }

    .navbar-custom.scrolled,
    .navbar-custom {
        background: var(--dark) !important;
    }

    .hero-section {
        min-height: 90vh;
    }

    .hero-cta a {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-cta .btn-primary-cta {
        margin-right: 0;
    }

    .about-card,
    .feature-card,
    .stat-card,
    .module-card {
        margin-bottom: 1.25rem;
    }

    .ai-highlight {
        padding: 1.5rem 1.25rem;
    }

    .ai-brain-icon {
        margin-bottom: 1.25rem;
    }

    .stat-card {
        padding: 2rem 1rem;
    }

    .stat-card .stat-number {
        font-size: 2.5rem;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 14px;
    }

    .auth-card-header,
    .auth-card-body,
    .auth-card-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .auth-card-wide {
        max-width: 100%;
        border-radius: 14px;
        margin: 1rem auto;
    }

    .auth-card-wide .auth-card-header,
    .auth-card-wide .auth-card-body,
    .auth-card-wide .auth-card-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .auth-page-scroll {
        padding: 1rem 0.5rem;
    }
}

/* ========== AI INTAJO SECTION ========== */
.ai-section {
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(239, 111, 111, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.ai-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(239, 111, 111, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(239, 111, 111, 0.03) 0%, transparent 30%);
}

.ai-container {
    position: relative;
    z-index: 1;
}

/* Brain icon & ring */
.ai-brain-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.ai-brain-ring {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1.5px solid rgba(239, 111, 111, 0.18);
    animation: brainRingPulse 3s ease-in-out infinite;
}

.ai-brain-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(239, 111, 111, 0.08);
    animation: brainRingPulse 3s ease-in-out 0.5s infinite;
}

.ai-brain-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    background: radial-gradient(circle at 35% 35%, rgba(239, 111, 111, 0.18), rgba(239, 111, 111, 0.06));
    box-shadow: 0 0 20px rgba(239, 111, 111, 0.25), 0 0 50px rgba(239, 111, 111, 0.1);
    animation: brainGlow 2.8s ease-in-out infinite;
}

@keyframes brainGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(239, 111, 111, 0.25), 0 0 50px rgba(239, 111, 111, 0.1);
    }

    50% {
        box-shadow: 0 0 32px rgba(239, 111, 111, 0.45), 0 0 72px rgba(239, 111, 111, 0.18);
    }
}

@keyframes brainRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.ai-intro-text {
    max-width: 620px;
    margin: 0 auto 3rem auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

/* Cards */
.ai-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 2rem 1.5rem 1.75rem;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-card .ai-card-accent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 0 0 2px 2px;
    transition: width 0.45s ease;
}

.ai-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(239, 111, 111, 0.22);
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(239, 111, 111, 0.08) inset;
}

.ai-card:hover .ai-card-accent {
    width: 60%;
}

.ai-card .ai-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.15rem;
    background: rgba(239, 111, 111, 0.1);
    color: var(--primary);
    transition: all 0.4s ease;
}

.ai-card:hover .ai-card-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(239, 111, 111, 0.3);
}

.ai-card h5 {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.ai-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.84rem;
    line-height: 1.72;
    margin: 0;
}

.ai-card:hover p {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767.98px) {
    .ai-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .ai-brain-ring {
        width: 80px;
        height: 80px;
    }

    .ai-brain-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }
}