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

:root {
    --primary: #2b5f82;
    --primary-dark: #1d4863;
    --primary-bright: #ffffff;
    --accent: #4a9dce;
    --accent-hover: #3883b0;
    --accent-light: rgba(74, 157, 206, 0.1);
    --bg-900: #f2f2f2;
    --bg-800: #ffffff;
    --bg-700: #c8d8e4;
    --text-primary: #1a2b3c;
    --text-secondary: #3d5a6a;
    --text-muted: #6a7a8a;
    --border: rgba(43, 95, 130, 0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --nav-height: 72px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --max-width: 1120px;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-900);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.site-content {
    padding-top: var(--nav-height);
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--accent-hover);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ── Navigation ── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(43, 95, 130, 0.88);
    backdrop-filter: blur(6px);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: #1d4863;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.site-header .site-title {
    font-family: 'Orbitron', serif;
}
.site-title-raven {
    color: #ffffff;
}
.site-title-key {
    color: #000000;
}

.site-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.header-separator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    margin: 0 25px;
    user-select: none;
}

.primary-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.menu-item-has-children > a {
    padding-right: 30px;
}

.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -2px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.menu-item-has-children:hover > a::before {
    transform: rotate(-135deg);
    margin-top: -6px;
}

.mobile-nav-overlay { display: none; }
.dropdown-toggle { display: none; }

.sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1d4863;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li.focus > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.sub-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

    .menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 12px;
        z-index: 1100;
    }

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none !important;
    line-height: 1;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 157, 206, 0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-1px);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 157, 206, 0.3);
}
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    gap: 6px;
}
.btn-card:hover {
    background: var(--accent-hover);
    color: #fff;
}
.btn-card svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Hero ── */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,11,28,0.65);
}

.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.hero-lines span {
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0;
    background: rgba(255,255,255,0.06);
}
.hero-lines span:nth-child(1) { left: 25%; }
.hero-lines span:nth-child(2) { left: 50%; }
.hero-lines span:nth-child(3) { left: 75%; }

.hero-layout {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 0;
}

.hero-text { max-width: 780px; }

.hero h1 { margin-bottom: 0.75rem; color: #ffffff; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(74, 157, 206, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.hero-lead {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.hero-sub {
    display: block;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}
.hero h1 .highlight { color: var(--accent); }

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero .btn-secondary {
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
}
.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ── Stats ── */

.stats-section {
    position: relative;
    z-index: 4;
    margin-top: -60px;
    padding: 0 24px;
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.stat-card {
    flex: 0 1 320px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.stat-divider {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 0.75rem;
}
.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Page Hero ── */

.page-hero {
    padding: 6rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,11,28,0.65);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #ffffff; margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto; }

/* ── Trust Bar ── */

.trust-bar {
    padding: 2.5rem 0;
    text-align: center;
    background: var(--accent);
}
.trust-bar p {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.trust-bar .trust-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.trust-bar .trust-item {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    transition: all 0.2s;
}
.trust-bar .trust-item:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
}

/* ── Sections ── */

.section { padding: 5rem 0; }
.section:nth-child(even) { background: #ffffff; }
.section:nth-child(odd) { background: var(--bg-900); }
.hero + .section,
.trust-bar + .section,
.stats-section + .section,
.section-hero-follow { background: #ffffff; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.section-divider {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}
.section-header .section-divider { margin-top: 0.75rem; }

/* ── About Section ── */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.about-feature-text h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.about-feature-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Founder Section ── */

.section-founder {
    background: var(--primary) !important;
}
.section-founder .container {
    position: relative;
    z-index: 1;
}
.founder-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}
.founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid rgba(255,255,255,0.15);
}
.founder-content .section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(74, 157, 206, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.founder-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}
.founder-content p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    max-width: 600px;
}
.founder-signature {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent) !important;
    font-size: 1rem !important;
    margin-top: 0.5rem;
}
.founder-content .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    margin-top: 0.5rem;
}
.founder-content .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ── Values Section ── */

.section-values {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}
.section-values-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-values-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.section-values-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(34,38,46,0.92) 0%, rgba(34,38,46,0.85) 50%, rgba(34,38,46,0.78) 100%);
}
.section-values .container {
    position: relative;
    z-index: 2;
}
.section-values .section-header h2 {
    color: #ffffff;
}
.section-values .section-header p {
    color: rgba(255,255,255,0.7);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.value-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent);
    transform: translateY(-3px);
}
.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 157, 206, 0.15);
    border-radius: 50%;
    color: var(--accent);
}
.value-card h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.value-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Fun Break Section ── */

.section-fun-break {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    text-align: center;
}
.fun-break-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fun-break-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fun-break-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(34,38,46,0.85) 0%, rgba(20,22,28,0.88) 100%);
}
.section-fun-break .container {
    position: relative;
    z-index: 2;
}
.fun-break-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.fun-break-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .section-fun-break { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .value-card { padding: 1.25rem 1rem; }
}

/* ── Services Grid ── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.service-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    object-fit: contain;
}
.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}
.service-card .price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(74, 157, 206, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.service-card .btn-card {
    margin-top: auto;
}
.service-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}
.service-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}
.service-card .tier-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(74, 157, 206, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}
.service-card .most-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 20px;
}

/* ── How It Works ── */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.step-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}
.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.step:hover .step-image img { transform: scale(1.05); }
.step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

.steps-connector {
    display: none;
}

/* ── Testimonials Carousel ── */

.testimonials-section {
    background: #1d4863;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 60px
    );
    pointer-events: none;
}
.testimonials-section .section-header h2 { color: #ffffff; }
.testimonials-section .section-header p { color: rgba(255,255,255,0.6); }
.testimonials-section .section-divider { background: rgba(255,255,255,0.3); }

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-slide {
    min-width: 100%;
    text-align: center;
    padding: 0 1rem;
    box-sizing: border-box;
}
.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.testimonial-author {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}
.testimonial-org {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.testimonial-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.testimonial-btn:hover {
    background: rgba(255,255,255,0.2);
}
.testimonial-dots {
    display: flex;
    gap: 8px;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ── Portfolio Grid ── */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.portfolio-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.portfolio-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}
.portfolio-preview { position: relative; }
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-700);
    border-bottom: 1px solid var(--border);
}
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; display: block; }
.browser-bar span:nth-child(1) { background: #ef4444; }
.browser-bar span:nth-child(2) { background: #eab308; }
.browser-bar span:nth-child(3) { background: #22c55e; }
.portfolio-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-placeholder {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.05);
    transition: transform 0.4s;
}
.portfolio-info { padding: 1.25rem; }
.portfolio-info h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tech-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(74, 157, 206, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
}

/* ── Client Grid ── */

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.client-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.client-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.client-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--text-primary); }
.client-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* ── Contact ── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-note { color: var(--text-secondary); font-size: 0.9rem; margin-top: 2rem; }
.contact-context { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.7; max-width: 520px; }
.cta-contact-direct { margin-top: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.cta-contact-direct a { color: #ffffff; text-decoration: underline; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-900);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="tel"]:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 157, 206, 0.15);
}
.rk-form-response {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.rk-form-response.rk-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.rk-form-response.rk-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-bottom: 0; }
.form-submit .rk-submit-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.form-submit .rk-submit-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── CTA Section ── */

.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--primary);
}
.cta-section h2 { margin-bottom: 0.75rem; color: #ffffff; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 2rem; }
.cta-section .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-secondary { color: #ffffff; border-color: rgba(255,255,255,0.3); }
.cta-section .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* ── Footer ── */

.site-footer {
    background: var(--primary);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%) 0 0,
        linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%) 0 0,
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%) 0 0,
        linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%) 0 0;
    background-size: 40px 40px;
    pointer-events: none;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.footer-brand .site-title {
    font-size: 1.4rem;
    display: inline-flex;
    margin-bottom: 0.4rem;
    color: #ffffff;
}
.footer-tagline { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 0.4rem; max-width: 280px; }
.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 0.4rem; }
.footer-menu a { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.footer-menu a:hover { color: #ffffff; }
.footer-legal-list { list-style: none; margin: 0; padding: 0; }
.footer-legal-list li { margin-bottom: 0.4rem; }
.footer-legal-list a { color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-legal-list a:hover { color: #ffffff; }
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.8rem; text-align: center; margin: 0; }

/* ── Page Content ── */

.page-content { padding: 4rem 0; }
.page-content .container > * + * { margin-top: 1.5rem; }
.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    letter-spacing: -0.02em;
}
.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    letter-spacing: -0.01em;
}
.page-content p { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }
.page-content li { margin-bottom: 0.5rem; }
.page-content strong { color: var(--primary); }
.page-content a { color: var(--accent); text-decoration: none; }
.page-content a:hover { color: var(--accent-hover); text-decoration: underline; }
.service-highlights { display: grid; gap: 1rem; }
.highlight-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.highlight-item:hover { box-shadow: var(--shadow-md); }
.highlight-item h3 { margin-top: 0; margin-bottom: 0.5rem; }
.highlight-item p { margin-bottom: 0; }
.why-list { list-style: none; padding-left: 0 !important; }
.why-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.why-list li:last-child { border-bottom: none; }
.policy-date { font-size: 0.85rem; color: var(--text-secondary); margin-top: 2rem; }

/* ── Lightbox ── */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.lightbox-close:hover { color: #ffffff; }

/* ── 404 ── */

.error-404 h1 { font-size: clamp(4rem, 10vw, 8rem); font-weight: 800; color: var(--accent); }
.error-404 p { color: var(--text-secondary); margin-bottom: 2rem; }

/* ── Responsive ── */

@media (min-width: 769px) {
    .sub-menu {
        opacity: 0;
        visibility: hidden;
    }
    .nav-menu li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .site-header { height: 64px; z-index: 1060; }
    .header-inner { justify-content: space-between; }
    .header-separator { display: none; }
    .menu-toggle { display: flex; }
    .primary-nav { display: none; }
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        background: #1d4863;
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-nav-overlay.active { display: block !important; }
    .mobile-nav-overlay .nav-menu {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav-overlay .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-nav-overlay .nav-menu a {
        display: block;
        padding: 18px 24px;
        font-size: 1.1rem;
        font-weight: 500;
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        transition: background 0.2s;
    }
    .mobile-nav-overlay .nav-menu a:hover,
    .mobile-nav-overlay .nav-menu .current-menu-item > a {
        background: rgba(255,255,255,0.08);
        color: #ffffff;
    }
    .mobile-nav-overlay .menu-item-has-children > a::before { display: none; }
    .mobile-nav-overlay .sub-menu {
        background: rgba(0,0,0,0.2);
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .mobile-nav-overlay .sub-menu a {
        padding-left: 40px;
        font-size: 0.95rem;
    }
    .mobile-nav-overlay .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        list-style: none;
        gap: 4px;
        width: 100%;
    }
    .mobile-nav-overlay .nav-menu a { padding: 14px 16px; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
    .mobile-nav-overlay .sub-menu {
        position: static;
        background: rgba(255,255,255,0.05);
        border: none;
        border-radius: var(--radius-sm);
        box-shadow: none;
        padding: 4px;
        margin-left: 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .mobile-nav-overlay .sub-menu a { font-size: 0.95rem; padding: 10px 14px; }
    .mobile-nav-overlay .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.08);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: #ffffff;
        padding: 0;
        z-index: 5;
    }
    .mobile-nav-overlay .dropdown-toggle svg {
        width: 18px;
        height: 18px;
        transition: transform 0.25s;
    }
    .mobile-nav-overlay .dropdown-toggle.active svg {
        transform: rotate(180deg);
    }
    .mobile-nav-overlay .menu-item-has-children { position: relative; }
    .mobile-nav-overlay .menu-item-has-children > a {
        padding-right: 52px;
    }
    .mobile-nav-overlay .menu-item-has-children > a::before { display: none; }
    .steps { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; align-items: center; }
    .about-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero { min-height: 70vh; }
    .page-hero { padding: 5rem 0 1.5rem; }
    .section { padding: 3rem 0; }
    .page-content { padding: 2rem 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    .stats-section { margin-top: -40px; }
    .founder-layout { grid-template-columns: 1fr; text-align: center; }
    .founder-photo { margin: 0 auto; }
    .founder-content p { margin-left: auto; margin-right: auto; }
    .btn { min-height: 44px; }
}

/* ── Common Challenges Grid ── */

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.challenge-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.challenge-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}
.challenge-problem {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.challenge-problem-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--accent);
    fill: none;
}
.challenge-problem-text h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.challenge-problem-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.challenge-solution {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}
.challenge-solution-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 4px;
    stroke: var(--accent);
    fill: none;
}

/* ── Why Ravenkey Comparison Table ── */

.comparison-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.85rem;
}
.comparison-table th,
.comparison-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.comparison-table thead th {
    background: var(--bg-900);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.comparison-table thead th:first-child {
    text-align: left;
}
.comparison-table .row-label {
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    white-space: nowrap;
    background: var(--bg-900);
    min-width: 100px;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table .col-ravenkey {
    background: var(--accent-light);
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    font-weight: 600;
    color: var(--primary);
}
.comparison-table thead .col-ravenkey {
    color: var(--accent);
    background: var(--accent-light);
}
.comparison-table .rating-best {
    color: var(--accent);
    font-weight: 600;
}
.comparison-table .rating-good {
    color: #16a34a;
}
.comparison-table .rating-mid {
    color: #d97706;
}
.comparison-table .rating-poor {
    color: #dc2626;
}
.comparison-table .rating-na {
    color: var(--text-muted);
}

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

@media (max-width: 480px) {
    .challenges-grid { grid-template-columns: 1fr; }
    .challenge-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { min-height: 60vh; }
    .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .hero-lead { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; }
    .hero-sub { font-size: clamp(0.95rem, 3vw, 1.15rem) !important; }
    .page-hero { padding: 4rem 0 1rem; }
    .btn { min-height: 44px; padding: 10px 20px; font-size: 0.9rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .section { padding: 2.5rem 0; }
    .service-card { padding: 1.5rem; }
    .contact-form-col .rk-contact-form { padding: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}
