/* ===========================
   TEMPER DIGITAL — Styles
   =========================== */

/* --- CSS Variables --- */
:root {
    --primary: #0d7377;
    --primary-dark: #095456;
    --primary-light: #0fa3a8;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --dark: #0f1b2d;
    --dark-secondary: #1a2e4a;
    --text: #2d3748;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #faf9f7;
    --bg-card: #ffffff;
    --bg-dark: #0f1b2d;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

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

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--primary);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 640px;
    margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full { width: 100%; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.logo-text {
    color: var(--dark);
}

.logo-accent {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--accent) !important;
    color: var(--dark) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

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

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 40%, rgba(13, 115, 119, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 115, 119, 0.08);
    border: 1px solid rgba(13, 115, 119, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-sub strong {
    color: var(--primary);
    font-weight: 700;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    gap: 32px;
    align-items: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-display);
    line-height: 1;
}

.proof-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-display);
}

.proof-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
    max-width: 130px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual - Business OS Diagram */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.os-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.os-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(13, 115, 119, 0.35);
    z-index: 2;
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(13, 115, 119, 0.35); }
    50% { box-shadow: 0 8px 48px rgba(13, 115, 119, 0.55); }
}

.os-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border: 1px dashed rgba(13, 115, 119, 0.2);
    border-radius: 50%;
    animation: orbitSpin 40s linear infinite;
}

.os-node {
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border: 2px solid rgba(13, 115, 119, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
    animation: orbitCounterSpin 40s linear infinite;
}

.os-node:nth-child(1) { top: -32px; left: calc(50% - 32px); }
.os-node:nth-child(2) { top: 20%; right: -32px; }
.os-node:nth-child(3) { bottom: 20%; right: -32px; }
.os-node:nth-child(4) { bottom: -32px; left: calc(50% - 32px); }
.os-node:nth-child(5) { bottom: 20%; left: -32px; }
.os-node:nth-child(6) { top: 20%; left: -32px; }

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitCounterSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-lighter);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-lighter), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Problem Section --- */
.problem {
    padding: 120px 0;
    background: var(--bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.problem-text h2 {
    margin-bottom: 24px;
}

.problem-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.problem-text em {
    font-style: italic;
    color: var(--primary);
}

.problem-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(13, 115, 119, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- Who This Is For --- */
.who-for {
    padding: 100px 0;
    background: white;
}

.who-for .section-title {
    max-width: 700px;
    margin-bottom: 48px;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.who-card {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.who-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.who-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.who-card li svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.who-yes {
    background: rgba(13, 115, 119, 0.03);
    border-color: rgba(13, 115, 119, 0.15);
}

.who-yes h3 {
    color: var(--primary);
}

.who-yes li svg {
    color: var(--primary);
}

.who-no {
    background: var(--bg);
    border-color: var(--border);
}

.who-no h3 {
    color: var(--text-light);
}

.who-no li svg {
    color: var(--text-lighter);
}

.who-no li {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .who-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Differentiator Section --- */
.differentiator {
    padding: 120px 0;
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.differentiator::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 115, 119, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.differentiator .section-label {
    color: var(--accent);
}

.differentiator h2 {
    color: white;
    margin-bottom: 24px;
}

.diff-lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.diff-lead strong {
    color: var(--accent);
}

.diff-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 16px;
    max-width: 700px;
}

.diff-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.pillar {
    padding: 32px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(13, 115, 119, 0.3);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.pillar p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 0 !important;
    line-height: 1.5;
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--bg);
}

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

.service-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(13, 115, 119, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card > p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-details {
    list-style: none;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-details li {
    font-size: 0.85rem;
    color: var(--text);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
}

.service-details li:last-child {
    color: var(--primary);
    font-weight: 600;
}

.service-details li:last-child::before {
    opacity: 1;
}

/* --- Technology Section --- */
.tech-stack {
    padding: 100px 0;
    background: var(--bg);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tech-category h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.tech-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 115, 119, 0.04);
}

.tech-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

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

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

/* --- Process Section --- */
.process {
    padding: 120px 0;
    background: white;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--primary), rgba(13, 115, 119, 0.1));
    margin-top: 12px;
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    padding-top: 8px;
}

.step-duration {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.step-deliverable {
    font-size: 0.85rem;
    padding: 12px 16px;
    background: rgba(13, 115, 119, 0.04);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    color: var(--text);
}

/* --- Results Section --- */
.results {
    padding: 120px 0;
    background: var(--bg);
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.metric {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.metric-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

.case-card {
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.case-industry {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.case-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--dark);
}

.case-card > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.case-results {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.case-stat {
    display: flex;
    flex-direction: column;
}

.case-stat strong {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.case-stat span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- Testimonials --- */
.testimonials {
    padding: 80px 0;
    background: white;
}

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

.testimonial-card {
    padding: 36px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Newsletter Section --- */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-secondary));
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 115, 119, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-wrapper {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.newsletter-icon svg {
    width: 26px;
    height: 26px;
}

.newsletter h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.newsletter-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.newsletter-proof {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group input:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.2);
}

.newsletter-input-group .btn {
    flex-shrink: 0;
    padding: 16px 28px;
}

.newsletter-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 14px;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group .btn {
        width: 100%;
    }
}

/* --- Insights Section --- */
.insights {
    padding: 120px 0;
    background: var(--bg);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.insight-card {
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.insight-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.insight-featured {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--dark), var(--dark-secondary));
    color: white;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.insight-featured .insight-tag {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.insight-featured h3 {
    color: white;
    font-size: 1.5rem;
}

.insight-featured p {
    color: rgba(255,255,255,0.7);
}

.insight-featured .insight-link {
    color: var(--accent);
}

.insight-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(13, 115, 119, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.insight-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.insight-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.insight-link:hover {
    color: var(--primary-dark);
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq .section-title {
    margin-bottom: 48px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(13, 115, 119, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    gap: 16px;
    line-height: 1.4;
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-lighter);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    background: white;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-content h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-checklist {
    list-style: none;
}

.cta-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text);
}

.cta-checklist svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.cta-form {
    background: var(--bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.cta-form h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-card);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-top: 12px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 32px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.8);
}

/* --- Citation Links --- */
.cite-link {
    font-size: 0.7rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    vertical-align: super;
    opacity: 0.6;
    transition: var(--transition);
}

.cite-link:hover {
    opacity: 1;
}

.results-cta {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.results-cta p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.results-cta a {
    color: var(--primary);
    font-weight: 600;
}

/* --- Citations Page --- */
.citations-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.citations-page h1 {
    margin-bottom: 16px;
}

.citations-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.citations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.citation-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.citation-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(13, 115, 119, 0.15);
}

.citation-number {
    width: 36px;
    height: 36px;
    background: rgba(13, 115, 119, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
}

.citation-body h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.citation-source {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.citation-body a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

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

.citations-note {
    padding: 32px;
    background: rgba(13, 115, 119, 0.04);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.citations-note h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 8px;
}

.citations-note p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub { margin: 0 auto 36px; }
    .hero-ctas { justify-content: center; }
    .hero-proof { justify-content: center; }
    .hero-visual { display: none; }

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

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

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

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

    .case-studies {
        grid-template-columns: 1fr;
    }

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

    .cta-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 249, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-menu {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-proof {
        flex-direction: column;
        gap: 16px;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

    .diff-pillars {
        grid-template-columns: 1fr;
    }

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

    .results-metrics {
        grid-template-columns: 1fr 1fr;
    }

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

    .insight-featured {
        grid-row: auto;
    }

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

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

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .problem-stats {
        grid-template-columns: 1fr;
    }

    .results-metrics {
        grid-template-columns: 1fr;
    }

    .case-results {
        flex-direction: column;
        gap: 12px;
    }

    .cta-form {
        padding: 24px;
    }
}
