/* ============================================================
   LAVINA TECH — World-Class Landing Page Stylesheet
   Dark theme | Glassmorphism | Gradient accents
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0d0d24;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);

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

    --accent-blue: #4a6cf7;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;

    --gradient-main: linear-gradient(135deg, #4a6cf7, #7c3aed, #06b6d4);
    --gradient-subtle: linear-gradient(135deg, rgba(74, 108, 247, 0.15), rgba(124, 58, 237, 0.15));

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;

    --section-padding: 100px 0;
    --container-width: 1200px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-cyan));
}

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

/* ---------- Typography ---------- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 8px 40px rgba(74, 108, 247, 0.5);
    transform: translateY(-2px);
}

.btn--ghost {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: var(--glass-blur);
    background: var(--glass-bg);
}

.btn--ghost:hover {
    border-color: var(--accent-blue);
    background: rgba(74, 108, 247, 0.1);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

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

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.nav__logo-img {
    height: 32px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
    opacity: 0.85;
}

.footer__logo .nav__logo-img {
    height: 36px;
}

.nav__logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
}

.nav__logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav__logo-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta-link {
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--gradient-main);
    color: #fff !important;
    font-weight: 600;
}

.nav__cta-link::after {
    display: none;
}

.nav__cta-link:hover {
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4);
}

/* Burger menu */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    padding: 4px;
}

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

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

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

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

/* Animated gradient orbs */
.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero__gradient-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.35), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.hero__gradient-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    top: 40%;
    right: -5%;
    animation-delay: -3s;
}

.hero__gradient-orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__title-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-line {
    width: 2px;
    height: 40px;
    background: var(--glass-border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gradient-main);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 110%; }
}

/* ============================================================
   STATS / ABOUT
   ============================================================ */
.stats {
    padding: var(--section-padding);
    position: relative;
}

.stats__header {
    text-align: center;
    margin-bottom: 60px;
}

.stats__header .section-subtitle {
    margin: 0 auto;
}

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

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services__header {
    text-align: center;
    margin-bottom: 60px;
}

.services__header .section-subtitle {
    margin: 0 auto;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover::before {
    background: var(--gradient-main);
    opacity: 1;
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gradient-subtle);
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card__tags span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(74, 108, 247, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 108, 247, 0.2);
}

/* CTA card */
.service-card--cta {
    background: var(--gradient-subtle);
    border-color: rgba(74, 108, 247, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card--cta .service-card__desc {
    flex: 1;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
    padding: var(--section-padding);
}

.products__header {
    text-align: center;
    margin-bottom: 80px;
}

.products__header .section-subtitle {
    margin: 0 auto;
}

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.product:last-child {
    margin-bottom: 0;
}

.product--reverse {
    direction: rtl;
}

.product--reverse > * {
    direction: ltr;
}

/* Product visuals */
.product__visual {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 4/3;
}

.product__visual-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.product__visual--codegate .product__visual-bg {
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.2), rgba(6, 182, 212, 0.1));
}

.product__visual--apex .product__visual-bg {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(74, 108, 247, 0.1));
}

.product__visual--codereview .product__visual-bg {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(74, 108, 247, 0.1));
}

.product__visual--feedback .product__visual-bg {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(124, 58, 237, 0.1));
}

/* Code window mockup */
.product__visual-code {
    position: relative;
    z-index: 1;
    margin: 28px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.product__visual-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot--red { background: #ef4444; }
.dot--yellow { background: #eab308; }
.dot--green { background: #22c55e; }

.product__visual-filename {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.product__visual-code pre {
    padding: 20px;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
}

.product__visual-code code {
    color: var(--text-secondary);
}

.code-keyword { color: #c084fc; }
.code-func { color: #60a5fa; }
.code-string { color: #34d399; }
.code-prop { color: #93c5fd; }
.code-bool { color: #fbbf24; }

/* Dashboard mockup */
.product__visual-dashboard {
    position: relative;
    z-index: 1;
    margin: 28px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    padding: 20px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dashboard-title {
    font-weight: 700;
    font-size: 1rem;
}

.dashboard-status {
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-stat {
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-stat__value {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.dashboard-stat__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dashboard-stat__bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.dashboard-stat__bar span {
    display: block;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 2px;
}

/* Review mockup */
.product__visual-review {
    position: relative;
    z-index: 1;
    margin: 28px;
}

.review-file {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.review-file__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.review-file__name {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-file__badge {
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    font-size: 0.7rem;
    font-weight: 600;
}

.review-comment {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.review-comment:last-child {
    border-bottom: none;
}

.review-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-comment__severity {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.review-comment__severity--warn {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.review-comment__severity--info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.review-comment__body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.review-comment__body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* Chat mockup */
.product__visual-chat {
    position: relative;
    z-index: 1;
    margin: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 90%;
}

.chat-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.chat-msg__text {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.chat-msg--bot .chat-msg__text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg__text {
    background: rgba(74, 108, 247, 0.15);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-bottom-right-radius: 4px;
}

/* Product info */
.product__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: rgba(74, 108, 247, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 108, 247, 0.2);
}

.product__badge--green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

.product__badge--purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    border-color: rgba(124, 58, 237, 0.2);
}

.product__name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.product__tagline {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 16px;
}

.product__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product__features li svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.tech__header {
    text-align: center;
    margin-bottom: 60px;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.tech-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 16px 48px rgba(74, 108, 247, 0.1);
}

.tech-item__icon {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.tech-item:hover .tech-item__icon {
    color: var(--accent-blue);
}

.tech-item__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
    padding: var(--section-padding);
}

.why__header {
    text-align: center;
    margin-bottom: 60px;
}

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

.why-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.why-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.why-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gradient-subtle);
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.why-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   TRUST / TESTIMONIALS
   ============================================================ */
.trust {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.trust__header {
    text-align: center;
    margin-bottom: 60px;
}

.trust__carousel {
    position: relative;
    overflow: hidden;
}

.trust__track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.trust-card {
    flex: 0 0 calc(100% / 3);
    padding: 0 12px;
    box-sizing: border-box;
    min-width: 0;
}

.trust-card__inner {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.trust-card__inner:hover {
    background: var(--bg-card-hover);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.trust-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.trust-card__quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.trust-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.trust-card__name {
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Carousel arrows */
.trust__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.trust__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.trust__arrow:hover {
    background: rgba(15, 15, 35, 0.8);
    border-color: rgba(74, 108, 247, 0.3);
    color: #fff;
    box-shadow: 0 0 20px rgba(74, 108, 247, 0.15);
}

/* Carousel dots */
.trust__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.trust__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

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

.trust__dot.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(74, 108, 247, 0.5);
}

/* ============================================================
   TEAM
   ============================================================ */
.team {
    padding: var(--section-padding);
}

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

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

.team__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.team__value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.team__value svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Team visual dots */
.team__visual {
    position: relative;
}

.team__grid-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.team__grid-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 108, 247, 0.08), transparent 70%);
}

.team__member-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dotPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
}

.team__member-dot span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.contact__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.contact__detail:hover {
    color: var(--accent-blue);
}

.contact__detail svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact__socials {
    display: flex;
    gap: 12px;
}

.contact__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.contact__social:hover {
    background: rgba(74, 108, 247, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Contact form */
.contact__form {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: all var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}

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

/* Form success state */
.contact__form.success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.form-success {
    text-align: center;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact__whatsapp {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact__whatsapp a {
    color: #25d366;
    font-weight: 600;
    transition: color var(--transition);
}

.contact__whatsapp a:hover {
    color: #20bf5b;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 60px 0 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 16px;
}

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

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer__link {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--accent-blue);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
    margin-top: 80px;
}

.timeline__title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.timeline__line {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline__line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), var(--accent-cyan));
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 40px 48px;
}

.timeline__item--left {
    left: 0;
    text-align: right;
    padding-right: 48px;
}

.timeline__item--right {
    left: 50%;
    text-align: left;
    padding-left: 48px;
}

.timeline__dot {
    position: absolute;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 16px rgba(74, 108, 247, 0.5);
    z-index: 1;
}

.timeline__item--left .timeline__dot {
    right: -8px;
}

.timeline__item--right .timeline__dot {
    left: -8px;
}

.timeline__card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all var(--transition);
}

.timeline__card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 16px 48px rgba(74, 108, 247, 0.1);
}

.timeline__year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.timeline__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline__text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   MISSION & VALUES
   ============================================================ */
.values {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.values__header {
    text-align: center;
    margin-bottom: 60px;
}

.values__header .section-subtitle {
    margin: 0 auto;
}

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

.value-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}

.value-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gradient-subtle);
    color: var(--accent-blue);
    margin: 0 auto 20px;
}

.value-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   CLIENT PROJECTS / CASE STUDIES
   ============================================================ */
.projects {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.projects__header {
    text-align: center;
    margin-bottom: 60px;
}

.projects__header .section-subtitle {
    margin: 0 auto;
}

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

.case-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    border-color: rgba(74, 108, 247, 0.3);
    box-shadow: 0 20px 60px rgba(74, 108, 247, 0.1);
}

.case-card__badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.case-card__badge--blue {
    background: rgba(74, 108, 247, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 108, 247, 0.2);
}

.case-card__badge--green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.case-card__badge--purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.case-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.case-card__tagline {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 12px;
}

.case-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-card__tags span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(74, 108, 247, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 108, 247, 0.2);
}

/* Legacy Clients */
.legacy {
    margin-top: 60px;
    text-align: center;
}

.legacy__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.legacy__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.legacy__item {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.legacy__item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(74, 108, 247, 0.3);
    color: var(--text-primary);
}

.legacy__item--highlight {
    background: var(--gradient-subtle);
    border-color: rgba(74, 108, 247, 0.2);
    color: var(--text-primary);
}

.legacy__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

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

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

    .product--reverse {
        direction: ltr;
    }

    .tech__grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .trust-card {
        flex: 0 0 50%;
    }

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

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

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

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 100;
    }

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

    .nav__links .nav__link {
        font-size: 1.2rem;
    }

    .nav__burger {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

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

    .stat-card {
        padding: 28px 20px;
    }

    .stat-card__number {
        font-size: 2.2rem;
    }

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

    .tech__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tech-item {
        padding: 20px 12px;
    }

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

    .trust__carousel {
        padding: 0 8px;
    }

    .trust-card {
        flex: 0 0 100%;
    }

    .trust__arrow {
        display: none;
    }

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

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

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact__form {
        padding: 28px 20px;
    }

    .product__visual {
        aspect-ratio: auto;
        min-height: 280px;
    }

    .product__name {
        font-size: 1.5rem;
    }

    /* Timeline — stack vertically on mobile */
    .timeline__line::before {
        left: 20px;
    }

    .timeline__item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 52px !important;
        padding-right: 0 !important;
    }

    .timeline__dot {
        left: 12px !important;
        right: auto !important;
    }

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

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

/* Small mobile */
@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }

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

    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}
