/* ==========================================================================
   MOTION LABS — Global Design System
   Single stylesheet. No duplication. Reusable utility + component classes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Palette (exact, per brand spec) */
    --bg-primary: #F6F2EE;
    --bg-secondary: #CACBCD;
    --card: #FFFFFF;
    --text-primary: #323841;
    --text-secondary: #77726E;
    --border: #D9D9D9;
    --accent: #7C3AED;
    --accent-soft: rgba(124, 58, 237, 0.10);
    --accent-glow: rgba(124, 58, 237, 0.35);

    --gradient-mesh: linear-gradient(135deg, #FFFFFF 0%, #EDEAE6 35%, #E4DCF7 70%, #F6F2EE 100%);

    /* Typography */
    --font-display: 'Clash Display', 'General Sans', sans-serif;
    --font-heading: 'General Sans', sans-serif;
    --font-body: 'Satoshi', 'Inter', sans-serif;

    /* Spacing / Shape */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 999px;
    --container-w: 1240px;

    --shadow-soft: 0 10px 40px -10px rgba(50, 56, 65, 0.12);
    --shadow-soft-lg: 0 30px 80px -20px rgba(50, 56, 65, 0.18);
    --shadow-card: 0 4px 24px rgba(50, 56, 65, 0.06);

    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.2rem; font-family: var(--font-heading); }

p { color: var(--text-secondary); }

.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.font-display { font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: 110px 0;
}

.section-tight { padding: 70px 0; }

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 18px;
}

.section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.section-sub {
    margin-top: 16px;
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: 28px;
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 40px; }
.w-full { width: 100%; }

/* --------------------------------------------------------------------------
   5. BACKGROUND SYSTEM — grid lines, mesh, blobs, glass, noise
   -------------------------------------------------------------------------- */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(50, 56, 65, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 56, 65, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Bold structural column lines — visible vertical dividers behind hero content,
   the "premium grid" look referenced from Awwwards-style agency sites. */
.column-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.column-lines span {
    width: 1px;
    height: 100%;
    background: rgba(50, 56, 65, 0.10);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg-primary);
}

/* Subtle noise texture, SVG data-uri (no image request) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
}

.blur-blob.blob-purple { background: var(--accent); }
.blur-blob.blob-grey { background: var(--bg-secondary); }

.glass-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   6. LOADER
   -------------------------------------------------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-word {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    opacity: 0;
}

/* --------------------------------------------------------------------------
   7. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(246, 242, 238, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.navbar.is-scrolled {
    padding: 13px 0;
    box-shadow: var(--shadow-card);
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    height: 34px;
    width: auto;
}

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

.navbar-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    padding-bottom: 4px;
}

.navbar-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-premium);
}

.navbar-link:hover::after,
.navbar-link.is-active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}

.navbar-toggle span {
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    transition: transform 0.3s var(--ease-premium), opacity 0.3s var(--ease-premium);
}

.navbar-mobile {
    display: none;
    flex-direction: column;
    gap: 22px;
    padding: 30px 24px 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.navbar-mobile.is-open { display: flex; }

.navbar-mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .navbar-links, .navbar-cta { display: none; }
    .navbar-toggle { display: flex; }
}

/* --------------------------------------------------------------------------
   8. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    transition: transform 0.35s var(--ease-premium), background 0.35s var(--ease-premium), color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    box-shadow: 0 14px 30px -8px var(--accent-glow);
}

.btn-outline {
    border-color: var(--border);
}

.btn-lg {
    padding: 17px 38px;
    font-size: 1rem;
}

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

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 32px;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.card-tilt {
    will-change: transform;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   10. HERO
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 150px 0 90px;
    overflow: hidden;
}

.hero.section-tight {
    padding: 130px 0 60px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-platforms-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-platforms-icons img,
.hero-platforms-icons svg {
    width: 22px;
    height: 22px;
}

.hero-title {
    margin-bottom: 22px;
}

.hero-sub {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.hero-cta-row {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-pill {
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-full);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Floating hero video cards (desktop only) */
.hero-float-card {
    position: absolute;
    z-index: 2;
    width: 180px;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft-lg);
    background: linear-gradient(160deg, #fff 0%, #EDEAE6 55%, #E4DCF7 100%);
}

.hero-float-card video,
.hero-float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card .video-control-btn {
    position: absolute;
    bottom: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(50, 56, 65, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    backdrop-filter: blur(6px);
}

.hero-float-card .video-control-btn.is-play { left: 14px; }
.hero-float-card .video-control-btn.is-mute { right: 14px; }

.corner-accent {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent);
    pointer-events: none;
}

.corner-accent.is-tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.corner-accent.is-br { bottom: -10px; right: -10px; border-left: none; border-top: none; }

@media (max-width: 1080px) {
    .hero-float-card { display: none; }
}

/* --------------------------------------------------------------------------
   11. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 26px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 64px;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   12. SERVICES / PORTFOLIO GRIDS
   -------------------------------------------------------------------------- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.service-card h3 { margin-bottom: 10px; }

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

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

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-premium);
}

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

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(50,56,65,0.78), transparent 60%);
    color: #fff;
}

.portfolio-card-overlay span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.portfolio-card-overlay h3 {
    color: #fff;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   12b. CATEGORY CARDS (homepage service grid: 4-up desktop, 2-up mobile via .grid-4)
   -------------------------------------------------------------------------- */
.category-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.category-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.category-card-media img,
.category-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-premium);
}

.category-card:hover .category-card-media img,
.category-card:hover .category-card-media video {
    transform: scale(1.05);
}

.category-card-body {
    padding: 22px;
}

.category-card-tag {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
}

.category-card-body h4 {
    margin: 8px 0 12px;
}

/* --------------------------------------------------------------------------
   13. PROCESS / TIMELINE
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: left;
}

.process-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--border);
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    padding: 0 0 36px 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

/* --------------------------------------------------------------------------
   14. STATS / COUNTERS
   -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    margin-top: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   15. TESTIMONIALS (Swiper)
   -------------------------------------------------------------------------- */
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}

.testimonial-quote {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. PRICING
   -------------------------------------------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card.is-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft-lg);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: var(--radius-full);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 18px 0;
}

.pricing-features {
    margin: 24px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    font-weight: 600;
    text-align: left;
}

.faq-question .faq-icon {
    transition: transform 0.3s var(--ease-premium);
    color: var(--accent);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-premium);
    padding: 0 28px;
}

.faq-item.is-open .faq-answer {
    padding-bottom: 22px;
}

/* --------------------------------------------------------------------------
   18. TOOLS / GALLERY / BEFORE-AFTER
   -------------------------------------------------------------------------- */
.tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tool-pill {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius-full);
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 500;
}

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

.gallery-grid img {
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    object-fit: cover;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.before-after-grid figure {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.before-after-grid figcaption {
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--card);
}

/* --------------------------------------------------------------------------
   19. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section .cta-box {
    background: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2, .cta-box p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-box p { color: rgba(255,255,255,0.7); margin-top: 14px; }

.cta-box .btn-accent {
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.form-input, .form-textarea, .form-select {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-success {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.form-error {
    background: #fdecec;
    border: 1px solid #e07a7a;
    color: #8a2c2c;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   21. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.breadcrumb a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   22. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding-top: 80px;
}

.footer-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.14) 1px, transparent 1px);
    background-size: 64px 64px;
}

.footer-top {
    position: relative;
    z-index: 1;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-tagline {
    margin: 14px 0 18px;
    max-width: 280px;
}

.footer-platforms-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-platforms-row svg {
    width: 22px;
    height: 22px;
}

.footer-follow-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -6px var(--accent-glow);
}

.footer-col h4 {
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a, .footer-col span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-col-subhead {
    margin-top: 14px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.newsletter-text {
    margin: 12px 0 18px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    padding: 5px 5px 5px 18px;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    padding: 8px 0;
}

.newsletter-input:focus { outline: none; }

.newsletter-submit {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.newsletter-submit:hover { transform: scale(1.08); }

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 24px;
    max-width: var(--container-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.footer-bottom-center { flex: 1; text-align: center; }
.footer-bottom-legal { display: flex; gap: 10px; }
.footer-bottom-legal a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   23. STATUS PAGES (404 / coming-soon / maintenance)
   -------------------------------------------------------------------------- */
.status-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.status-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.status-title { margin-top: 14px; }

.status-sub {
    margin-top: 14px;
    max-width: 460px;
}

.status-page .btn { margin-top: 36px; }

/* --------------------------------------------------------------------------
   24. ADMIN SHELL
   -------------------------------------------------------------------------- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 48px;
}

.login-card h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--card);
    border-right: 1px solid var(--border);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-sidebar-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding: 0 10px;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.admin-sidebar-link:hover,
.admin-sidebar-link.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.admin-topbar {
    height: 76px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: var(--card);
}

.admin-main {
    padding: 32px;
}

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

.admin-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.admin-stat-card .stat-number { font-size: 2rem; color: var(--text-primary); }

/* --------------------------------------------------------------------------
   25. ANIMATION HELPER CLASSES (paired with main.js / AOS)
   -------------------------------------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
}

.is-revealed {
    opacity: 1;
    transform: none;
    filter: blur(0);
    transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium), filter 0.9s var(--ease-premium);
}

.float-soft {
    animation: float-soft 6s ease-in-out infinite;
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* --------------------------------------------------------------------------
   26. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .grid-4, .pricing-grid, .stats-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    /* Compact card grids stay 2-up on mobile instead of stacking to a single
       full-width column, matching the 2-column card layout in the reference. */
    .grid-3, .grid-4, .stats-grid, .process-grid,
    .portfolio-grid, .gallery-grid, .admin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Wide-content layouts still need the full row to stay readable. */
    .grid-2, .pricing-grid, .before-after-grid, .form-row {
        grid-template-columns: 1fr;
    }

    .process-step .process-number { font-size: 1.8rem; }
    .stat-number { font-size: 1.8rem; }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-bottom-legal { justify-content: center; }

    .section { padding: 64px 0; }
    .section-tight { padding: 48px 0; }
    .section-header { margin-bottom: 40px; }

    .hero { padding: 110px 0 56px; }
    .hero.section-tight { padding: 100px 0 44px; }
    .hero-stats { gap: 8px; }
    .column-lines span:nth-child(odd) { display: none; }

    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }

    .pricing-card.is-featured { transform: none; }
}
