/* ============================================
   Induction.Training - Main Stylesheet
   Alderstrom Limited
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-light: #1a2942;
    --blue-accent: #2563eb;
    --blue-bright: #3b82f6;
    --blue-pale: #dbeafe;
    --teal: #0d9488;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gradient-corporate: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0d4a6b 100%);
    --shadow-soft: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-medium: 0 8px 40px rgba(10, 22, 40, 0.12);
    --shadow-card: 0 1px 3px rgba(10, 22, 40, 0.06), 0 8px 24px rgba(10, 22, 40, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--gray-800); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Instrument Serif', serif; font-weight: 400; line-height: 1.2; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 4%; display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(10, 22, 40, 0.06); transition: all 0.3s ease; }
.nav-scrolled { padding: 0.875rem 4%; box-shadow: var(--shadow-soft); }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: var(--gradient-corporate); border-radius: 10px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.logo-icon::before { content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.9); border-radius: 4px; transform: rotate(45deg); }
.logo-icon::after { content: ''; position: absolute; width: 8px; height: 8px; background: var(--teal); border-radius: 50%; }
.logo-text { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: -0.02em; }
.logo-text span { color: var(--blue-accent); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: 0.9375rem; font-weight: 500; transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--navy); }
.nav-links a:not(.btn)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-accent); transition: width 0.3s ease; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--navy); transition: all 0.3s ease; }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); padding: 1.5rem; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-medium); z-index: 999; }
.mobile-menu.active { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--gray-800); font-size: 1rem; font-weight: 500; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; }
.btn-primary { background: var(--blue-accent); color: var(--white); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--blue-accent); color: var(--blue-accent); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); color: var(--white); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 4% 4rem; background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 150%; background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero-content { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--blue-pale); color: var(--blue-accent); border-radius: 100px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.2); } }
.hero h1 { font-size: clamp(2.75rem, 5vw, 4rem); color: var(--navy); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--blue-accent); }
.hero-description { font-size: 1.25rem; color: var(--gray-600); margin-bottom: 2.5rem; max-width: 520px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.stat { text-align: left; }
.stat-number { font-family: 'Instrument Serif', serif; font-size: 2.25rem; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.25rem; }

/* Hero Visual */
.hero-visual { position: relative; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero-mockup { position: relative; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-medium); padding: 1.5rem; border: 1px solid var(--gray-100); }
.mockup-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-100); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); }
.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }
.mockup-content { display: grid; gap: 1rem; }
.mockup-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--gray-50); border-radius: 10px; border: 1px solid var(--gray-100); transition: all 0.3s ease; }
.mockup-card:hover { transform: translateX(4px); border-color: var(--blue-accent); }
.mockup-icon { width: 48px; height: 48px; background: var(--gradient-corporate); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup-icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 2; }
.mockup-text h4 { font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.mockup-text p { font-size: 0.8125rem; color: var(--gray-600); }
.mockup-progress { height: 6px; background: var(--gray-200); border-radius: 100px; margin-top: 0.5rem; overflow: hidden; }
.mockup-progress-bar { height: 100%; background: linear-gradient(90deg, var(--blue-accent), var(--teal)); border-radius: 100px; }
.mockup-progress-bar.animated { animation: progressAnim 2s ease-out infinite; }
@keyframes progressAnim { 0% { width: 0%; } 100% { width: 85%; } }
.floating-card { position: absolute; background: var(--white); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-card); border: 1px solid var(--gray-100); animation: float 4s ease-in-out infinite; }
.floating-card-1 { top: -20px; right: -30px; }
.floating-card-2 { bottom: 40px; left: -40px; animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.floating-check svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2.5; }

/* Section Headers */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-label { display: inline-block; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-accent); margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--navy); margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--gray-600); }

/* Transformation */
.transformation { padding: 7rem 4%; background: var(--white); }
.transformation-visual { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.transform-side { padding: 2.5rem; border-radius: 16px; }
.transform-before { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border: 2px dashed #fca5a5; }
.transform-after { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border: 2px solid #6ee7b7; }
.transform-side h3 { font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.transform-before h3 { color: #dc2626; }
.transform-after h3 { color: #059669; }
.transform-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.transform-before .transform-icon { background: rgba(220, 38, 38, 0.1); }
.transform-after .transform-icon { background: rgba(5, 150, 105, 0.1); }
.transform-icon svg { width: 22px; height: 22px; stroke-width: 2; fill: none; }
.transform-before .transform-icon svg { stroke: #dc2626; }
.transform-after .transform-icon svg { stroke: #059669; }
.transform-list { list-style: none; display: grid; gap: 0.875rem; }
.transform-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: var(--gray-800); }
.transform-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke-width: 2.5; fill: none; }
.transform-before .transform-list li svg { stroke: #dc2626; }
.transform-after .transform-list li svg { stroke: #059669; }
.transform-arrow { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.arrow-circle { width: 64px; height: 64px; background: var(--gradient-corporate); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2); }
.arrow-circle svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.arrow-text { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }

/* Benefits */
.benefits { padding: 7rem 4%; background: var(--gray-50); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.benefit-card { background: var(--white); padding: 2.5rem; border-radius: 16px; border: 1px solid var(--gray-100); transition: all 0.4s ease; position: relative; overflow: hidden; }
.benefit-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-corporate); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon { width: 56px; height: 56px; background: var(--blue-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.benefit-card:hover .benefit-icon { background: var(--gradient-corporate); }
.benefit-icon svg { width: 28px; height: 28px; stroke: var(--blue-accent); fill: none; stroke-width: 1.75; transition: stroke 0.3s ease; }
.benefit-card:hover .benefit-icon svg { stroke: var(--white); }
.benefit-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.benefit-card p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }

/* How It Works */
.how-it-works { padding: 7rem 4%; background: var(--gradient-corporate); position: relative; overflow: hidden; }
.how-it-works::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 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"); opacity: 0.5; }
.how-it-works .section-header { position: relative; z-index: 1; }
.how-it-works .section-label { color: var(--teal); }
.how-it-works h2 { color: var(--white); }
.how-it-works .section-header p { color: rgba(255, 255, 255, 0.7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.step { text-align: center; position: relative; }
.step::after { content: ''; position: absolute; top: 40px; right: -1rem; width: calc(100% - 80px); height: 2px; background: rgba(255, 255, 255, 0.2); }
.step:last-child::after { display: none; }
.step-number { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: 'Instrument Serif', serif; font-size: 2rem; color: var(--white); transition: all 0.3s ease; }
.step:hover .step-number { background: var(--teal); border-color: var(--teal); transform: scale(1.1); }
.step h3 { font-family: 'DM Sans', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

/* CTA */
.cta { padding: 7rem 4%; background: var(--white); }
.cta-container { max-width: 900px; margin: 0 auto; text-align: center; background: var(--gray-50); border-radius: 24px; padding: 4rem; border: 1px solid var(--gray-100); position: relative; overflow: hidden; }
.cta-container::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%); pointer-events: none; }
.cta-container::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%); pointer-events: none; }
.cta h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta p { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; }

/* Footer */
.footer { background: var(--navy); padding: 4rem 4% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-brand .logo-text { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.9375rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .floating-card-1 { right: 0; }
    .floating-card-2 { left: 0; }
    .transformation-visual { grid-template-columns: 1fr; gap: 1.5rem; }
    .transform-arrow { flex-direction: row; padding: 1rem 0; }
    .arrow-circle svg { transform: rotate(90deg); }
    .benefits-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
    .hero-ctas { flex-direction: column; }
    .steps { grid-template-columns: 1fr; }
    .cta-container { padding: 2.5rem 1.5rem; }
    .cta-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
