/* ============================================
   Forks and Spoons - Youth Mental Health Platform
   Bold, Contemporary, Digital-First Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Palette - Bold Purples */
    --purple-900: #4C1D95;
    --purple-700: #6D28D9;
    --purple-600: #7C3AED;
    --purple-500: #8B5CF6;
    --purple-400: #A78BFA;
    --lilac: #C4B5FD;
    --lilac-soft: #EDE9FE;
    
    /* Accent Palette - Warm Coral/Peach */
    --coral-600: #DC2626;
    --coral-500: #EF4444;
    --coral: #F87171;
    --peach: #FDBA74;
    --orange-warm: #FB923C;
    
    /* Support - Soft Green */
    --green-soft: #6EE7B7;
    --green-muted: #A7F3D0;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --charcoal: #1F2937;
    --black: #111827;
    
    /* Semantic */
    --bg-primary: var(--off-white);
    --bg-secondary: var(--white);
    --bg-accent: var(--purple-600);
    --text-primary: var(--charcoal);
    --text-secondary: var(--gray-600);
    --text-inverse: var(--white);
    
    /* Typography */
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-rounded: 'Nunito', system-ui, sans-serif;
    
    /* Type Scale - Mobile First */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --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);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-purple: 0 20px 40px -12px rgb(124 58 237 / 0.35);
    --shadow-coral: 0 20px 40px -12px rgb(248 113 113 / 0.35);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 800;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

a {
    color: var(--purple-600);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--purple-700);
}

a:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

strong {
    font-weight: 600;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--purple-600);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    z-index: 9999;
    transition: top var(--duration-normal) var(--ease-out);
}

.skip-link:focus {
    top: var(--space-4);
    outline: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-10);
    }
}

.section {
    padding: var(--space-16) 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-24) 0;
    }
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-5);
}

@media (min-width: 768px) {
    .header-container {
        padding: var(--space-5) var(--space-8);
    }
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform var(--duration-normal) var(--ease-spring);
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-link:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.logo-link img {
    height: 120px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-link img {
        height: 165px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: absolute;
    right: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    nav {
        right: var(--space-8);
    }
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--purple-600);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: var(--shadow-purple);
}

.nav-toggle:hover {
    background: var(--purple-700);
    transform: scale(1.05);
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 3px;
}

.nav-toggle-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    bottom: -6px;
}

/* Toggle active state */
.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + var(--space-3));
    right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    list-style: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-menu li {
    border-bottom: 1px solid var(--gray-100);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-primary);
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-menu a:hover {
    background: var(--purple-600);
    color: var(--white);
}

.nav-menu a:focus-visible {
    background: var(--purple-600);
    color: var(--white);
    outline: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-5);
    background: 
        linear-gradient(
            to right,
            #E53935 0%,
            #FF9800 17%,
            #FFEB3B 33%,
            #4CAF50 50%,
            #2196F3 67%,
            #3F51B5 83%,
            #9C27B0 100%
        );
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: var(--space-24) var(--space-8);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-welcome {
    font-family: var(--font-rounded);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

/* Hero Decorative Shapes */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--white);
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--white);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    left: 10%;
    animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
    font-family: var(--font-rounded);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-8);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    border-radius: var(--radius-full);
    margin: var(--space-6) auto 0;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    padding: var(--space-16) var(--space-5);
    text-align: center;
}

@media (min-width: 768px) {
    .page-hero {
        padding: var(--space-20) var(--space-8);
    }
}

.page-title {
    font-family: var(--font-rounded);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTENT CARD (Inner Pages)
   ============================================ */
.content-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    position: relative;
    border: 4px solid transparent;
    box-shadow: var(--shadow-lg);
}

.content-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-3xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@media (min-width: 768px) {
    .content-card {
        padding: var(--space-12);
    }
}

.content-card h2 {
    color: var(--purple-700);
    margin-bottom: var(--space-6);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.content-card h3 {
    color: var(--coral);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
}

.content-card p {
    font-size: var(--text-xl);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
    .content-card p {
        font-size: var(--text-2xl);
    }
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.section-welcome {
    background: var(--white);
}

.welcome-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    position: relative;
    border: 4px solid transparent;
    box-shadow: var(--shadow-lg);
}

.welcome-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-3xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@media (min-width: 768px) {
    .welcome-card {
        padding: var(--space-12);
    }
}

.welcome-card .section-heading {
    font-family: var(--font-rounded);
    color: var(--purple-700);
    margin-bottom: var(--space-10);
}

.welcome-content p {
    font-size: var(--text-xl);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .welcome-content p {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-10);
    }
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   HELP SECTION
   ============================================ */
.section-help {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--lilac-soft) 100%);
}

/* About page specific - reduced top padding to match photo bottom margin */
.section-help:has(.about-photo-wrapper:first-child) {
    padding-top: var(--space-12);
}

@media (min-width: 768px) {
    .section-help:has(.about-photo-wrapper:first-child) {
        padding-top: var(--space-16);
    }
}

/* ============================================
   ILLUSTRATION SECTION
   ============================================ */
.section-illustration {
    background: var(--off-white);
    padding: var(--space-8) 0;
}

@media (min-width: 768px) {
    .section-illustration {
        padding: var(--space-12) 0;
    }
}

.illustration-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.illustration-wrapper::before {
    content: '';
    position: absolute;
    inset: var(--space-4);
    inset: 0 var(--space-4);
    border-radius: var(--radius-2xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@media (min-width: 768px) {
    .illustration-wrapper::before {
        inset: 0;
    }
    
    .illustration-wrapper {
        padding: 0;
    }
}

.section-help .section-heading {
    color: var(--purple-700);
}

.help-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.help-intro p {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-xl) !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .help-intro p {
        font-size: var(--text-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-2xl) !important;
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }
}

.benefit-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 3px solid transparent;
    transition: all var(--duration-normal) var(--ease-spring);
    overflow: visible;
    box-shadow: var(--shadow-md);
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 3px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-card p {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .benefit-card p {
        font-size: var(--text-2xl);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.cta-card {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-3xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@media (min-width: 768px) {
    .cta-card {
        padding: var(--space-12);
    }
}

.cta-heading {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    color: var(--purple-700);
    margin-bottom: var(--space-6);
}

.cta-card p {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-card p {
        font-size: var(--text-xl);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-10);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
    text-decoration: none;
}

@media (min-width: 768px) {
    .btn {
        padding: var(--space-5) var(--space-12);
        font-size: var(--text-lg);
    }
}

.btn-primary {
    background: var(--purple-600);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    background: var(--purple-700);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -12px rgba(124, 58, 237, 0.4);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 3px;
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--purple-700);
    color: var(--white);
    padding: var(--space-12) var(--space-5);
}

@media (min-width: 768px) {
    footer {
        padding: var(--space-16) var(--space-8);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.footer-brand p:first-child {
    color: var(--white);
    font-size: var(--text-base);
}

.footer-brand strong {
    font-family: var(--font-display);
    font-weight: 700;
}

footer a {
    color: var(--peach);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer a:hover {
    color: var(--white);
}

/* ============================================
   ANIMATIONS - SCROLL REVEAL
   ============================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s var(--ease-out) forwards;
}

.animate-fade-up.delay-1 {
    animation-delay: 0.15s;
}

.animate-fade-up.delay-2 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* ============================================
   FORM STYLES (for other pages)
   ============================================ */
.contact-form {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
}

@media (min-width: 768px) {
    .contact-form {
        padding: var(--space-12);
    }
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--purple-600), var(--coral));
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.form-group.required label::after {
    content: ' *';
    color: var(--coral);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--gray-50);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-600);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--space-4) var(--space-8);
    background: var(--purple-600);
    color: var(--white);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: var(--shadow-purple);
}

.submit-button:hover {
    background: var(--purple-700);
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -12px rgba(124, 58, 237, 0.4);
}

.submit-button:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 3px;
}

.submit-button:active {
    transform: translateY(0);
}

/* ============================================
   ALERTS / MESSAGES
   ============================================ */
.alert {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    font-weight: 500;
    border: 2px solid;
}

.alert-success {
    background: rgba(110, 231, 183, 0.15);
    border-color: var(--green-soft);
    color: var(--charcoal);
}

.alert-error {
    background: rgba(248, 113, 113, 0.15);
    border-color: var(--coral);
    color: var(--charcoal);
}

/* ============================================
   CONTENT SECTIONS (other pages)
   ============================================ */
.content-section {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
}

@media (min-width: 768px) {
    .content-section {
        padding: var(--space-12);
    }
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--purple-600), var(--coral), var(--peach));
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.content-section h2 {
    color: var(--purple-700);
    margin-bottom: var(--space-6);
}

.content-section h3 {
    color: var(--coral-600);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.content-section p {
    font-size: var(--text-lg);
    line-height: 1.8;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--purple-600), var(--coral));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--purple-400);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item h3 {
    color: var(--purple-700);
    margin-bottom: var(--space-3);
    margin-top: 0;
}

.service-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ============================================
   BENEFITS LIST (other pages)
   ============================================ */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
}

.benefits-list li {
    position: relative;
    padding: var(--space-5) var(--space-5) var(--space-5) var(--space-12);
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--green-soft);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    color: var(--green-soft);
    font-weight: 700;
    font-size: var(--text-xl);
}

/* ============================================
   SECTION TITLE (other pages)
   ============================================ */
.section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--purple-700);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    border-radius: var(--radius-full);
    margin: var(--space-6) auto 0;
}

/* ============================================
   HERO (other pages fallback)
   ============================================ */
section.hero {
    text-align: center;
}

section.hero h1 {
    color: var(--white);
}

section.hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--space-12);
}

.mb-lg {
    margin-bottom: var(--space-12);
}

/* Legacy scroll animation classes (for other pages) */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   BENEFIT CARD LARGE (Full Width for Inner Pages)
   ============================================ */
.benefit-card-large {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 3px solid transparent;
    transition: all var(--duration-normal) var(--ease-spring);
    overflow: visible;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-8);
}

.benefit-card-large::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 3px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.benefit-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-card-large p {
    font-size: var(--text-xl);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

.benefit-card-large p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .benefit-card-large {
        padding: var(--space-12);
    }
    
    .benefit-card-large p {
        font-size: var(--text-2xl);
    }
}

/* Spaced Content (50% more spacing) */
.spaced-content p {
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .spaced-content p {
        margin-bottom: var(--space-10);
    }
}

.spaced-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   ABOUT PHOTO STYLES
   ============================================ */
.about-photo-wrapper {
    max-width: 400px;
    margin: 0 auto var(--space-12);
    position: relative;
}

@media (min-width: 768px) {
    .about-photo-wrapper {
        margin: 0 auto var(--space-16);
    }
}

.about-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   PAGE IMAGE STYLES (for What is Counselling)
   ============================================ */
.page-image-wrapper {
    max-width: 700px;
    margin: var(--space-8) auto;
    position: relative;
}

.page-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 4px;
    background: linear-gradient(
        to right,
        #E53935 0%,
        #FF9800 17%,
        #FFEB3B 33%,
        #4CAF50 50%,
        #2196F3 67%,
        #3F51B5 83%,
        #9C27B0 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.page-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header,
    footer,
    .nav-toggle,
    .hero-decoration {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-8);
        background: var(--white);
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-primary) !important;
    }
    
    .section {
        padding: var(--space-8) 0;
    }
    
    .animate-on-scroll,
    .animate-fade-up {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-shape {
        animation: none;
    }
}
