/* Clean SaaS + Modern AI/Web3 Styling */
:root {
    --bg-primary: #020617;
    --bg-secondary: #020617;
    --bg-elevated: rgba(15, 23, 42, 0.85);
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --accent-blue: #4f46e5;
    --accent-blue-hover: #4338ca;
    --accent-cyan: #22d3ee;
    --accent-pink: #ec4899;
    --border-color: rgba(148, 163, 184, 0.4);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 2px 10px rgba(15,23,42,0.4);
    --shadow-md: 0 10px 30px rgba(15,23,42,0.7);
    --shadow-lg: 0 25px 80px rgba(15,23,42,0.9);
    --glow-strong: 0 0 25px rgba(56,189,248,0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.2), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236,72,153,0.2), transparent 55%),
        radial-gradient(circle at center, rgba(59,130,246,0.25), transparent 60%),
        var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a { text-decoration: none; color: var(--accent-blue); }

/* Typography & Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 600; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pt-4 { padding-top: 1.5rem; }
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
.max-w-lg { max-width: 600px; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.min-h-screen { min-height: 100vh; }
.bg-secondary { background-color: rgba(15,23,42,0.7); }
.bg-primary { background-color: rgba(15,23,42,0.85); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.section {
    padding: 5rem 0;
    position: relative;
}
.section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background: radial-gradient(circle at top, rgba(56,189,248,0.35), transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
}
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1.5rem; }
.gap-2 { gap: 0.5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: 6px; font-weight: 600;
    transition: all 0.2s ease; cursor: pointer; border: 1px solid transparent; font-size: 1rem;
}
.btn.lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-primary { background-color: var(--accent-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--glow-strong);
}
.btn-primary.glow, .btn.glow {
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5), var(--glow-strong);
    position: relative;
    overflow: hidden;
}
.btn-primary.glow::before, .btn.glow::before {
    content: "";
    position: absolute;
    inset: -150%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(56,189,248,0.6), rgba(129,140,248,0.8), rgba(236,72,153,0.6), rgba(56,189,248,0.6));
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.6s ease;
    z-index: -1;
}
.btn-primary.glow:hover::before, .btn.glow:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(15deg);
}
.btn-outline { background: transparent; border-color: var(--border-color); color: var(--text-primary); }
.btn-outline:hover { background: rgba(15,23,42,0.9); border-color: rgba(148,163,184,0.9); box-shadow: var(--shadow-sm); }

/* Navigation */
.navbar {
    padding: 1.25rem 0; position: fixed; top: 0; width: 100%; z-index: 100;
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
}
.navbar-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #e5e7eb;
}
.logo img {
    display: block;
    height: 32px;
}
.logo-text {
    background: linear-gradient(120deg, var(--accent-cyan), var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.25), transparent 60%),
        radial-gradient(circle at bottom right, rgba(236,72,153,0.25), transparent 60%),
        var(--bg-secondary);
}
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 4rem; width: 100%; }
.hero-text { flex: 1; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 999px;
    padding: 6px;
    background:
        radial-gradient(circle at top, rgba(56,189,248,0.4), transparent 60%),
        radial-gradient(circle at bottom, rgba(236,72,153,0.35), transparent 60%),
        rgba(15,23,42,0.95);
    box-shadow: 0 24px 70px rgba(15,23,42,0.95), 0 0 40px rgba(56,189,248,0.55);
}
h1#hero-title { font-size: 3.5rem; line-height: 1.1; margin: 1rem 0; letter-spacing: -1px; }

.badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(56,189,248,0.4);
    box-shadow: 0 0 20px rgba(56,189,248,0.45);
}

.live-dot { width: 8px; height: 8px; background: #e11d48; border-radius: 50%; opacity: 0.8; }

.webinar-details { display: flex; flex-direction: column; gap: 0.75rem; background: #fff; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.webinar-details {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.98));
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: var(--shadow-md);
}
.detail-item { display: flex; align-items: center; gap: 0.8rem; font-size: 1.05rem; color: var(--text-primary); font-weight: 500; text-shadow: 0 1px 2px rgba(15,23,42,0.9); }
.detail-item svg { color: var(--accent-blue); }

.detail-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.hero-next-label {
    font-weight: 600;
}
.hero-next-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(148,163,184,0.9);
}

.hero-host-meta {
    color: var(--text-secondary);
}
.hero-host-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.hero-host-title {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Glass / Card Styles */
.glass-card {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.96));
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}
.glass-subtle {
    background: linear-gradient(135deg, rgba(15,23,42,0.92), rgba(15,23,42,0.98));
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: var(--shadow-sm);
    padding: 2rem 2.25rem 2.25rem;
}

/* Utility badges + pills */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.7);
    color: var(--text-secondary);
}
.badge-pill span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56,189,248,1), rgba(56,189,248,0));
    box-shadow: 0 0 12px rgba(56,189,248,0.9);
}

/* Pricing styles */
.pricing-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.price-old {
    font-size: 1.2rem;
    color: rgba(148,163,184,0.9);
    text-decoration: line-through;
}
.price-new {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.price-tag {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,0.7);
    background: rgba(15,23,42,0.9);
    color: var(--accent-cyan);
}
.limited-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Features Section */
.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.14), rgba(15,23,42,0.98));
}
.feature-card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(56,189,248,0.45);
    border-color: rgba(56,189,248,0.9);
}
.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    background: radial-gradient(circle at top left, rgba(56,189,248,0.25), rgba(15,23,42,1));
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(56,189,248,0.7);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Why Join Section */
.why-join-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 2.5rem 2.25rem;
}
.why-join-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.why-join-point {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.why-join-point .bullet {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(56,189,248,0.95), rgba(56,189,248,0.1));
    color: #020617;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(56,189,248,0.7);
}
.why-join-point p {
    margin: 0;
    color: var(--text-secondary);
}

/* About AIPF Section */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: flex-start;
    padding: 2.5rem 2.25rem;
}
.about-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
}
.about-point {
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.5);
    background: radial-gradient(circle at top left, rgba(129,140,248,0.16), rgba(15,23,42,0.98));
}
.about-point h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.about-point p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.testimonial-card {
    padding: 1.75rem 1.75rem 1.9rem;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.5);
    background: radial-gradient(circle at top left, rgba(236,72,153,0.12), rgba(15,23,42,0.98));
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 0.4rem;
    right: 1.5rem;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(148,163,184,0.2);
}
.testimonial-name {
    font-weight: 600;
    margin-top: 1rem;
}
.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.stars {
    color: #facc15;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.6);
    box-shadow: var(--shadow-lg);
    background: #020617;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; }

/* Offer Box */
.offer-box {
    padding: 3rem 2.5rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236,72,153,0.25), transparent 55%),
        linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.7);
    box-shadow: var(--shadow-lg);
}
.trust-item { color: var(--text-secondary); }

/* Final CTA Section */
.cta-section { background-color: var(--bg-primary); }

/* FAQ Section */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.98));
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.faq-item:hover {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.98));
    box-shadow: var(--shadow-md);
    border-color: rgba(56,189,248,0.8);
    transform: translateY(-3px);
}
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; margin: 0; font-weight: 600; color: var(--text-primary); }
.faq-answer { display: none; margin-top: 1rem; color: var(--text-secondary); line-height: 1.5; }
.faq-item.active .faq-answer { display: block; }

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,1));
}
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }

/* Admin & Shared Forms */
.form-card {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.7);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.form-label { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 0.5rem; }
.form-control {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.8);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: var(--font-main);
    outline: none;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-size: 1rem;
}
.form-control:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1); }
.form-control::placeholder { color: #a1a1aa; }

/* Status message */
#status-message { font-weight: 500; text-align: center; margin-top: 1rem; padding: 0.75rem; border-radius: 6px; display: none; border: 1px solid transparent; }
#status-message.error { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; display: block; }
#status-message.success { background: #dcfce7; color: #15803d; border-color: #86efac; display: block; }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes floatSoft {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}
@keyframes pulseDot {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.9; }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }
.fade-in.delay-4 { animation-delay: 0.4s; }

.hero-image svg {
    animation: floatSoft 6s ease-in-out infinite;
}
.live-dot {
    animation: pulseDot 1.4s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .container { padding: 0 1.5rem; }
    .hero-content { flex-direction: column; text-align: center; gap: 2.5rem; }
    .hero-image { display: flex; margin-top: 1rem; }
    .hero-visual { max-width: 320px; }
    h1#hero-title { font-size: 2.5rem; }
    .webinar-details { align-items: center; }
    .faq-question { font-size: 1rem; }
    .why-join-grid,
    .about-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.75rem;
        gap: 2rem;
    }
    .glass-card {
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .section { padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    h1#hero-title { font-size: 2rem; }
    .btn { width: 100%; }
    .why-join-grid,
    .about-grid {
        padding: 1.75rem 1.5rem;
    }
}
