@font-face {
    font-family: 'Apple Garamond Light';
    src: url('assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* ===== DESIGN TOKENS ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-start: #7c3aed;
    --accent-mid: #a855f7;
    --accent-end: #c084fc;
    --accent-glow: rgba(124, 58, 237, 0.35);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font: 'Apple Garamond Light', 'Apple Garamond', serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --nav-height: 80px;
    --container: 100%;
    --nav-bg-scrolled: rgba(10, 10, 10, 0.60);
}

/* Light Theme Overrides */
html[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --bg-card: rgba(0, 5, 20, 0.02);
    --bg-card-hover: rgba(0, 5, 20, 0.04);

    --text-primary: #000514;
    --text-secondary: rgba(0, 5, 20, 0.7);
    --text-muted: rgba(0, 5, 20, 0.5);

    --accent-start: #6d28d9;
    --accent-mid: #9333ea;
    --accent-end: #a855f7;
    --accent-glow: rgba(109, 40, 217, 0.15);

    --border: rgba(0, 5, 20, 0.08);
    --border-hover: rgba(0, 5, 20, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 5, 20, 0.08);

    --shadow: 0 8px 32px rgba(0, 5, 20, 0.08);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.60);
}

/* ===== RESET ===== */
*,
*::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);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(19px, 1.8vw, 24px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-top: 16px;
}

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

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left .6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-start);
    color: var(--accent-mid);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all .4s;
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

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

.nav-links a {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .25s;
}



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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent-start);
    color: var(--text-primary);
}

.theme-toggle svg {
    position: absolute;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: translateY(20px) rotate(45deg);
}

html[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: translateY(-20px) rotate(-45deg);
}

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

.nav-cta {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all .3s;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all .3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 40px) clamp(20px, 4vw, 48px) 60px;
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(19px, 1.9vw, 25px);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero fade-up */
.anim-fade-up {
    animation: fadeUp .8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS ===== */
.stats-section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== INTEGRATION ===== */
.integration-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.integration-section .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.integration-content {
    flex: 1;
}

.integration-content .section-title {
    margin-bottom: 20px;
}

.typing-text {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-cursor {
    color: var(--accent-mid);
    animation: blink .8s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.integration-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Hub */
.integration-hub {
    position: relative;
    width: 360px;
    height: 360px;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.hub-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(10);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border);
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: spin 25s linear infinite;
}

.ring-2 {
    width: 330px;
    height: 330px;
    animation: spin 40s linear infinite reverse;
}

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

.orbit-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.node-1 {
    top: 0%;
    left: 44%;
    animation-delay: 0s;
}

.node-2 {
    top: 18%;
    right: 2%;
    animation-delay: 1s;
}

.node-3 {
    top: 62%;
    right: 0%;
    animation-delay: 2s;
}

.node-4 {
    bottom: 0%;
    left: 42%;
    animation-delay: 3s;
}

.node-5 {
    top: 58%;
    left: 0%;
    animation-delay: 4s;
}

.node-6 {
    top: 14%;
    left: 2%;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ===== SERVICES ===== */
.services-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-mid), var(--accent-end));
    opacity: 0;
    transition: opacity .4s;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

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

.service-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.service-stat {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-mid);
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 100px;
    display: inline-block;
}

/* ===== LIBRARY ===== */
.library-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.library-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.library-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    min-width: 960px;
}

.library-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all .4s;
}

.library-card:hover {
    border-color: var(--accent-start);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.library-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.library-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.library-card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

.library-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all .4s;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    border-color: var(--accent-start);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
}

.portfolio-tag {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 16px;
    display: inline-block;
}

.portfolio-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* ===== WORK WITH US ===== */
.work-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
}

.work-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.work-content .section-title {
    margin-bottom: 20px;
}

.work-content .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.work-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 32px;
}

.work-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.work-tag {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all .3s;
}

.work-tag:hover {
    border-color: var(--accent-start);
    color: var(--accent-mid);
}

/* ===== ABOUT ===== */
.about-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.about-photo {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 2px solid var(--border);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

.about-social-stats {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.social-stat {
    text-align: center;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s;
}

.social-stat:hover {
    border-color: var(--accent-start);
    transform: translateY(-2px);
}

.social-number {
    display: block;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.about-content {
    max-width: 560px;
}

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

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content strong {
    color: var(--text-primary);
}

.about-highlight {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-mid);
    margin-top: 8px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: all .4s;
    display: flex;
    flex-direction: column;
}

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

.testimonial-stars {
    font-size: 16px;
    color: #facc15;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 14px;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-mid);
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 100px;
    text-align: center;
}

/* ===== LEAD CAPTURE ===== */
.lead-capture-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.lead-capture-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-capture-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.06), transparent 60%);
    pointer-events: none;
}

.lead-capture-card .section-title {
    margin-bottom: 8px;
}

.lead-capture-card .section-subtitle {
    margin: 0 auto 40px;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

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

.form-group.full-width {
    margin-bottom: 24px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    transition: all .3s;
    outline: none;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: var(--text-muted);
}

.lead-form select {
    color: var(--text-muted);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.lead-form select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: var(--accent-start);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.lead-form textarea {
    resize: vertical;
    min-height: 100px;
}

.lead-form .btn-primary {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-logo .logo-img {
    height: 64px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 16px;
    color: var(--text-muted);
    transition: color .2s;
}

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

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .3s;
}

.social-link:hover {
    border-color: var(--accent-start);
    color: var(--accent-mid);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid {
        gap: 48px;
    }

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

    .integration-section .container {
        gap: 48px;
    }
}

@media (max-width: 768px) {

    /* Nav mobile */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 999;
        clip-path: circle(0px at calc(100% - 40px) 40px);
        transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
        pointer-events: none;
    }

    .nav-links.open {
        clip-path: circle(200vh at calc(100% - 40px) 40px);
        pointer-events: auto;
    }

    .nav-links img,
    .nav-links a {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .nav-controls {
        gap: 12px;
    }

    .nav-actions {
        display: flex;
        gap: 12px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    /* Hero */
    .hero {
        padding: calc(var(--nav-height) + 20px) 20px 40px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Integration */
    .integration-section .container {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .integration-hub {
        width: 280px;
        height: 280px;
    }

    .hub-center {
        width: 64px;
        height: 64px;
    }

    .hub-logo {
        width: 40px;
        height: 40px;
    }

    .ring-1 {
        width: 160px;
        height: 160px;
    }

    .ring-2 {
        width: 250px;
        height: 250px;
    }

    .orbit-node {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Services */
    .services-section {
        padding: 80px 0;
    }

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

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Library */
    .library-grid {
        grid-template-columns: repeat(3, 1fr);
        min-width: 600px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-content {
        margin: 0 auto;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Lead capture */
    .lead-capture-section {
        padding: 80px 0;
    }

    .lead-capture-card {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

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

    .library-grid {
        grid-template-columns: repeat(2, 1fr);
        min-width: 400px;
    }

    .about-photo {
        width: 180px;
        height: 180px;
    }

    .btn {
        font-size: 13px;
        padding: 12px 28px;
    }

    .btn-lg {
        padding: 16px 36px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }
}