/* style.css */
:root {
    /* Brand Colors */
    --color-primary: hsl(260, 80%, 65%);   /* Premium Violet */
    --color-secondary: hsl(310, 80%, 65%); /* Vibrant Pink */
    --color-accent: hsl(160, 80%, 45%);    /* Success Teal */
    
    /* Neutral & Backgrounds */
    --color-bg-main: hsl(240, 30%, 8%);    /* Deep Space */
    --color-surface: hsl(240, 25%, 12%);   /* Glass Pane base */
    --color-text-main: hsl(240, 10%, 98%); /* White Mist */
    --color-text-muted: hsl(240, 10%, 70%);/* Stardust */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    
    /* Fonts */
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--color-text-main);
    margin-top: 0;
}

/* Navigation */
nav {
    background: hsla(240, 25%, 15%, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid hsla(240, 20%, 30%, 0.5);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo { 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: var(--color-text-main); 
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li a { 
    text-decoration: none; 
    color: var(--color-text-muted); 
    font-weight: 500; 
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--color-primary);
}

nav .btn-nav { 
    background: var(--gradient-primary); 
    color: white; 
    padding: 0.5rem 1.5rem; 
    border-radius: 9999px; 
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

nav .btn-nav:hover {
    color: white; /* Ensure text stays white */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.15), transparent 40%);
    color: var(--color-text-main);
    padding: 6rem 5% 4rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    font-weight: 700;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p { 
    font-size: 1.25rem; 
    max-width: 600px; 
    margin-bottom: 2.5rem; 
    color: var(--color-text-muted);
    font-weight: 300;
}

.hero-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 9999px;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    display: inline-block;
}

.hero-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}

/* Value Props / Stats */
.stats-banner { 
    background: var(--color-surface); 
    border-top: 1px solid hsla(240, 20%, 30%, 0.3);
    border-bottom: 1px solid hsla(240, 20%, 30%, 0.3);
    color: var(--color-text-main); 
    padding: 3rem 5%; 
    text-align: center; 
}

.stats-banner h2 {
    color: var(--color-accent);
}

/* Features */
.features { 
    padding: 5rem 5%; 
    background: var(--color-bg-main); 
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.feature-card { 
    background: hsla(240, 25%, 15%, 0.4); /* Glassmorphism surface */
    backdrop-filter: blur(12px);
    border: 1px solid hsla(240, 20%, 30%, 0.5);
    padding: 2.5rem; 
    border-radius: 16px; 
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-muted);
    font-weight: 400;
}

/* Audience Split */
.split-section { 
    display: flex; 
    flex-wrap: wrap; 
}

.split-half { 
    flex: 1; 
    padding: 5rem 5%; 
    min-width: 300px; 
}

.for-students { 
    background: transparent; 
}

.for-parents { 
    background: var(--color-surface); 
    border-left: 1px solid hsla(240, 20%, 30%, 0.5);
    position: relative;
    overflow: hidden;
}

.for-parents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.split-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.split-section ul {
    padding-left: 1.2rem;
}

.split-section ul li {
    margin-bottom: 0.8rem;
    color: var(--color-text-muted);
}

.split-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Footer */
footer { 
    background: black; 
    color: var(--color-text-muted); 
    padding: 4rem 5%; 
    text-align: center; 
    border-top: 1px solid hsla(240, 20%, 30%, 0.3);
}

footer a { 
    color: var(--color-text-main); 
    text-decoration: none; 
    transition: color 0.2s;
}

footer a:hover {
    color: var(--color-primary);
}