:root {
    --primary: #6C63FF;
    --primary-glow: rgba(108, 99, 255, 0.35);
    --secondary: #FF6584;
    --secondary-glow: rgba(255, 101, 132, 0.35);
    --bg-dark: #0B0C10;
    --bg-card: #141622;
    --bg-card-hover: #1D1F30;
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --text-muted: #64748B;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    --container-width: 1240px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section Header Badges & Titles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge, .hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(108, 99, 255, 0.12);
    color: #A5A0FF;
    border: 1px solid rgba(108, 99, 255, 0.3);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, #A8A3FF, #FF6584, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Portfolio Back Link Pill */
.portfolio-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: rgba(255, 101, 132, 0.12);
    border: 1px solid rgba(255, 101, 132, 0.3);
    color: var(--secondary) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: var(--transition);
}

.portfolio-back-link:hover {
    background: rgba(255, 101, 132, 0.25);
    border-color: var(--secondary);
    transform: translateX(-3px);
    color: white !important;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.sticky {
    padding: 0.9rem 0;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: white;
    letter-spacing: -1px;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
    padding: 3rem 1.5rem;
}

.mobile-menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 660px;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-bg-shapes .shape {
    position: absolute;
    filter: blur(100px);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -150px;
    right: -150px;
    opacity: 0.22;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    opacity: 0.18;
}

/* Social Proof */
.social-proof {
    padding: 3.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.section-tagline {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logo-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-gray);
    opacity: 0.75;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    color: white;
    transform: translateY(-2px);
}

.logo-item i {
    color: var(--primary);
}

/* Services Section */
.services {
    padding: 7rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(255, 101, 132, 0.15));
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--secondary);
    transform: translateX(4px);
}

/* Case Studies Section */
.case-studies {
    padding: 7rem 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.08);
}

.case-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 12, 16, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.case-content {
    padding: 2rem;
}

.case-metric {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.case-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.case-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Team Section */
.team {
    padding: 7rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    background: var(--bg-card-hover);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--primary);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card p {
    color: var(--text-gray);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.team-socials a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(255, 101, 132, 0.08));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    padding: 7rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-gray);
}

.detail i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);

}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.2);
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.form-feedback {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 0.5rem;
}

.form-feedback.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
}

/* Footer */
footer {
    padding: 5rem 0 3rem;
    background: #07080A;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-gray);
    margin-top: 1rem;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-hours h4,
.footer-social h4 {
    font-family: 'Syne', sans-serif;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-hours p {
    color: var(--text-gray);
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
