/* ═══════════════════════════════════════════════════════════
   PUMYXO - Modern Light Theme Design System
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Light Theme Colors */
    --clr-white: #ffffff;
    --clr-bg-primary: #fafbfc;
    --clr-bg-secondary: #f4f6f9;
    --clr-bg-card: #ffffff;
    --clr-bg-hover: #f8f9fb;
    
    --clr-text-primary: #1a1d29;
    --clr-text-secondary: #4a5568;
    --clr-text-muted: #718096;
    --clr-text-light: #a0aec0;
    
    --clr-border: #e2e8f0;
    --clr-border-light: #edf2f7;
    
    /* Brand Colors - Fresh & Vibrant */
    --clr-primary: #6366f1;
    --clr-primary-dark: #4f46e5;
    --clr-primary-light: #818cf8;
    
    --clr-accent: #ec4899;
    --clr-accent-dark: #db2777;
    --clr-accent-light: #f472b6;
    
    --clr-success: #10b981;
    --clr-warning: #f59e0b;
    --clr-info: #3b82f6;
    --clr-danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 8px 24px rgba(99, 102, 241, 0.15);
    
    /* Spacing */
    --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;
    
    /* Typography */
    --font-primary: 'Lora', Georgia, 'Times New Roman', serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    --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;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max: 1200px;
    --content-max: 800px;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--clr-text-secondary);
    background: var(--clr-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

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

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-3); }

p { margin-bottom: var(--space-4); }
strong { color: var(--clr-text-primary); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--clr-primary);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.badge-outline {
    background: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
}

.section-padding {
    padding: var(--space-20) 0;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.btn-secondary {
    background: white;
    color: var(--clr-primary);
    border: 2px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-md);
}

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

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border-light);
    transition: all var(--transition);
}

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

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

.logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-xl);
    transition: transform var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--clr-text-secondary);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link:hover {
    color: var(--clr-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    margin-left: auto;
    order: 999;
}

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

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   HERO SECTION - Completely New Design
   ═══════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 50%, #fef3f2 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: blobFloat 25s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent);
    bottom: 10%;
    left: -5%;
    animation-delay: 8s;
}

.hero-blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    top: 40%;
    left: 30%;
    animation-delay: 15s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    padding-right: var(--space-8);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.hero-tag svg {
    color: var(--clr-accent);
}

.hero-heading {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--clr-text-dark);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--clr-text-medium);
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.hero-topics {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    transition: var(--transition-ease);
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.topic-icon {
    font-size: 1.25rem;
}

.topic-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text-dark);
}

.hero-right {
    position: relative;
    height: 600px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.guide-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    gap: var(--space-4);
}

.guide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.guide-card-1 {
    width: 340px;
    top: 0;
    left: 0;
    z-index: 3;
    animation: guideFloat1 6s ease-in-out infinite;
}

.guide-card-2 {
    width: 320px;
    top: 180px;
    right: 0;
    z-index: 2;
    animation: guideFloat2 7s ease-in-out infinite;
}

.guide-card-3 {
    width: 300px;
    bottom: 0;
    left: 40px;
    z-index: 1;
    animation: guideFloat3 8s ease-in-out infinite;
}

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

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

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

.guide-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.guide-content {
    flex: 1;
}

.guide-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-text-dark);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.guide-desc {
    font-size: 0.875rem;
    color: var(--clr-text-medium);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.guide-tags {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.guide-tag {
    padding: var(--space-1) var(--space-3);
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--clr-primary);
    font-weight: 500;
}

.floating-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--clr-primary);
    animation: iconFloat 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 100px;
    left: -40px;
    animation-delay: 0s;
}

.floating-icon-2 {
    bottom: 100px;
    right: -30px;
    animation-delay: 3s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */

.features {
    padding: var(--space-20) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04), transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--clr-bg-secondary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--clr-text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.feature-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition);
    position: relative;
}



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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-5);
    transition: transform var(--transition);
}

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

.feature-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */

.how-it-works {
    padding: var(--space-20) 0;
    background: var(--clr-bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-10);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: white;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-colored);
    transition: all var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.step-description {
    color: var(--clr-text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   PROMO CARDS
   ═══════════════════════════════════════════════════════════ */

.promo-section {
    padding: var(--space-20) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.promo-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05), transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-8);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.promo-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}

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

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

.promo-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--clr-bg-secondary);
}

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

.promo-tag {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: white;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.promo-body {
    padding: var(--space-6);
}

.promo-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.promo-description {
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-5);
}

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--clr-primary);
}

.promo-link:hover {
    gap: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */

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

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--text-4xl);
    color: white;
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--clr-primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--clr-primary);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.footer {
    background: var(--clr-text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    max-width: var(--container-max);
    margin: 0 auto var(--space-12);
    padding: 0 var(--space-6);
}

.footer-column h4 {
    color: white;
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.footer-link:hover {
    color: white;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

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

.social-link:hover {
    background: white;
    color: var(--clr-primary);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-6);
        border-bottom: 1px solid var(--clr-border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-slow);
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .btn-primary {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .hero-left {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-tag {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-topics {
        justify-content: center;
    }
    
    .hero-right {
        height: auto;
        min-height: 600px;
        margin-top: var(--space-8);
    }
    
    .hero-visual {
        height: auto;
        min-height: 600px;
        position: relative;
    }
    
    .guide-card {
        position: relative;
        width: 100%;
        max-width: 100%;
    margin-bottom: var(--space-4);
        animation: none;
    }
    
    .guide-card-1 {
        top: 0;
        left: 0;
        right: 0;
    }
    
    .guide-card-2 {
        top: auto;
        right: auto;
        left: 0;
    }
    
    .guide-card-3 {
        bottom: auto;
        left: 0;
    }
    
    .floating-icon {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-grid,
    .steps,
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        gap: var(--space-6);
    }
    
    .hero-right {
        min-height: 550px;
    }
    
    .guide-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container,
    .header-container {
        padding: 0 var(--space-4);
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
        margin-top: 70px;
    }
    
    .hero-blob {
        display: none;
    }
    
    .hero-wrapper {
        gap: var(--space-6);
    }
    
    .hero-left {
        padding-right: 0;
    }
    
    .hero-heading {
        font-size: 2rem;
        margin-bottom: var(--space-4);
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: var(--space-6);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-topics {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .topic-item {
        width: 100%;
        justify-content: center;
    }
    
    .hero-right {
        min-height: auto;
        margin-top: var(--space-6);
    }
    
    .hero-visual {
        min-height: auto;
    }
    
    .guide-card {
        padding: var(--space-4);
        margin-bottom: var(--space-3);
    }
    
    .guide-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .guide-title {
        font-size: 1rem;
    }
    
    .guide-desc {
        font-size: 0.8125rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Decorative floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.features .floating-shape-1,
.promo-section .floating-shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.12));
    top: 10%;
    right: 5%;
    animation: float 25s ease-in-out infinite;
    filter: blur(40px);
}

.features .floating-shape-2,
.promo-section .floating-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(99, 102, 241, 0.1));
    bottom: 15%;
    left: -5%;
    animation: float 30s ease-in-out infinite reverse;
    animation-delay: 5s;
    filter: blur(50px);
}

.features .floating-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
    top: 50%;
    right: 10%;
    animation: float 20s ease-in-out infinite;
    animation-delay: 10s;
    filter: blur(35px);
}

/* Ensure content is above floating shapes */
.section-header,
.features-grid,
.promo-grid {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL DOCUMENTS STYLING
   ═══════════════════════════════════════════════════════════ */

/* Hero section for legal pages */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(99, 102, 241, 0.1);
    color: var(--clr-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Article content styling */
article {
    background: var(--clr-bg-card);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

article h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--clr-text-primary);
    margin-top: var(--space-10);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--clr-border);
}

article h2:first-of-type {
    margin-top: 0;
}

article h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
}

article p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-5);
}

article ul,
article ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-5);
}

article ul li,
article ol li {
    margin-bottom: var(--space-3);
    line-height: 1.7;
    color: var(--clr-text-secondary);
}

article ol {
    counter-reset: item;
}

article ol li {
    counter-increment: item;
    position: relative;
    padding-left: var(--space-8);
}

article ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: 700;
}

article strong {
    color: var(--clr-text-primary);
    font-weight: 600;
}

article a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

article a:hover {
    color: var(--clr-primary-dark);
    text-decoration-thickness: 2px;
}

/* Feature cards in legal docs */
article .feature-card {
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

article .feature-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-bottom: var(--space-4);
}

article .feature-card ul {
    margin-bottom: 0;
}

article .feature-card ul li {
    margin-bottom: var(--space-2);
}

/* Responsive for legal docs */
@media (max-width: 768px) {
    article {
        padding: var(--space-6);
    }
    
    article h2 {
        font-size: var(--text-2xl);
        margin-top: var(--space-8);
    }
    
    article h3 {
        font-size: var(--text-lg);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
}
