/*
Theme Name: Geetha Education Elite
Theme URI: https://geetha.org.in
Description: Premium magazine-style educational portal theme. Ultra-modern design with stunning animations, SEO optimized, lightning-fast performance. Features all 5 phases: School Resources, Engineering Hub, Community, Resources & Global Education.
Version: 3.0
Author: Geetha.org.in
Author URI: https://geetha.org.in
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geetha-modern
*/

/* ==========================================
   GEETHA EDUCATION ELITE - PREMIUM MAGAZINE THEME
   Ultra-Modern | Magazine Style | SEO Optimized | Lightning Fast
   ========================================== */

/* CSS Custom Properties - Design System */
:root {
    /* Primary Palette - Vibrant Education Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --success-dark: #059669;

    /* Phase Colors */
    --phase-school: #8b5cf6;
    --phase-engineering: #3b82f6;
    --phase-community: #ec4899;
    --phase-resources: #14b8a6;
    --phase-global: #f97316;

    /* Neutrals */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    --border-light: #e2e8f0;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-school: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-engineering: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-community: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-resources: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
    --gradient-global: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-cta: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-display: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1440px;
    --container-content: 1200px;
    --header-height: 80px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================
   TYPOGRAPHY - Magazine Style
   ========================================== */

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==========================================
   HEADER - Sticky Glass Morphism
   ========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.custom-logo,
.custom-logo-link img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-base);
}

.custom-logo-link:hover img {
    transform: scale(1.05);
}

.site-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ==========================================
   HERO SECTION - Immersive Magazine Style
   ========================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: white;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: white;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    background: white;
    top: 40%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(20px) rotate(-5deg); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-section h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: white;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 255, 255, 0.4);
    color: var(--primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.btn-gradient {
    background: var(--gradient-cta);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    color: white;
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   PHASE SECTIONS - Magazine Grid Layout
   ========================================== */

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    gap: var(--space-xl);
}

.section-header-left {
    flex: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-badge.school { color: var(--phase-school); background: rgba(139, 92, 246, 0.1); }
.section-badge.engineering { color: var(--phase-engineering); background: rgba(59, 130, 246, 0.1); }
.section-badge.community { color: var(--phase-community); background: rgba(236, 72, 153, 0.1); }
.section-badge.resources { color: var(--phase-resources); background: rgba(20, 184, 166, 0.1); }
.section-badge.global { color: var(--phase-global); background: rgba(249, 115, 22, 0.1); }

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.view-all-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

/* ==========================================
   PHASE 1: SCHOOL ZONE - Card Magazine Layout
   ========================================== */

.phase-school {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.school-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-school);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.school-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.school-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
}

.school-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.school-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.school-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--phase-school);
}

.school-card-link:hover {
    gap: var(--space-sm);
}

/* ==========================================
   PHASE 2: ENGINEERING HUB - Magazine Feature Grid
   ========================================== */

.phase-engineering {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-lg);
}

.engineering-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.engineering-card.featured {
    grid-column: span 8;
    grid-row: span 2;
}

.engineering-card.standard {
    grid-column: span 4;
}

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

.engineering-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.engineering-card.featured .engineering-card-image {
    height: 100%;
    min-height: 400px;
}

.engineering-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.engineering-card:hover .engineering-card-image img {
    transform: scale(1.05);
}

.engineering-card-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-engineering);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engineering-card-gradient-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.5;
}

.engineering-card-content {
    padding: var(--space-xl);
}

.engineering-card.featured .engineering-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: var(--space-2xl);
}

.engineering-card.featured .engineering-card-content h3,
.engineering-card.featured .engineering-card-content p {
    color: white;
}

.engineering-card-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--phase-engineering);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.engineering-card.featured .engineering-card-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.engineering-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.engineering-card.featured h3 {
    font-size: 1.75rem;
}

/* ==========================================
   PHASE 3: COMMUNITY - Social Cards
   ========================================== */

.phase-community {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.community-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.community-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: var(--gradient-community);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}

.community-card:hover::after {
    opacity: 1;
}

.community-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-community);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.community-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.community-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.community-stat {
    text-align: center;
}

.community-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--phase-community);
}

.community-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   PHASE 4: RESOURCES - Magazine Masonry
   ========================================== */

.phase-resources {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.resource-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.resource-card.highlight {
    grid-column: span 2;
    background: var(--gradient-resources);
    color: white;
    border: none;
}

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

.resource-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.resource-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-card.highlight .resource-icon {
    background: rgba(255, 255, 255, 0.2);
}

.resource-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.resource-card.highlight h3,
.resource-card.highlight p {
    color: white;
}

.resource-tag {
    font-size: 0.8rem;
    color: var(--phase-resources);
    font-weight: 600;
}

.resource-card.highlight .resource-tag {
    color: rgba(255, 255, 255, 0.8);
}

.resource-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.resource-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.resource-card.highlight .resource-list li {
    color: rgba(255, 255, 255, 0.9);
}

.resource-list li::before {
    content: '→';
    color: var(--phase-resources);
    font-weight: bold;
}

.resource-card.highlight .resource-list li::before {
    color: white;
}

/* ==========================================
   PHASE 5: GLOBAL EDUCATION - World Map Style
   ========================================== */

.phase-global {
    padding: var(--space-4xl) 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.phase-global::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.phase-global .section-title,
.phase-global .section-subtitle {
    color: white;
}

.phase-global .section-badge {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-light);
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.global-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.global-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.global-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-global);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.global-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.global-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.global-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.global-link:hover {
    color: white;
    gap: var(--space-sm);
}

/* ==========================================
   NEWSLETTER CTA - Magazine Style
   ========================================== */

.newsletter-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 var(--space-xl);
}

.newsletter-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    box-shadow: var(--shadow-lg);
}

.newsletter-form input:focus {
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: var(--space-md) var(--space-xl);
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   STATS SECTION - Animated Counters
   ========================================== */

.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-light);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================
   CATEGORIES SECTION - Modern Cards
   ========================================== */

.categories-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    transition: transform var(--transition-spring);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.category-card .cat-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* ==========================================
   LATEST POSTS - Magazine Grid
   ========================================== */

.latest-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.post-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

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

.post-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gradient-cta);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.post-body {
    padding: var(--space-xl);
}

.post-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.post-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.post-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.post-card h3 a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-cta);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.read-more:hover {
    gap: var(--space-sm);
    color: var(--primary-dark);
}

/* ==========================================
   FOOTER - Magazine Style
   ========================================== */

.site-footer {
    background: var(--gradient-dark);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-section a:hover {
    color: white;
    padding-left: var(--space-sm);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* ==========================================
   SINGLE POST STYLES
   ========================================== */

.single-post-page {
    padding-top: var(--header-height);
}

.post-layout {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.post-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-3xl);
    align-items: start;
}

.post-content-area {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.entry-header {
    padding: var(--space-2xl);
    border-bottom: 1px solid var(--border-light);
}

.entry-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.entry-meta {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.entry-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.entry-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-content {
    padding: var(--space-2xl);
    font-size: 1.1rem;
    line-height: 1.9;
}

.entry-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.entry-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.entry-content p {
    margin-bottom: var(--space-lg);
}

.entry-content ul, .entry-content ol {
    margin: var(--space-lg) 0 var(--space-lg) var(--space-xl);
}

.entry-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-secondary);
}

/* Sidebar */
.post-sidebar,
.archive-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    color: var(--text-primary);
}

.category-list,
.recent-posts-list {
    list-style: none;
}

.category-list li,
.recent-posts-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

.category-list li:last-child,
.recent-posts-list li:last-child {
    border-bottom: none;
}

.category-list a,
.recent-posts-list a {
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.category-list a:hover,
.recent-posts-list a:hover {
    color: var(--primary);
    padding-left: var(--space-sm);
}

.category-list span {
    background: var(--bg-subtle);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-cta);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   ARCHIVE/CATEGORY PAGES
   ========================================== */

.archive-layout {
    padding-top: var(--header-height);
}

.archive-header {
    background: var(--gradient-cta);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    color: white;
}

.archive-title {
    color: white;
    margin-bottom: var(--space-md);
}

.archive-description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.post-count {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.archive-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-3xl);
    align-items: start;
}

.posts-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Pagination */
.pagination-wrapper {
    margin-top: var(--space-3xl);
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.pagination a,
.pagination span {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.pagination a {
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.pagination .page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==========================================
   PAGE TEMPLATE
   ========================================== */

.page-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-3xl);
    align-items: start;
}

.page-content-area {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
}

.page-article .entry-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary);
}

.page-article .entry-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.page-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .school-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .engineering-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .engineering-card.featured {
        grid-column: span 6;
    }

    .engineering-card.standard {
        grid-column: span 3;
    }

    .global-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .post-wrapper,
    .archive-wrapper,
    .page-wrapper {
        grid-template-columns: 1fr;
    }

    .post-sidebar,
    .archive-sidebar,
    .page-sidebar {
        position: static;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card.highlight {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
    }

    .header-content {
        padding: var(--space-md);
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .school-grid,
    .global-grid {
        grid-template-columns: 1fr;
    }

    .engineering-grid {
        grid-template-columns: 1fr;
    }

    .engineering-card.featured,
    .engineering-card.standard {
        grid-column: span 1;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .posts-grid,
    .posts-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .site-header,
    .site-footer,
    .post-sidebar,
    .archive-sidebar,
    .newsletter-section,
    .cta-buttons {
        display: none !important;
    }

    .post-wrapper,
    .archive-wrapper,
    .page-wrapper {
        grid-template-columns: 1fr !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ==========================================
   LOADING ANIMATIONS
   ========================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--bg-light) 50%, var(--bg-subtle) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   WORDPRESS SPECIFIC
   ========================================== */

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    padding: var(--space-sm);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--radius-md);
}

/* Comments */
.comments-area {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 700;
    color: var(--text-primary);
}

.comment-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.comment-content {
    color: var(--text-secondary);
}

.comment-respond {
    margin-top: var(--space-xl);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form .submit {
    background: var(--gradient-cta);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
