/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;700&display=swap');

:root {
    --stripe-blue: #635bff;
    --stripe-blue-light: rgba(99, 91, 255, 0.1);
    --airbnb-red: #ff385c;
    --bg-fresh: #ffffff;
    --bg-secondary: #f6f9fc;
    --text-dark: #1a1f36;
    --text-muted: #4f566b;
    --white: #ffffff;
    --shadow-soft: 0 4px 6px rgba(50,50,93,0.05), 0 1px 3px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 20px rgba(50,50,93,0.08);
    --shadow-premium: 0 12px 32px rgba(99,91,255,0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 99px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-fresh);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--stripe-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 35px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--stripe-blue);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--stripe-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--stripe-blue);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Feature Tool Card (Moved from Inline) */
.hero-tool-card {
    background: linear-gradient(135deg, rgba(99,91,255,0.08) 0%, rgba(162,89,255,0.08) 100%);
    border: 1.5px solid rgba(99,91,255,0.2);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 480px;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 28px;
    text-decoration: none;
}

.hero-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(99,91,255,0.4);
}

.tool-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.tool-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.tool-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0 !important;
}

.tool-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--stripe-blue-light);
    color: var(--stripe-blue);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 700;
}

.tag-new {
    background: rgba(16,185,129,0.12);
    color: #10b981;
}

.tool-arrow {
    margin-left: auto;
    color: var(--stripe-blue);
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-tool-card:hover .tool-arrow {
    transform: translateX(5px);
}

/* Hero Section (Stripe Inspired) */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible; /* Changed from hidden to avoid clipping */
    background: radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.05), transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(255, 56, 92, 0.02), transparent 50%);
    padding-top: 150px;
}

/* Global Background Logo */
.fixed-background {
    position: fixed;
    top: 100px; /* Below header */
    bottom: 80px; /* Above footer safety */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(100vh - 180px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -2;
    pointer-events: none;
}

.fixed-background img {
    height: 100%; /* Fill the available vertical space */
    width: auto;
    max-width: 90%;
    object-fit: contain;
    opacity: 0.3; /* More intense as requested */
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-image {
    display: none; /* Removed from section, now global */
}

.fixed-guitar {
    position: fixed;
    right: 5%;
    top: 150px; /* Safe distance from header */
    width: 220px;
    z-index: 10;
    pointer-events: none;
    display: block;
}

@media (max-width: 900px) {
    .fixed-guitar {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px auto;
        width: 180px;
        order: -1; /* Show above text on mobile tasks */
    }
}

.fixed-guitar img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

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

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 400px;
}

/* Buttons (Stripe Inspired) */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--stripe-blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--stripe-blue);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #e6ebf1;
    transform: translateY(-2px);
}

/* Sections (Airbnb Inspired) */
section {
    padding: 30px 0;
    display: none; /* Hide all sections by default */
    background: transparent !important; /* Ensure logo is visible through sections */
}

section.active-section {
    display: block; /* Only show the active section */
    animation: fadeIn 0.4s ease-out;
    min-height: 80vh; /* Ensure there's space for the content and background */
    padding-bottom: 100px; /* Extra breathing room at the bottom */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Cards (Airbnb Style) */
.card {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: left;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Apps Section */
.apps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 15px;
}

.app-item {
    text-align: center;
}

.app-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-badge {
    height: 35px;
    transition: var(--transition);
}

.app-badge:hover {
    transform: scale(1.05);
}

/* Video Feed */
.video-wrapper {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Profile Section */
.profile-card {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--white);
    padding: 64px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    padding: 30px 0 60px; /* More padding for a cleaner look */
    background: var(--bg-fresh);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        gap: 30px;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    nav {
        padding: 10px 20px;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        margin: 0 auto 20px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-tool-card {
        margin: 28px auto 0;
        text-align: left;
    }

    .fixed-guitar {
        display: none;
    }

    .fixed-background img {
        opacity: 0.1;
    }

    .profile-card {
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-card div {
        text-align: center !important;
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }

    .apps-grid {
        flex-direction: column;
        gap: 30px;
    }

    .legal-content, .lesson-header, .lesson-content {
        padding-top: 90px !important;
    }
}
