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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0B0F19;
    color: #E8ECF4;
    overflow-x: hidden;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

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


/* ============================
   SUCCESS BANNER
   ============================ */
.success-banner {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: bannerSlide 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    max-width: 90vw;
}

.success-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.success-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.success-close:hover {
    background: rgba(255,255,255,0.3);
}

@keyframes bannerSlide {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 480px) {
    .success-banner-inner {
        padding: 12px 16px;
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* ============================
   SCROLL PROGRESS
   ============================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #EC4899);
    z-index: 9999;
    width: 0%;
    transition: width 0.05s linear;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 72px;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

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

.logo span {
    color: #6366F1;
}

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

.nav-links a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    background: #6366F1;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
}

.nav-links a.nav-cta:hover {
    background: #4F46E5;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.nav-links a.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    gap: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    border-radius: 1px;
}

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
}

.hero-glow-1 {
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
}

.hero-glow-2 {
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: #A5B4FC;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter {
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    color: #64748B;
    margin-bottom: 40px;
    font-weight: 400;
    min-height: 32px;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0 8px;
}

.typewriter .cursor-text {
    color: #6366F1;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #6366F1;
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #E8ECF4;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0.5;
    animation: bounce-scroll 2s infinite;
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 6px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
}

.hero-scroll span {
    font-size: 0.7rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================
   TRUST BAR
   ============================ */
.trust-bar {
    padding: 40px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(11, 15, 25, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    overflow: hidden;
}

.trust-label {
    font-size: 0.75rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.trust-logo:hover {
    color: #475569;
}

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    z-index: 2;
    background: rgba(11, 15, 25, 0.3);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 0;
    flex: 0 0 auto;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1;
    word-break: break-word;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 8px;
    font-weight: 500;
    word-break: break-word;
}

/* ============================
   SECTIONS COMMON
   ============================ */
section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 16px;
}

.section-tag {
    display: inline-block;
    color: #6366F1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.section-header p {
    color: #64748B;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    word-break: break-word;
}

/* ============================
   SERVICES
   ============================ */
#services {
    background: linear-gradient(180deg, #0B0F19 0%, #0D1325 50%, #0B0F19 100%);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(99,102,241,0.05);
}

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

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    color: #818CF8;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #818CF8;
    flex-shrink: 0;
}

.card h3 {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    word-break: break-word;
}

.card p {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
    word-break: break-word;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6366F1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
    word-break: break-word;
}

.card-link:hover {
    gap: 8px;
}

.card-link span {
    transition: transform 0.3s ease;
}

.card-link:hover span {
    transform: translateX(4px);
}

/* ============================
   PROCESS
   ============================ */
#portfolio {
    background: #0B0F19;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 16px;
}

.process-step {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.04);
    transition: all 0.4s ease;
    min-width: 0;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: rgba(255,255,255,0.015);
}

.step-visual {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.step-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-step:hover .step-visual img {
    transform: scale(1.05);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: rgba(99, 102, 241, 0.12);
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -2px;
}

.process-step h3 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    word-break: break-word;
}

.process-step p {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
    color: #64748B;
    line-height: 1.6;
    word-break: break-word;
}

/* ============================
   PORTFOLIO / WORK
   ============================ */
#work {
    background: linear-gradient(180deg, #0B0F19 0%, #0D1325 100%);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.work-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

.work-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-item:hover .work-image img {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(11,15,25,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #A5B4FC;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-break: break-word;
}

.work-overlay h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    word-break: break-word;
}

.work-overlay p {
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    color: #94A3B8;
    word-break: break-word;
}

/* ============================
   TESTIMONIALS
   ============================ */
#testimonials {
    background: #0B0F19;
    position: relative;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 90vw);
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    text-align: left;
    transition: all 0.4s ease;
    min-width: 0;
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

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

.testimonial-text {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    word-break: break-word;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    word-break: break-word;
}

.author-info span {
    font-size: 0.8rem;
    color: #64748B;
    word-break: break-word;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
    padding: 100px 24px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.05) 50%, rgba(236,72,153,0.03) 100%);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 90vw);
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cta-content p {
    color: #64748B;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    margin-bottom: 32px;
    word-break: break-word;
}

/* ============================
   CONTACT
   ============================ */
#contact {
    background: linear-gradient(180deg, #0B0F19 0%, #0D1221 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    align-items: start;
    padding: 0 16px;
}

.contact-info {
    text-align: left;
    min-width: 0;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-info > p {
    color: #64748B;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 32px;
    line-height: 1.6;
    word-break: break-word;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818CF8;
    flex-shrink: 0;
}

.contact-item span {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: #CBD5E1;
    font-weight: 500;
    word-break: break-word;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px;
    min-width: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    min-width: 0;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: #E8ECF4;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group select {
    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 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group select option {
    background: #0B0F19;
    color: #E8ECF4;
}

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

/* ============================
   FOOTER
   ============================ */
footer {
    background: #080C14;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 60px 24px 0;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-brand .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand .logo span {
    color: #6366F1;
}

.footer-brand p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
    word-break: break-word;
}

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

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #475569;
    font-size: 0.88rem;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-col a:hover {
    color: #E8ECF4;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #334155;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 85%;
    max-height: 75%;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.show img {
    transform: scale(1);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 32px;
    cursor: pointer;
    color: #94A3B8;
    transition: color 0.3s;
    z-index: 2001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ============================
   ANIMATIONS
   ============================ */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

    .process-step:nth-child(2) {
        border-right: none;
    }

    .process-step:nth-child(3),
    .process-step:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.04);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1000;
        border-left: 1px solid rgba(255,255,255,0.05);
        gap: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 14px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.nav-cta {
        margin-top: 24px;
        text-align: center;
        justify-content: center;
        border-bottom: none;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        letter-spacing: -1px;
        line-height: 1.15;
    }

    .typewriter {
        font-size: clamp(0.85rem, 3vw, 1rem);
        min-height: 48px;
    }

    .hero-scroll {
        display: none;
    }

    .stats-bar {
        gap: 32px;
        padding: 40px 16px;
    }

    .stat-number {
        font-size: clamp(2rem, 6vw, 2.2rem);
    }

    .stat-label {
        font-size: clamp(0.75rem, 2vw, 0.85rem);
    }

    .grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 0 16px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .process-step {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        padding: 30px 20px;
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .step-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .work-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 0 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

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

    .footer-brand p {
        max-width: 100%;
    }

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

    section {
        padding: 60px 16px;
    }

    .trust-logos {
        gap: 24px;
    }

    .trust-label {
        font-size: clamp(0.65rem, 2vw, 0.75rem);
    }

    .trust-logo {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .cta-banner {
        padding: 60px 16px;
    }

    .cta-content h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .section-header h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .section-header p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
        letter-spacing: -0.5px;
    }

    .typewriter {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        min-height: 56px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .stats-bar {
        gap: 24px;
        padding: 32px 12px;
    }

    .stat-item {
        flex: 1 1 40%;
        min-width: 120px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 7vw, 2rem);
    }

    .stat-label {
        font-size: clamp(0.7rem, 2.5vw, 0.8rem);
    }

    .trust-bar {
        padding: 30px 12px;
    }

    .trust-logos {
        gap: 16px;
    }

    .trust-logo {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
    }

    .card {
        padding: 28px 20px;
    }

    .process-step {
        padding: 24px 16px;
    }

    .step-visual {
        max-width: 160px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .work-overlay {
        padding: 16px;
    }

    .work-overlay h3 {
        font-size: 0.95rem;
    }

    .work-overlay p {
        font-size: 0.8rem;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

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

    .footer-col h4 {
        margin-bottom: 12px;
    }

    .footer-col li {
        margin-bottom: 8px;
    }

    .close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 70%;
    }

    section {
        padding: 48px 12px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .cta-banner {
        padding: 48px 12px;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-info h2 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .contact-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .typewriter {
        font-size: 0.75rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stats-bar {
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 45%;
    }

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

    .card {
        padding: 24px 16px;
    }

    .card h3 {
        font-size: 1rem;
    }

    .card p {
        font-size: 0.8rem;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-text {
        font-size: 0.8rem;
    }

    .author-info h4 {
        font-size: 0.85rem;
    }

    .author-info span {
        font-size: 0.75rem;
    }
}