/* ═══════════════════════════════════════════
   WebProSuisse — Design System & Styles
   Premium dark theme with accent colors
   Fonts loaded via <link> in HTML head (non-blocking)
   ═══════════════════════════════════════════ */

/* --- Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a26;
    --bg-card-hover: #22222f;
    --bg-elevated: #252533;
    
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #8a8aa6;
    --text-inverse: #0a0a0f;
    
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --accent-glow: rgba(99,102,241,0.15);
    --accent-glow-strong: rgba(99,102,241,0.3);
    
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-accent: rgba(99,102,241,0.3);
    
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
    --shadow-accent: 0 4px 32px rgba(99,102,241,0.2);
    
    --font-body: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;
    --font-mono: 'Orbitron', 'Orbitron Fallback', monospace;
    
    --header-height: 72px;
    --container-max: 1280px;
    --container-narrow: 800px;
    
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -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-primary);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
    background: rgba(10,10,15,0.95);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.logo strong { font-weight: 700; }
.logo:hover { color: var(--text-primary); }
.logo svg { flex-shrink: 0; }

/* Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
.nav-item a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    position: relative;
}
.nav-item a:hover,
.nav-item.active > a {
    color: var(--text-primary);
    background: var(--accent-glow);
}
.nav-item.active > a { color: var(--accent-light); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s var(--ease-out);
    list-style: none;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}
.dropdown li a:hover {
    background: var(--accent-glow);
    color: var(--text-primary);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.header-phone:hover {
    color: var(--accent-light);
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn-accent {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 32px rgba(79,70,229,0.25);
}
.btn-accent:hover {
    background: #4338ca;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(67,56,202,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent-light);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* --- Sections --- */
section {
    padding: 100px 0;
    position: relative;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 580px;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.stat {
    text-align: center;
}
.stat-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--accent-glow);
    color: var(--accent-light);
    margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* --- Pricing --- */
.pricing-toggle-wrapper { display: none; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}
.pricing-card.featured::before {
    content: 'Recommandé';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(99,102,241,0.25);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}
.pricing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-glow);
    color: var(--accent-light);
    margin-bottom: 16px;
}
.pricing-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-price {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 2px;
}
.pricing-price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.pricing-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    line-height: 1.4;
}
.pricing-features li:last-child { border: none; }
.check-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    position: relative;
}
.check-icon::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--success);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- Utilities & New Sections --- */
.text-accent { color: var(--accent-light); }
.text-success { color: var(--success); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.promise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.promise-card .card-icon { margin: 0 auto 20px; }

.problem-list {
    list-style: none;
}
.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.problem-item svg { color: var(--danger); flex-shrink: 0; margin-top: 5px; }

.badge-outline {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .pricing-toggle-wrapper { flex-direction: column; gap: 10px; }
}

/* --- Process / Timeline --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-glow-strong), var(--accent), var(--accent-glow-strong));
}
.process-step {
    text-align: center;
    position: relative;
}
.process-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}
.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-light); }
.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    color: var(--text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); color: var(--accent-light); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border: none; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-glow);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--success);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    display: none;
}

/* --- CTA Banner --- */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 24px;
}
.cta-section::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.05'%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");
}
.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-section .btn {
    position: relative;
    background: #fff;
    color: var(--accent-dark);
}
.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: calc(var(--header-height) + 24px) 0 0;
    font-size: 0.85rem;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: '/'; color: var(--text-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--text-secondary); }

/* --- Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}
.portfolio-img {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    overflow: hidden;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 24px; }
.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.portfolio-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--accent-glow);
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.portfolio-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.portfolio-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-accent);
}
.blog-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    overflow: hidden;
}
.blog-body { padding: 24px; }
.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 16px;
}
.blog-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.35;
}
.blog-body h3 a { color: inherit; }
.blog-body h3 a:hover { color: var(--accent-light); }
.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Page hero (interior pages) --- */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.page-hero .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent-light); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.pt-0 { padding-top: 0; }
.gap-16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* --- Trust Logos Bar --- */
.trust-logos {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.trust-logos-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 24px;
}
.trust-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s;
    white-space: nowrap;
}
.trust-logo:hover {
    opacity: 0.85;
    filter: grayscale(0);
    color: var(--text-secondary);
}
.trust-logo svg {
    flex-shrink: 0;
}

/* --- Enhanced Card Glow (high-tech hover) --- */
.card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(99,102,241,0.2), 0 0 80px rgba(99,102,241,0.06);
}
.pricing-card.featured:hover {
    box-shadow: 0 12px 48px rgba(99,102,241,0.35), 0 0 100px rgba(99,102,241,0.1);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
    margin-top: 100px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.footer-logo:hover { color: var(--text-primary); }
.footer-logo strong { font-weight: 700; }
.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.2s;
}
.footer-social a:hover {
    color: var(--accent-light);
    border-color: var(--accent);
    background: var(--accent-glow);
}
.footer-col h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent-light); }
.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.footer-address a { color: var(--text-secondary); }
.footer-address a:hover { color: var(--accent-light); }
.footer-bottom {
    padding: 24px 0;
}
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-legal p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.footer-legal-links {
    display: flex;
    gap: 24px;
}
.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.footer-legal-links a:hover { color: var(--accent-light); }

/* ═══════════════════ BLOG ARTICLE ═══════════════════ */
.article-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(99,102,241,0.08) 0%, transparent 40%),
                linear-gradient(180deg, rgba(99,102,241,0.03) 0%, transparent 100%);
    text-align: center;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.article-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.grid-article {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 80px;
    align-items: start;
}

.article-content {
    max-width: 100%;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 800px; /* Improved readability: optimal line length */
}
.article-body h2 {
    font-size: 2.2rem;
    margin: 80px 0 32px;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}
.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.article-body h3 {
    font-size: 1.6rem;
    margin: 56px 0 24px;
    color: var(--text-primary);
    line-height: 1.3;
}
.article-body p {
    margin-bottom: 32px;
}
.article-body ul, .article-body ol {
    margin: 0 0 40px 24px;
    list-style: none;
}
.article-body li { 
    margin-bottom: 16px; 
    position: relative;
    padding-left: 28px;
}
.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 12px;
    height: 2px;
    background: var(--accent-light);
}
.article-body strong { 
    color: var(--text-primary); 
    font-weight: 600;
}

/* Quote/Highlight style within body */
.article-body blockquote {
    padding: 32px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    margin: 48px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Sidebar Refinements */
.article-sidebar {
    padding-top: 20px;
}
.sidebar-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.sticky-top {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}
.sidebar-block h3 {
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-weight: 700;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.related-card {
    display: block;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out);
}
.related-card:last-child { border: none; padding: 0; }
.related-card:hover { transform: translateX(8px); }
.related-card:hover h4 { color: var(--accent-light); }

.related-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-light);
    font-weight: 700;
}
.related-card h4 {
    font-size: 1.05rem;
    margin: 8px 0 12px;
    line-height: 1.4;
    color: var(--text-primary);
    transition: color 0.2s;
}
.related-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ in Article */
.article-faq {
    margin-top: 100px;
    padding: 80px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-accent);
}
.article-faq .section-title { 
    margin-bottom: 40px; 
    text-align: left;
}

@media (max-width: 1200px) {
    .grid-article { gap: 40px; }
    .sidebar-block { padding: 30px; }
}

@media (max-width: 1024px) {
    .grid-article { grid-template-columns: 1fr; gap: 60px; }
    .article-sidebar { order: 2; max-width: 600px; margin: 0 auto; width: 100%; }
    .article-content { order: 1; }
    .article-body { max-width: 100%; }
}

@media (max-width: 768px) {
    .article-faq { padding: 40px 24px; }
    .article-hero { padding: 120px 0 60px; }
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pricing-card { padding: 32px 24px; }
    .pricing-name { font-size: 1.15rem; }
    .pricing-price { font-size: 2.2rem; }
    .pricing-features li { font-size: 0.9rem; }
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }
    .main-nav.open { opacity: 1; visibility: visible; }
    .nav-list {
        flex-direction: column;
        gap: 8px;
    }
    .nav-item a {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 24px;
    }
    .burger { display: flex; }
    .header-actions .btn { display: none; }
    
    section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-legal { flex-direction: column; text-align: center; }
    .footer-legal-links { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .cta-section { margin: 0; padding: 60px 30px; border-radius: var(--radius-lg); }
    
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-desc { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 1.5rem; }
}
