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

:root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-navbar: rgba(5, 8, 22, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-cyan: #22d3ee;
    --accent-purple: #38bdf8;
    --accent-pink: #2563eb;
    --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #38bdf8 0%, #1d4ed8 100%);
    --gradient-text: linear-gradient(135deg, #67e8f9 0%, #22d3ee 50%, #3b82f6 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 245, 255, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 245, 255, 0.15);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
    --grid-line: rgba(255, 255, 255, 0.02);
    --input-bg: rgba(255, 255, 255, 0.03);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #f6f8fc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-cyan: #0891b2;
    --accent-purple: #0284c7;
    --accent-pink: #1d4ed8;
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    --gradient-text: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #1d4ed8 100%);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(8, 145, 178, 0.4);
    --shadow-glow: 0 10px 40px rgba(37, 99, 235, 0.12);
    --shadow-card: 0 20px 60px rgba(15, 23, 42, 0.08);
    --grid-line: rgba(15, 23, 42, 0.04);
    --input-bg: rgba(15, 23, 42, 0.02);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.4s var(--transition), color 0.4s var(--transition);
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ========== Animated Background ========== */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: #000000;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

[data-theme="light"] .bg-gradient {
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.08), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(8, 145, 178, 0.06), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(219, 39, 119, 0.04), transparent 70%),
        var(--bg-primary);
    animation: gradientShift 20s ease infinite;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.logo-mark {
    height: 84px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 18px rgba(255, 30, 30, 0.55));
}

.logo-mark svg,
.logo-mark img {
    height: 100%;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

/* Theme-based logo swap */
.logo-mark .logo-light { display: none; }
[data-theme="light"] .logo-mark .logo-dark { display: none; }
[data-theme="light"] .logo-mark .logo-light { display: block; }
[data-theme="light"] .logo-mark { filter: drop-shadow(0 0 12px rgba(255, 30, 30, 0.25)); }

.navbar.scrolled .logo-mark { height: 70px; transition: height 0.3s ease; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.logo-text { color: var(--text-primary); letter-spacing: -0.5px; }
.logo-dot {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
    isolation: isolate;
}

[data-theme="light"] .nav-links {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Sliding magnetic indicator */
.nav-indicator {
    position: absolute;
    top: 5px;
    height: calc(100% - 10px);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.22));
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow:
        0 4px 18px rgba(34, 211, 238, 0.25),
        0 0 0 1px rgba(34, 211, 238, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition:
        left 0.45s cubic-bezier(0.65, 0, 0.35, 1),
        width 0.45s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.nav-indicator.visible { opacity: 1; }

[data-theme="light"] .nav-indicator {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(29, 78, 216, 0.14));
    border: 1px solid rgba(8, 145, 178, 0.25);
    box-shadow:
        0 4px 18px rgba(8, 145, 178, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-links li {
    position: relative;
    z-index: 1;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .nav-links a {
    color: #475569;
}

.nav-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover .nav-dot {
    opacity: 1;
    transform: scale(1);
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

[data-theme="light"] .nav-links a:hover {
    color: #0f172a;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active .nav-dot {
    opacity: 1;
    transform: scale(1);
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 18px rgba(34, 211, 238, 0.5);
}

[data-theme="light"] .nav-links a.active {
    color: #0c4a6e;
}

.nav-cta {
    padding: 10px 22px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s var(--transition);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 245, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--transition);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px) rotate(15deg);
    box-shadow: 0 6px 20px var(--shadow-glow);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.5s var(--transition), opacity 0.3s var(--transition);
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    color: #fbbf24;
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

/* ========== Hero Slider ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--transition), visibility 1.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-bg-1 {
    background:
        radial-gradient(circle at 25% 50%, rgba(34, 211, 238, 0.28), transparent 55%),
        radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.22), transparent 55%),
        linear-gradient(135deg, #020617 0%, #0a1628 50%, #061224 100%);
}

.slide-bg-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
}

.slide-bg-2 {
    background:
        radial-gradient(circle at 50% 25%, rgba(20, 184, 166, 0.28), transparent 60%),
        radial-gradient(circle at 25% 75%, rgba(8, 145, 178, 0.25), transparent 55%),
        linear-gradient(135deg, #051b2e 0%, #0c2840 50%, #03101f 100%);
}

.slide-bg-2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotPulse 4s ease-in-out infinite;
}

.slide-bg-3 {
    background:
        radial-gradient(ellipse at 50% 55%, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.22), transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(99, 102, 241, 0.15), transparent 55%),
        linear-gradient(135deg, #020617 0%, #0f1e3a 50%, #050a18 100%);
}

.slide-bg-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.02) 60px, rgba(255, 255, 255, 0.02) 61px);
    animation: gridMove 30s linear infinite reverse;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 45%, rgba(0, 0, 0, 0.4)),
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.35) 100%);
}

/* Slides stay dark in light theme too (acts as a bold banner) — force white text inside */
[data-theme="light"] .slide-content,
[data-theme="light"] .slide-title,
[data-theme="light"] .slide-description { color: #ffffff; }
[data-theme="light"] .slide-badge { color: #22d3ee; background: rgba(255, 255, 255, 0.1); }

.slide-content .gradient-text {
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #1e40af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .slide-content .gradient-text {
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
    text-align: center;
}

.slide.active .slide-badge { animation: slideUp 1s 0.3s var(--transition) both; }
.slide.active .slide-title { animation: slideUp 1s 0.5s var(--transition) both; }
.slide.active .slide-description { animation: slideUp 1s 0.7s var(--transition) both; }
.slide.active .slide-actions { animation: slideUp 1s 0.9s var(--transition) both; }

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

.slide-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
    color: var(--accent-cyan);
}

.slide-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
    display: inline-block;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.slide-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

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

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn span {
    transition: transform 0.3s var(--transition);
}

.btn:hover span {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary span, .btn-primary {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.btn-block {
    display: inline-flex;
    justify-content: center;
    min-width: 220px;
    padding-left: 36px;
    padding-right: 36px;
}

.contact-form .btn-block {
    align-self: center;
    margin: 6px auto 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* ========== Slider Controls ========== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: white;
    z-index: 10;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow svg { width: 24px; height: 24px; }

.slider-arrow:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.4);
}

.slider-prev { left: 32px; }
.slider-next { right: 32px; }

.slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.dot span {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.dot.active span {
    transform: scaleX(1);
    transition: transform 5s linear;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-secondary);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s ease infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ========== Stats ========== */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--input-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Sections ========== */
section { padding: 120px 0; position: relative; }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.section-text {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ========== About ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Hexagon Visual */
.visual-card {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hexagon-container {
    position: relative;
    width: 400px;
    height: 400px;
    max-width: 100%;
}

.hex {
    position: absolute;
    width: 80px;
    height: 92px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.4s var(--transition);
}

.hex::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-card);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-1 { top: 0; left: 50%; transform: translateX(-50%); animation: hexFloat 4s ease-in-out infinite; }
.hex-2 { top: 23%; right: 0; animation: hexFloat 4s 0.5s ease-in-out infinite; }
.hex-3 { bottom: 23%; right: 0; animation: hexFloat 4s 1s ease-in-out infinite; }
.hex-4 { bottom: 0; left: 50%; transform: translateX(-50%); animation: hexFloat 4s 1.5s ease-in-out infinite; }
.hex-5 { bottom: 23%; left: 0; animation: hexFloat 4s 2s ease-in-out infinite; }
.hex-6 { top: 23%; left: 0; animation: hexFloat 4s 2.5s ease-in-out infinite; }

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) translateX(var(--tx, 0)); }
    50% { transform: translateY(-12px) translateX(var(--tx, 0)); }
}

.hex-1, .hex-4 { --tx: -50%; }

.hex-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 245, 255, 0.3);
    animation: centerSpin 20s linear infinite;
}

.hex-center svg {
    width: 60px;
    height: 60px;
    animation: centerSpin 20s linear infinite reverse;
}

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

.hex-center svg {
    animation: none;
}

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

.service-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.05), transparent);
    transition: left 0.7s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 30px 60px rgba(0, 245, 255, 0.15);
}

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

.service-card:hover::after {
    left: 100%;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(0, 245, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-icon-wrap svg {
    width: 36px;
    height: 36px;
}

.service-card:hover .service-icon-wrap {
    background: rgba(0, 245, 255, 0.15);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 20px;
    font-size: 15px;
    transition: color 0.3s ease;
}

[data-theme="light"] .service-card > p {
    color: #334155;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    padding: 6px 0 6px 20px;
    position: relative;
    transition: color 0.3s ease;
}

[data-theme="light"] .service-list li {
    color: #1e293b;
}

.service-card:hover > p,
.service-card:hover .service-list li {
    color: #ffffff;
}

[data-theme="light"] .service-card:hover > p,
[data-theme="light"] .service-card:hover .service-list li {
    color: #0f172a;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* ========== Clients ========== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.client-card {
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s var(--transition);
    padding: 20px;
}

.client-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.client-logo-placeholder {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 18px;
    opacity: 0.6;
}

.client-card p {
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 120px;
    line-height: 0.5;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    height: 60px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 16px;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ========== Contact ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section {
    max-width: 900px;
    margin: 0 auto;
}

.founder-avatar-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%) !important;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4) !important;
}

.founder-avatar-purple::before {
    border-color: var(--accent-purple) !important;
}

.founder-card {
    position: relative;
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    text-align: center;
    overflow: hidden;
}

.founder-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.15), transparent 50%);
    animation: glowRotate 15s linear infinite;
    z-index: 0;
}

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

.founder-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    z-index: 1;
}

.founder-avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    opacity: 0.5;
    animation: ringPulse 3s ease-in-out infinite;
}

/* Photo avatar — overrides gradient bg + initials sizing */
.founder-avatar.has-photo {
    overflow: hidden;
    background: var(--bg-card);
    padding: 0;
}
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}
.founder-initials-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    border-radius: 50%;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.founder-name {
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    z-index: 1;
}

.founder-role {
    display: block;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.founder-bio {
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    z-index: 1;
}

.founder-links {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 1;
}

.founder-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition);
}

.founder-link svg {
    width: 18px;
    height: 18px;
}

.founder-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.4);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px 14px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 18px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s;
    background: var(--bg-primary);
    padding: 0 6px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    font-size: 12px;
    color: var(--accent-cyan);
}

.contact-info {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-icon {
    font-size: 24px;
}

.info-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2px;
}

.info-item a, .info-item span {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent-cyan);
}

/* ========== Footer ========== */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-navbar);
}

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

.footer-brand p {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 320px;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    font-size: 14px;
}

/* ========== Reveal Animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .nav-cta { display: none; }
    .logo-mark { height: 60px; }
    .navbar.scrolled .logo-mark { height: 52px; }

    /* Mobile open state — slides down from navbar */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(10, 10, 14, 0.92);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
        animation: mobileMenuIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    [data-theme="light"] .nav-links.mobile-open {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(15, 23, 42, 0.08);
    }
    .nav-links.mobile-open a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 18px;
        font-size: 15px;
    }
    .nav-links.mobile-open .nav-indicator { display: none; }
    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-8px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .about-grid,
    .contact-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

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

    .slider-arrow {
        width: 44px;
        height: 44px;
    }

    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }

    section { padding: 80px 0; }
}

@media (max-width: 640px) {
    .services-grid,
    .clients-grid,
    .features-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .slide-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn { width: 100%; justify-content: center; }

    .contact-info {
        flex-direction: column;
        gap: 16px;
    }

    .hexagon-container {
        width: 300px;
        height: 300px;
    }

    .hex { width: 60px; height: 70px; }

    .hex-center { width: 100px; height: 100px; }

    .contact-form-wrap { padding: 28px 20px; }
}

/* ========== Form Status Banner ========== */
.form-status {
    display: none;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border: 1px solid transparent;
    animation: formStatusIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-status.show { display: block; }
.form-status.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.18);
}
.form-status.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(185, 28, 28, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.18);
}
.form-status.info {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.08));
    border-color: rgba(34, 211, 238, 0.4);
    color: #67e8f9;
}
@keyframes formStatusIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== Footer Admin Icon ========== */
.footer-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 12px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    opacity: 0.4;
    transition: opacity 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    vertical-align: middle;
}
.footer-admin-link svg { width: 13px; height: 13px; }
.footer-admin-link:hover {
    opacity: 1;
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: scale(1.08);
}

/* ========== Client logo image (when provided) ========== */
.client-logo-img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
[data-theme="light"] .client-logo-img {
    filter: none;
    opacity: 1;
}
.client-card:hover .client-logo-img {
    opacity: 1;
}
