﻿:root {
    --bg: #090c16;
    --surface: rgba(13, 19, 33, 0.93);
    --surface-strong: rgba(13, 19, 33, 0.99);
    --surface-soft: rgba(255, 255, 255, 0.05);
    --text: #f4f7ff;
    --muted: #a6b0cf;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #7d8cff;
    --accent-soft: rgba(125, 140, 255, 0.16);
    --accent-2: #82e5d5;
    --accent-2-soft: rgba(130, 229, 213, 0.18);
    --shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
    --radius: 28px;
    --radius-sm: 18px;
    --transition: 0.35s ease;
    --max-width: 1240px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 16px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    z-index: 9999;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .particle {
        display: none !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', 'Work Sans', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(125, 140, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(130, 229, 213, 0.1), transparent 22%),
        linear-gradient(180deg, #070a12 0%, #090c16 28%, #0f1325 100%);
    overflow-x: hidden;
}

body[data-theme="light"] {
    color: #111827;
    background: linear-gradient(180deg, #f8fbff 0%, #e9eff7 100%);
    --text: #111827;
    --muted: #475569;
    --border: rgba(15, 23, 42, 0.12);
    --accent: #4f46e5;
    --accent-2: #0f766e;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: rgba(255, 255, 255, 1);
    --surface-soft: rgba(15, 23, 42, 0.06);
    --shadow: 0 40px 120px rgba(15, 23, 42, 0.12);
}

body[data-theme="light"] .site-header,
body[data-theme="light"] .page-loader,
body[data-theme="light"] .primary-nav,
body[data-theme="light"] .service-card,
body[data-theme="light"] .portfolio-card,
body[data-theme="light"] .testimonial-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .stats-panel,
body[data-theme="light"] .about-visual,
body[data-theme="light"] .faq-item,
body[data-theme="light"] .hero-card,
body[data-theme="light"] .hero-frame,
body[data-theme="light"] .contact-form,
body[data-theme="light"] .faq-panel {
    background: rgba(255, 255, 255, 0.92);
}

body[data-theme="light"] .site-header,
body[data-theme="light"] .primary-nav,
body[data-theme="light"] .service-card,
body[data-theme="light"] .portfolio-card,
body[data-theme="light"] .testimonial-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .stats-panel,
body[data-theme="light"] .about-visual,
body[data-theme="light"] .faq-item,
body[data-theme="light"] .hero-card,
body[data-theme="light"] .hero-frame,
body[data-theme="light"] .contact-form,
body[data-theme="light"] .faq-panel {
    border-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .nav-link,
body[data-theme="light"] .text-light,
body[data-theme="light"] .hero-text,
body[data-theme="light"] .section-header p,
body[data-theme="light"] .stat-label,
body[data-theme="light"] .footer-note,
body[data-theme="light"] .testimonial-author span,
body[data-theme="light"] .contact-copy p,
body[data-theme="light"] .faq-panel,
body[data-theme="light"] .form-field span,
body[data-theme="light"] .portfolio-copy p,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .timeline-item p {
    color: #475569;
}

body[data-theme="light"] .brand__tag,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .contact-email,
body[data-theme="light"] .stat-number,
body[data-theme="light"] .section-eyebrow,
body[data-theme="light"] .btn-ghost,
body[data-theme="light"] .footer-note,
body[data-theme="light"] .hero-copy h1,
body[data-theme="light"] .service-card h3,
body[data-theme="light"] .portfolio-copy h3,
body[data-theme="light"] .testimonial-author strong,
body[data-theme="light"] .timeline-year,
body[data-theme="light"] .faq-item {
    color: #111827;
}

body[data-theme="light"] .btn-primary {
    color: #fff;
}

body[data-theme="light"] .btn-ghost {
    color: #111827;
    background: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .hero-chip {
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    border-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .theme-switch {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

body[data-theme="light"] .theme-switch:hover {
    background: #1f2937;
}

body[data-theme="light"] .nav-toggle {
    border-color: rgba(15, 23, 42, 0.16);
    background: rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .nav-toggle span {
    background: #111827;
}

body[data-theme="light"] .hero-card,
body[data-theme="light"] .hero-frame,
body[data-theme="light"] .hero-chip,
body[data-theme="light"] .service-card,
body[data-theme="light"] .portfolio-card,
body[data-theme="light"] .testimonial-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .stats-panel,
body[data-theme="light"] .about-visual,
body[data-theme="light"] .about-visual__frame,
body[data-theme="light"] .faq-item,
body[data-theme="light"] .contact-form,
body[data-theme="light"] .faq-panel,
body[data-theme="light"] .timeline-item,
body[data-theme="light"] .stat-block {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .hero-frame {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.08), transparent 28%), rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04), 0 28px 68px rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .hero-frame__glow {
    background: radial-gradient(circle at 25% 20%, rgba(79, 70, 229, 0.14), transparent 28%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.1), transparent 32%);
}

body[data-theme="light"] .hero-chip {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .about-visual__frame {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04), 0 24px 48px rgba(15, 23, 42, 0.04);
}

* {
    box-sizing: border-box;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.page-loader,
.page-progress,
.cursor-dot,
.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
}

.page-loader {
    inset: 0;
    display: grid;
    place-content: center;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(8, 10, 18, 0.96));
    color: var(--text);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 72px;
    height: 72px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin: 0 auto 18px;
}

.loader-copy {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--muted);
}

.page-progress {
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.1s ease;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(8, 12, 20, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand__mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(125, 140, 255, 0.2));
}

.brand__name {
    display: block;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand__tag {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.8rem;
    gap: 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.theme-switch {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    transition: background var(--transition), transform var(--transition);
}

.theme-switch:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
}

.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    max-width: 620px;
    transform: translateY(22px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.hero-copy h1,
.hero-copy p,
.hero-copy .hero-actions,
.hero-copy .hero-meta {
    transform: translateY(18px);
    opacity: 0;
    transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy.visible {
    transform: translateY(0);
    opacity: 1;
}

.hero-copy.visible h1,
.hero-copy.visible p,
.hero-copy.visible .hero-actions,
.hero-copy.visible .hero-meta {
    transform: translateY(0);
    opacity: 1;
}

.hero-copy.visible h1 {
    transition-delay: 0.1s;
}

.hero-copy.visible p {
    transition-delay: 0.18s;
}

.hero-copy.visible .hero-actions {
    transition-delay: 0.28s;
}

.hero-copy.visible .hero-meta {
    transition-delay: 0.36s;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.77rem;
    margin-bottom: 26px;
}

.hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.96;
    margin: 0;
    max-width: 10ch;
    transform: translateY(16px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.hero-copy.visible h1,
.hero-copy.visible p,
.hero-copy.visible .hero-actions,
.hero-copy.visible .hero-meta {
    transform: translateY(0);
    opacity: 1;
}

.hero-text {
    margin: 28px 0 0;
    max-width: 560px;
    line-height: 1.8;
    color: var(--muted);
    font-size: 1.03rem;
}

.typing {
    position: relative;
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 1rem 1.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #091018;
    box-shadow: 0 20px 60px rgba(125, 140, 255, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 28px 72px rgba(125, 140, 255, 0.32);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-primary:hover::after {
    opacity: 0.4;
}

.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover::after {
    opacity: 1;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.stat {
    display: grid;
    gap: 10px;
}

.stat-number {
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
    perspective: 1200px;
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition: opacity var(--transition), transform var(--transition);
}

.hero-visual.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-card,
.hero-frame,
.hero-chip,
.floating-group {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual.visible .hero-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-visual.visible .hero-frame {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.34s;
}

.hero-visual.visible .hero-chip {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.44s;
}

.hero-visual.visible .floating-group {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.54s;
}

.hero-card {
    position: relative;
    padding: 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.24);
    z-index: 2;
    max-width: 520px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 48px 140px rgba(0, 0, 0, 0.28);
}

.hero-card .card-label {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.hero-card h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    line-height: 1.08;
}

.hero-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.hero-frame {
    position: absolute;
    right: 0;
    bottom: 16px;
    width: min(100%, 420px);
    aspect-ratio: 4 / 5;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(125, 140, 255, 0.18), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-frame:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 90px rgba(0, 0, 0, 0.22);
}

.hero-frame:hover .hero-image img {
    opacity: 1;
    transform: scale(1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
    transform: scale(1.04);
    filter: blur(10px);
    transition: opacity 1s ease, transform 1s ease, filter 1s ease;
    will-change: opacity, transform, filter;
}

.hero-image img.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.hero-chip {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(9, 16, 28, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
    color: var(--text);
    width: fit-content;
    animation: float 6s ease-in-out infinite;
    margin-top: 6px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-chip:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.float-dot--small {
    width: 12px;
    height: 12px;
    background: rgba(125, 140, 255, 0.9);
    top: 16%;
    left: 12%;
    animation-delay: 0s;
}

.float-dot--medium {
    width: 20px;
    height: 20px;
    background: rgba(130, 229, 213, 0.88);
    bottom: 24%;
    right: 18%;
    animation-delay: 1.2s;
}

.float-dot--large {
    width: 32px;
    height: 32px;
    background: rgba(125, 140, 255, 0.28);
    bottom: 14%;
    left: 24%;
    animation-delay: 2.4s;
}

.section {
    padding: 100px 0;
}

.section-header {
    display: grid;
    gap: 18px;
    max-width: 720px;
    margin-bottom: 52px;
}

.section-eyebrow {
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    line-height: 1.03;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    max-width: 610px;
}

.service-grid,
.portfolio-grid,
.testimonial-grid,
.stats-grid,
.faq-grid {
    display: grid;
    gap: 26px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.portfolio-card,
.testimonial-card,
.contact-panel,
.about-visual,
.stats-panel {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 32px;
    min-height: 260px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(125, 140, 255, 0.14);
    color: var(--accent-2);
    margin-bottom: 22px;
    font-size: 1.2rem;
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.stats-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 40px 42px;
}

.stats-copy h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3vw, 3rem);
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-block {
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-value {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
}

.stat-block p {
    margin: 16px 0 0;
    color: var(--muted);
}

.portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-card figure {
    margin: 0;
}

.portfolio-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-copy {
    padding: 28px 24px;
}

.portfolio-copy h3 {
    margin: 0 0 14px;
}

.portfolio-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.8;
}

.portfolio-copy span {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-copy p {
    color: var(--muted);
    line-height: 1.9;
    margin-top: 22px;
}

.timeline {
    margin-top: 34px;
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    gap: 10px;
    padding: 22px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-year {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
}

.about-visual {
    padding: 28px;
}

.about-visual__frame {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.about-visual img {
    width: 100%;
    display: block;
}

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

.testimonial-card {
    padding: 34px 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.9;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.95rem;
}

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

.faq-item {
    width: 100%;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--text);
    font-size: 1rem;
}

.faq-item svg {
    transition: transform var(--transition);
}

.faq-item[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-panel {
    padding: 0 26px 24px;
    color: var(--muted);
    line-height: 1.9;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 24px 24px;
}

.contact-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    padding: 40px 42px;
}

.contact-copy h2 {
    margin: 0;
    font-size: clamp(2.3rem, 3vw, 3rem);
}

.contact-copy p {
    margin: 24px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.contact-email {
    display: inline-flex;
    margin-top: 28px;
    color: var(--text);
    font-weight: 600;
}

.contact-socials {
    display: flex;
    gap: 18px;
    margin-top: 28px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.form-field span {
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 18px 20px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(125, 140, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(125, 140, 255, 0.12);
}

.site-footer {
    padding: 32px 0 64px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-note {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-note {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    left: -29px;
    top: 5px;
    font-weight: bold;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-brand {
    margin: 6px 0 0 0;
}

.signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
}

.sig-text {
    font-family: 'Brush Script MT', 'Pacifico', 'Lucida Handwriting', cursive;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 600;
    color: inherit;
    line-height: 1;
    transform: translateY(1px);
}

.sig-flourish {
    display: inline-block;
    width: 90px;
    height: 22px;
    color: rgba(79, 70, 229, 0.9);
    margin-left: 6px;
    transform: translateY(2px);
    opacity: 0.95;
}

.sc-logo {
    width: 28px;
    height: 28px;
    display: inline-block;
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.cursor-ring {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    transition: transform 0.15s ease-out, opacity 0.2s ease;
    opacity: 0.85;
}

.cursor-hover .cursor-ring {
    transform: translate(-50%, -50%) scale(1.4);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.tilt-card {
    will-change: transform;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.scorpion {
    color: var(--accent);
}

.sc-logo {
    width: 30px;
}


@media (max-width: 1180px) {

    .hero-grid,
    .about-grid,
    .stats-panel,
    .contact-panel,
    .testimonial-grid,
    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-card,
    .hero-frame,
    .hero-chip {
        transform: none !important;
    }

    .hero-card {
        padding: 30px;
    }
}

@media (max-width: 960px) {
    .hero-copy {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-card {
        padding: 26px;
    }

    .hero-frame {
        width: 100%;
        bottom: 0;
        right: 0;
        position: relative;
        margin-top: 22px;
    }

    .hero-frame {
        aspect-ratio: 4 / 5;
        max-width: 540px;
    }

    .hero-chip {
        position: static;
        margin-top: 18px;
        left: auto;
        bottom: auto;
    }
}

@media (max-width: 860px) {
    .header-inner {
        gap: 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        right: 24px;
        width: min(280px, calc(100vw - 48px));
        background: rgba(7, 11, 18, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        padding: 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    }

    .primary-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-frame {
        width: 100%;
        max-width: 100%;
    }

    .hero-chip {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 10vw, 3.4rem);
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-frame {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
        margin-top: 28px;
    }

    .hero-chip {
        left: auto;
        bottom: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .floating-group {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 10vw, 3.8rem);
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-frame {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
        margin-top: 28px;
    }

    .hero-chip {
        left: 14px;
        bottom: 10px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

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

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