/* 
   Piano Agency Design System 
   Font: Outfit (Google Fonts)
   Colors: Premium Royal Blue & Gold
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    /* Colors */
    --primary: #1B5E20;
    /* Deep Forest Green */
    --primary-dark: #2E7D32;
    /* Emerald Green */
    --secondary: #D4AF37;
    /* Metallic Gold */
    --secondary-hover: #B8860B;
    /* Dark Gold */
    --accent: #E8F5E9;
    /* Light Green */

    --bg-body: #FFFFFF;
    /* Pure White */
    --bg-white: #F9FBF9;
    /* Off-white hint of green */
    --bg-glass: rgba(255, 255, 255, 0.95);

    --text-main: #0F172A;
    /* Slate 900 */
    --text-muted: #64748B;
    /* Slate 500 */
    --text-light: #F1F5F9;

    /* Spacing */
    --section-padding: 5rem 1rem;
    --container-width: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--primary-dark);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(217, 119, 6, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}



.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    /* Almost full screen */
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for navbar */
    background: linear-gradient(135deg, rgba(245, 235, 215, 0.95) 0%, rgba(245, 235, 215, 0.9) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    /* Focus the reading area */
    text-align: center;
    margin: 280px auto 0;
}

.hero-logo {
    position: absolute;
    top: 50px;
    /* Adjusted to sit nicely at top */
    left: 50%;
    transform: translateX(-50%);
    max-width: 450px;
    width: 100%;
    z-index: 1;
    /* Behind content but in hero */
    mix-blend-mode: multiply;
    filter: contrast(1.6) brightness(1.15);
}

/* Trust Indicators */
.trust-badges {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.check-icon {
    color: var(--secondary);
}

/* Component Placeholders for structure */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgb(241, 245, 249);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Process Steps */
.process-column {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgb(241, 245, 249);
}

.step-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Value Props */
.feature-box {
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* SEO Tags */
.seo-tag {
    display: block;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.seo-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Teacher Cards */
.teacher-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.teacher-info h4 {
    margin-bottom: 0.5rem;
}

.badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.badge {
    background: #eff6ff;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Split */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-box {
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-student {
    background: var(--primary);
}

.cta-teacher {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .cta-split {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgb(241, 245, 249);
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--text-muted);
    margin-top: 1rem;
    display: none;
    /* JS will toggle this */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background-color: #0f172a;
    padding: 4rem 0 2rem;
    color: #cbd5e1;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}