/* ============================================
   AGENCY WEBSITE — AI-POWERED DARK THEME
   Inspired by Pluggo / Webflow
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #090909;
    --bg-surface: #111111;
    --bg-card: #0f0f0f;
    --accent: #F2F962;
    --accent-hover: #e5ec55;
    --accent-glow: rgba(242, 249, 98, 0.15);
    --accent-glow-strong: rgba(242, 249, 98, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #6b6b6b;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-blur: blur(16px);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --shadow-glow: 0 0 60px var(--accent-glow);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-sm {
    padding: 80px 0;
}

.text-accent {
    color: var(--accent);
}

.text-secondary {
    color: var(--text-secondary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 8px 20px;
    border: 1px solid rgba(242, 249, 98, 0.2);
    border-radius: var(--radius-full);
    background: rgba(242, 249, 98, 0.05);
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 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;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    pointer-events: none;
}

.btn:hover::after {
    animation: btn-shimmer 0.6s ease forwards;
}

@keyframes btn-shimmer {
    from {
        left: -60%;
    }

    to {
        left: 120%;
    }
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary {
    background: var(--accent);
    color: #090909;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 249, 98, 0.05);
    transform: translateY(-2px);
}

.btn-outline::after {
    background: linear-gradient(90deg, transparent, rgba(242, 249, 98, 0.12), transparent);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-icon {
    font-size: 1.2em;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(6px);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #090909;
    font-weight: 900;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Slider ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.6) 50%, rgba(9, 9, 9, 0.85) 100%);
}

/* Slide-specific animated backgrounds */
.hero-slide:nth-child(1) .hero-slide-bg {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(242, 249, 98, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(98, 180, 249, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #090909 0%, #0d0d0d 100%);
}

.hero-slide:nth-child(2) .hero-slide-bg {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(242, 249, 98, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(168, 98, 249, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #090909 0%, #0d0d0d 100%);
}

.hero-slide:nth-child(3) .hero-slide-bg {
    background:
        radial-gradient(ellipse at 50% 20%, rgba(242, 249, 98, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 70%, rgba(249, 98, 165, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #090909 0%, #0d0d0d 100%);
}

.hero-slide-bg::after {
    background: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 24px;
}

/* Hero two-column layout */
.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    min-height: calc(100vh - var(--nav-height));
    padding-top: 40px;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 480px;
    max-width: 45%;
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    animation: heroImageIn 1s 0.6s forwards;
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(242, 249, 98, 0.12);
    box-shadow:
        0 0 80px rgba(242, 249, 98, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5);
    background: var(--bg-card);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(242, 249, 98, 0.2), transparent 50%, rgba(242, 249, 98, 0.1));
    z-index: 1;
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

/* Floating badge on image */
.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    background: rgba(9, 9, 9, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 249, 98, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-image-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-image-badge span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Glow behind image */
.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(242, 249, 98, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #c7f048 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.hero-dot:hover {
    border-color: var(--accent);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    font-size: 1.1rem;
    padding: 0;
}

.hero-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 249, 98, 0.1);
}

/* Floating elements in hero */
.hero-float {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-float-1 {
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    right: 15%;
    width: 200px;
    height: 200px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    animation: float 10s ease-in-out infinite reverse;
    transform: rotate(45deg);
}

.hero-float-3 {
    top: 30%;
    right: 20%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(242, 249, 98, 0.15);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* ---------- Grid Patterns Background ---------- */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ---------- Services Overview (Home) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.service-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.service-card-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card-large:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
}

.service-card-large:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
}

.service-card-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.service-card-large:hover .service-tag {
    border-color: rgba(242, 249, 98, 0.2);
    color: var(--text-primary);
}

/* ---------- Stats Bar ---------- */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- How We Work ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.process-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    position: relative;
    transition: all var(--transition-slow);
}

.process-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.1);
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(242, 249, 98, 0.2);
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.testimonial-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #88c040 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #090909;
    object-fit: cover;
    border: 2px solid rgba(242, 249, 98, 0.3);
}

img.testimonial-avatar {
    background: none;
}

/* Testimonial mobile slider dots */
.testimonial-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.t-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 249, 98, 0.08);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    position: relative;
}

.page-hero .section-subtitle {
    margin: 0 auto;
    position: relative;
}

/* ---------- Services Page Cards ---------- */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-detail-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-6px);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Portfolio Grid ---------- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
    background: transparent;
    color: var(--text-secondary);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: #090909;
    border-color: var(--accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.portfolio-item:hover {
    transform: translateY(-6px);
}

.portfolio-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(9, 9, 9, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-thumb,
.portfolio-item:hover .portfolio-item-bg {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-overlay .portfolio-cat {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- About Page ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.about-image-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.about-image-bg::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-glow);
    top: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.approach-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-slow);
}

.approach-card:hover {
    border-color: rgba(242, 249, 98, 0.15);
    transform: translateY(-4px);
}

.approach-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.approach-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- Contact Form ---------- */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(242, 249, 98, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 249, 98, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-control.error {
    border-color: #ff4d4d;
}

.form-error {
    font-size: 0.78rem;
    color: #ff4d4d;
    margin-top: 6px;
    display: none;
}

.form-error.visible {
    display: block;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a3a3a3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

select.form-control option {
    background: #111;
    color: #fff;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(242, 249, 98, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--accent);
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #c7f048);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section {
        padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(9, 9, 9, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta .btn {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-float {
        display: none;
    }

    .hero-image-container {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 16px;
        order: -1;
    }

    .hero-slide .container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-image-frame img {
        aspect-ratio: 4/3;
    }

    .hero-image-badge {
        padding: 8px 12px;
        bottom: 10px;
        left: 10px;
    }

    .hero-image-badge span {
        font-size: 0.7rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 24px 12px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0px;
        padding-bottom: 8px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
        scroll-snap-align: start;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-dots {
        display: flex;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}