/**
 * AISG Theme Main Styles
 * Design System: Inter font, Orange-Red gradient, Slate backgrounds
 */

/* CSS Custom Properties */
:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #ef4444;
    --accent: #22d3ee;
    --bg-dark: #0f172a;
    --bg-panel: #1e293b;
    --bg-card: #334155;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #f97316, #ef4444);
    --gradient-glow: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    font-size: 32px;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.nav-menu li a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--primary);
}

.btn-demo {
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 18px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(249, 115, 22, 0.6);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(249, 115, 22, 0.5);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--primary);
}

.btn-arrow {
    font-size: 20px;
    transition: var(--transition);
}

.btn-primary:hover .btn-arrow,
.btn-outline:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Elementor Content Section */
.elementor-content {
    position: relative;
    z-index: 10;
    padding: 40px 0;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Features/Modules Section */
.features-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.module-card {
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

.module-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow);
}

.module-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.module-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.module-tag {
    padding: 6px 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.module-link:hover {
    gap: 12px;
}

.link-arrow {
    transition: var(--transition);
}

/* Console Demo Section */
.console-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.console-demo {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.console-dots {
    display: flex;
    gap: 6px;
}

.console-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4d4d4d;
}

.console-dots span:nth-child(1) {
    background: #ff5f56;
}

.console-dots span:nth-child(2) {
    background: #ffbd2e;
}

.console-dots span:nth-child(3) {
    background: #27c93f;
}

.console-title {
    color: #888;
    font-size: 14px;
}

.console-body {
    padding: 24px;
    min-height: 400px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #0f0;
    overflow-y: auto;
}

.console-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.console-prompt {
    color: var(--primary);
    font-weight: bold;
}

.console-command {
    color: #22d3ee;
}

.console-output {
    color: #94a3b8;
}

.console-success {
    color: #10b981;
}

.console-error {
    color: #ef4444;
}

/* Timeline Section */
.timeline-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    box-shadow: var(--shadow-glow);
    z-index: 10;
}

.timeline-content {
    flex: 1;
    background: var(--bg-panel);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

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

/* FAQ Section */
.faq-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

/* ═══════════════════════════════════════
   Hero Demo Button (white bg, orange text)
   ═══════════════════════════════════════ */
.btn-hero-demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #ffffff;
    color: var(--primary) !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    -webkit-text-fill-color: var(--primary) !important;
}

.btn-hero-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    background: #fff7ed;
}

.btn-hero-demo .btn-arrow {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

/* ═══════════════════════════════════════
   Benefits Section
   ═══════════════════════════════════════ */
.benefits-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

/* Sol-Sağ satır */
.benefit-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.benefit-row-reverse {
    flex-direction: row-reverse;
}

.benefit-visual,
.benefit-content {
    flex: 1;
    min-width: 0;
}

/* Placeholder / Gerçek Görsel */
.benefit-placeholder,
.benefit-media-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 3/2;
}

.benefit-placeholder img,
.benefit-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--bg-panel), var(--bg-card));
}

.placeholder-icon {
    font-size: 48px;
}

.placeholder-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.placeholder-size {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.5);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.media-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

/* Benefit İçerik */
.benefit-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.benefit-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.benefit-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefit-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Orta / full-width satır */
.benefit-row-center {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-content-center {
    max-width: 700px;
    margin: 0 auto 40px;
}

.benefit-content-center h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.benefit-content-center p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.benefit-visual-center {
    margin-bottom: 40px;
}

.benefit-placeholder-wide {
    aspect-ratio: 11/5;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-md);
}

.benefit-stat-number {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ═══════════════════════════════════════
   BEFORE / AFTER Section
   ═══════════════════════════════════════ */
.before-after-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.ba-hint-text {
    font-size: 15px !important;
    color: var(--text-secondary) !important;
    opacity: 0.7;
    font-style: italic;
}

.ba-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ba-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 11/6;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ba-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.ba-before {
    z-index: 1;
}

.ba-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: circle(0px at 50% 50%);
    transition: clip-path 0.05s ease-out;
    pointer-events: none;
}

.ba-reveal .ba-image,
.ba-reveal .ba-fallback {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

.ba-label-before {
    left: 16px;
    background: rgba(239, 68, 68, 0.85);
    color: white;
}

.ba-label-after {
    right: 16px;
    background: rgba(16, 185, 129, 0.85);
    color: white;
}

/* Fallback for before/after images */
.ba-fallback {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.ba-fallback-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 600;
}

.ba-fallback-inner small {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.5);
}

.ba-fallback-before {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ef4444;
}

.ba-fallback-after {
    background: linear-gradient(135deg, #0f2a1a, #1a3a2a);
    color: #10b981;
}

/* Overlay toggle button */
.ba-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(249, 115, 22, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
}

.ba-overlay-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 32px rgba(249, 115, 22, 0.6);
}

.ba-overlay-btn.ba-btn-active {
    background: rgba(16, 185, 129, 0.9);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
}

.ba-overlay-btn.ba-btn-active:hover {
    box-shadow: 0 6px 32px rgba(16, 185, 129, 0.6);
}

.ba-overlay-icon {
    font-size: 18px;
}

@media (max-width: 768px) {
    .benefit-row,
    .benefit-row-reverse {
        flex-direction: column !important;
        gap: 30px;
    }
    .benefit-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .benefit-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-large {
    font-size: 20px;
    padding: 20px 40px;
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-large:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li,
.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: rgba(148, 163, 184, 0.92);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.footer-social-link svg {
    width: 14px;
    height: 14px;
}

.footer-social-link:hover {
    color: var(--primary);
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.08);
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom p {
    margin: 4px 0;
}

/* Module Single Pages */
.module-hero {
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.module-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.1;
}

.module-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.module-hero-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.module-hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    margin-bottom: 16px;
}

.module-hero-excerpt {
    font-size: 20px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.module-hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.module-hero-tags .tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.module-content {
    padding: 80px 0;
}

.module-article {
    max-width: 800px;
    margin: 0 auto;
}

.module-thumbnail {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.module-body {
    line-height: 1.8;
    font-size: 18px;
}

.module-body h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.module-body h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.module-body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.module-body ul,
.module-body ol {
    margin: 20px 0 20px 24px;
    color: var(--text-secondary);
}

.module-body li {
    margin-bottom: 12px;
}

/* Page & Single Content */
.page-content,
.single-content {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.page-article,
.single-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-thumbnail,
.single-thumbnail {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-header,
.single-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title,
.single-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.meta-separator {
    opacity: 0.5;
}

.page-body,
.single-body {
    line-height: 1.8;
    font-size: 18px;
}

.page-body h2,
.single-body h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.page-body h3,
.single-body h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.page-body p,
.single-body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-body ul,
.page-body ol,
.single-body ul,
.single-body ol {
    margin: 20px 0 20px 24px;
    color: var(--text-secondary);
}

.page-body li,
.single-body li {
    margin-bottom: 12px;
}

.page-body a,
.single-body a {
    color: var(--primary);
    text-decoration: underline;
}

.page-body a:hover,
.single-body a:hover {
    color: var(--primary-dark);
}

/* Error 404 */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
}

.error-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.error-text {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog Page */
.blog-page {
    padding: 140px 0 100px;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.blog-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-md);
}

.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
}

.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

/* Marquee Section */
.marquee-section {
    background: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 40px 0;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: var(--transition);
}

.marquee-item:hover {
    color: var(--primary);
    opacity: 1;
}

.marquee-item span {
    font-size: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Enhanced */
.timeline {
    position: relative;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 0;
    animation: slide-in 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.icon-number {
    font-size: 40px;
    font-weight: 900;
    color: white;
}

.timeline-content {
    flex: 1;
    background: rgba(30, 41, 59, 0.5);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(249, 115, 22, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    transform: translateX(-50%);
}

/* CTA Section Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.cookie-consent-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: min(360px, calc(100vw - 32px));
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(249, 115, 22, 0.28);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.32);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1200;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.cookie-consent-banner.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.cookie-consent-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fdba74;
}

.cookie-consent-banner h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
}

.cookie-consent-banner a {
    color: #fdba74;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-cookie-secondary,
.btn-cookie-primary {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
}

.btn-cookie-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.btn-cookie-primary {
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.18);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 12px;
        right: auto;
        bottom: 12px;
        width: min(320px, calc(100vw - 24px));
        padding: 14px 14px 12px;
        border-radius: 16px;
        z-index: 1200;
    }

    .cookie-consent-actions {
        gap: 8px;
    }

    .btn-cookie-secondary,
    .btn-cookie-primary {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cookie-consent-banner {
        left: 12px;
        right: auto;
        bottom: 12px;
        width: min(320px, calc(100vw - 24px));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-container {
        padding: 40px 24px;
    }
}

/* Print Styles */
@media print {
    #particles-canvas,
    .navbar,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }
}
