/**
 * Module Notes Page Styles - Dark Theme
 * SkoolBeez Landing Page
 */

/* ========================================
   CSS Variables (inherited from homepage.css)
   ======================================== */
:root {
    --sb-dark-1: #0d1b2a;
    --sb-dark-2: #1b263b;
    --sb-dark-3: #415a77;
    --sb-yellow: #ffed00;
    --sb-yellow-dark: #ffc300;
    --sb-glass: rgba(255, 255, 255, 0.03);
    --sb-glass-border: rgba(255, 255, 255, 0.1);
    --sb-text-muted: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Hero Section
   ======================================== */
.notes-hero {
    background: linear-gradient(135deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 50%, var(--sb-dark-3) 100%);
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
    margin-top: -80px;
}

.notes-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.notes-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.notes-hero-honeycomb {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23ffed00' fill-opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.notes-hero-content {
    position: relative;
    z-index: 10;
}

/* Breadcrumb */
.notes-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.notes-breadcrumb a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sb-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.notes-breadcrumb a:hover {
    color: var(--sb-yellow);
}

.notes-breadcrumb a.active {
    color: var(--sb-yellow);
}

.notes-breadcrumb iconify-icon {
    color: var(--sb-text-muted);
    font-size: 1rem;
}

/* Hero Badge */
.notes-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #a78bfa;
    margin-bottom: 1.5rem;
}

/* Hero Title */
.notes-hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.notes-hero-title .highlight {
    color: #a78bfa;
    position: relative;
}

.notes-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(167, 139, 250, 0.3);
    z-index: -1;
    border-radius: 4px;
}

/* Hero Description */
.notes-hero-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-text-muted);
    line-height: 1.8;
    max-width: 600px;
}

/* Hero Image */
.notes-hero-image {
    position: relative;
    z-index: 10;
}

.notes-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    animation: notesFloat 6s ease-in-out infinite;
}

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

/* Floating Notes Animation */
.floating-note {
    position: absolute;
    background: var(--sb-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: #ffffff;
    z-index: 5;
    animation: floatNote 8s ease-in-out infinite;
}

.floating-note-1 {
    top: 20%;
    right: -5%;
    animation-delay: 0s;
}

.floating-note-2 {
    bottom: 30%;
    left: -8%;
    animation-delay: -2s;
}

.floating-note-3 {
    top: 60%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes floatNote {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* ========================================
   Features Section
   ======================================== */
.notes-features {
    background: linear-gradient(180deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 100px 0;
    position: relative;
}

.notes-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

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

.notes-feature-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.notes-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a78bfa, #c4b5fd);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.notes-feature-card:hover::before {
    transform: scaleX(1);
}

.notes-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.notes-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.notes-feature-card:hover .notes-feature-icon {
    transform: scale(1.1);
}

.notes-feature-icon.purple {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #a78bfa;
}

.notes-feature-icon.yellow {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.2) 0%, rgba(255, 195, 0, 0.1) 100%);
    color: var(--sb-yellow);
}

.notes-feature-icon.teal {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
    color: #2dd4bf;
}

.notes-feature-icon.pink {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: #f472b6;
}

.notes-feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.notes-feature-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Benefits Banner Section
   ======================================== */
.notes-benefits-banner {
    background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.notes-benefits-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 33L15 25V8l15-8 15 8v17l-15 8z' fill='%23000' fill-opacity='0.08'/%3E%3C/svg%3E");
}

.benefit-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.benefit-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
}

/* ========================================
   How It Works Section
   ======================================== */
.notes-how-section {
    background: var(--sb-dark-1);
    padding: 100px 0;
    position: relative;
}

.notes-how-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

.notes-step-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
}

.notes-step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.notes-step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(167, 139, 250, 0.5);
}

.notes-step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 1.5rem;
    font-size: 2rem;
    color: #a78bfa;
}

.notes-step-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.notes-step-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Tabs Section
   ======================================== */
.notes-tabs-section {
    background: linear-gradient(180deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 100%);
    padding: 100px 0;
    position: relative;
}

.notes-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

.notes-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
    width: 100%;
}

.notes-tabs .nav-item {
    flex: 1 1 0;
    min-width: 0;
}

.notes-tab-btn {
    width: 100%;
    padding: 20px 24px;
    background: var(--sb-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.notes-tab-btn:hover {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
    color: #ffffff;
}

.notes-tab-btn.active {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: #a78bfa;
    color: #a78bfa;
}

.notes-tab-btn iconify-icon {
    font-size: 1.5rem;
}

/* Tab Content */
.notes-tab-content {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    overflow: hidden;
}

.notes-tab-image {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.notes-tab-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.notes-tab-info {
    padding: 2.5rem;
}

.notes-tab-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Accordion */
.notes-accordion {
    border: none;
}

.notes-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sb-glass-border);
}

.notes-accordion .accordion-button {
    background: transparent;
    padding: 1.25rem 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    box-shadow: none;
}

.notes-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.notes-accordion .accordion-button:not(.collapsed) {
    color: #a78bfa;
    background: transparent;
}

.notes-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(1000%) hue-rotate(211deg) brightness(102%) contrast(97%);
}

.notes-accordion .accordion-body {
    padding: 0 0 1.25rem 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.notes-cta-section {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.notes-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 33L15 25V8l15-8 15 8v17l-15 8z' fill='%23000' fill-opacity='0.08'/%3E%3C/svg%3E");
}

.notes-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.notes-cta-logo {
    width: 100px;
    margin-bottom: 2rem;
    animation: ctaBounce 2s ease-in-out infinite;
}

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

.notes-cta-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.notes-cta-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.notes-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #8b5cf6;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notes-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
    color: #8b5cf6;
}

/* ========================================
   Section Common
   ======================================== */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 992px) {
    .notes-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .notes-breadcrumb {
        justify-content: center;
    }

    .notes-hero-description {
        max-width: 100%;
        margin: 0 auto;
    }

    .notes-hero-image {
        margin-top: 3rem;
    }

    .floating-note {
        display: none;
    }

    .notes-tabs {
        flex-wrap: wrap;
    }

    .notes-tabs .nav-item {
        flex: 1 1 calc(50% - 6px);
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .notes-hero-title {
        font-size: 2rem;
    }

    .notes-feature-card {
        padding: 1.5rem;
    }

    .notes-step-card {
        padding: 2rem 1.5rem;
    }

    .notes-tabs .nav-item {
        flex: 1 1 100%;
    }

    .notes-tab-btn {
        justify-content: center;
    }

    .notes-tab-content {
        border-radius: 16px;
    }

    .notes-tab-info {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2rem;
    }
}
