/* ==========================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --bg-primary: #080c14;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.06);
    
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    --accent-green-hover: #059669;
    --accent-blue: #3b82f6;
    --accent-blue-rgb: 59, 130, 246;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --red: #ef4444;
    --red-soft: rgba(239, 68, 68, 0.1);
    --green-soft: rgba(16, 185, 129, 0.1);
    --blue-soft: rgba(59, 130, 246, 0.1);

    /* Fonts */
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Spacing */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ==========================================
   REUSABLE UTILITIES & GLASSMORPHISM
   ========================================== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-green {
    color: var(--accent-green);
}

.text-red {
    color: var(--red);
}

.bg-red-soft { background-color: var(--red-soft); }
.bg-blue-soft { background-color: var(--blue-soft); }
.bg-green-soft { background-color: var(--green-soft); }

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #000;
    box-shadow: 0 4px 14px rgba(var(--accent-green-rgb), 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-green-rgb), 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.btn-secondary:hover {
    background: rgba(var(--accent-green-rgb), 0.08);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-primary);
}

.btn-tertiary:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
    width: 100%;
}

.btn-glow:hover {
    animation: glow-pulse 1.5s infinite alternate;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 10px rgba(var(--accent-green-rgb), 0.4);
    }
    100% {
        box-shadow: 0 0 25px rgba(var(--accent-green-rgb), 0.7);
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    transition: var(--transition-smooth);
}

.logo-accent {
    color: var(--accent-green);
    transition: var(--transition-smooth);
}

.logo-finz {
    color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.45));
}

.logo-wrapper:hover .logo-accent,
.logo-wrapper:hover .logo-finz {
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-green-rgb), 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.1) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    color: var(--accent-green);
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(var(--accent-green-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card {
    padding: 32px;
    width: 100%;
    max-width: 440px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.card-pretitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.card-header h3 {
    font-size: 1.25rem;
    margin-top: 4px;
}

.card-badge {
    background: var(--green-soft);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    gap: 16px;
}

.chart-bar {
    width: 100%;
    height: var(--height);
    background: linear-gradient(to top, rgba(var(--accent-green-rgb), 0.1), rgba(var(--accent-green-rgb), 0.85));
    border-radius: 4px 4px 0 0;
    transition: var(--transition-smooth);
    position: relative;
}

.chart-bar:hover {
    background: linear-gradient(to top, rgba(var(--accent-green-rgb), 0.3), var(--accent-green));
    box-shadow: 0 0 15px rgba(var(--accent-green-rgb), 0.4);
}

.card-footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-val {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 280px;
    animation: float 4s ease-in-out infinite;
}



.floating-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.floating-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   WHY THIS SECTION
   ========================================== */
.why-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.feature-card {
    padding: 40px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ==========================================
   SYLLABUS SECTION
   ========================================== */
.syllabus-section {
    position: relative;
}

.syllabus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.syllabus-card {
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.syllabus-card:hover {
    border-color: rgba(var(--accent-green-rgb), 0.2);
    box-shadow: 0 8px 30px rgba(var(--accent-green-rgb), 0.05);
}

.syllabus-num {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
    background: var(--green-soft);
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.syllabus-content h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.syllabus-content ul {
    list-style: none;
}

.syllabus-content ul li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.syllabus-content ul li::before {
    content: '•';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* ==========================================
   ABOUT NIJANTHAN SECTION
   ========================================== */
.about-section {
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
}

.about-image-wrapper {
    position: relative;
    justify-self: center;
}

.about-image-container {
    width: 320px;
    height: 380px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-tertiary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--accent-green);
    color: #000;
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(var(--accent-green-rgb), 0.3);
    font-family: var(--font-title);
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 800;
    font-size: 0.95rem;
}

.badge-sub {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.section-tag {
    color: var(--accent-green);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.credential-item {
    display: flex;
    gap: 16px;
}

.cred-icon {
    font-size: 1.75rem;
}

.credential-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.credential-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px 32px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-green);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-top: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    margin-top: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ==========================================
   PRICING / CTA SECTION
   ========================================== */
.pricing-section {
    position: relative;
    padding: 80px 0 120px 0;
}

.pricing-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px;
    text-align: center;
    border: 1px solid rgba(var(--accent-green-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-green-rgb), 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-badge {
    background: var(--green-soft);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--accent-green-rgb), 0.2);
}

.pricing-card h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.price-val {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-green);
}

.price-slashed {
    font-size: 1.75rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    max-width: 420px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: #04060a;
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 56px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-mfd {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-disclaimer p {
    margin-bottom: 12px;
}

.copyright {
    margin-top: 24px;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* simple responsive approach: hide links on mobile navbar, focus on CTA */
    }
    
    .syllabus-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 32px 16px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .credentials-list {
        grid-template-columns: 1fr;
    }
}
