:root {
    --bg-dark: #120909;
    --bg-darker: #0c0505;
    --bg-gradient: linear-gradient(135deg, #2b1212 0%, #0c0505 100%);
    --primary-color: #ff3300;
    --primary-hover: #cc2900;
    --primary-gradient: linear-gradient(90deg, #ff0000, #ff6600);
    --primary-gradient-diag: linear-gradient(135deg, #ff0000, #ff6600);
    --secondary-accent: #ffb703;
    --text-main: #ffffff;
    --text-muted: #b5a8a8;
    --border-color: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: cubic-bezier(0.45, 0, 0.55, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ═══ Background Ambient Effect ═══ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(255, 51, 0, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(255, 183, 3, 0.07) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 0, 0.04) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* ═══ Gradient Text Utility ═══ */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ═══ Typography ═══ */
h1 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ═══ Section Label ═══ */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

/* ═══ Scroll Reveal ═══ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 51, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 51, 0, 0.65);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ═══ Navbar ═══ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(12, 5, 5, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: calc(100% - 4rem);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 12px rgba(255, 51, 0, 0.5);
}

.logo-text {
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.05rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-actions .btn {
    padding: 0.5rem 1.3rem;
    font-size: 0.88rem;
}

/* === Mobile Menu === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 5, 5, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
}

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

/* ═══ Sections Global ═══ */
.section {
    padding: 7rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-darker {
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
.hero {
    display: flex;
    align-items: center;
    padding: 180px 0 80px;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 51, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 51, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 6px #22c55e; }
    50%       { box-shadow: 0 0 14px #22c55e, 0 0 28px rgba(34,197,94,0.4); }
}

.hero-content p {
    margin-bottom: 1.8rem;
    font-size: 1.12rem;
}

/* Tech Badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.2rem;
}

.tech-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.tech-badge:hover {
    background: rgba(255, 51, 0, 0.15);
    border-color: rgba(255, 51, 0, 0.4);
    color: white;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%       { transform: translateY(8px); opacity: 1; }
}

/* ═══ Right Column: 3D Phone Mockup ═══ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1400px;
}

/* Glow ring behind phone */
.phone-glow-ring {
    position: absolute;
    width: 340px;
    height: 660px;
    border-radius: 44px;
    background: transparent;
    border: 1px solid rgba(255, 51, 0, 0.15);
    box-shadow:
        0 0 60px rgba(255, 51, 0, 0.18),
        0 0 120px rgba(255, 102, 0, 0.12),
        inset 0 0 60px rgba(255, 51, 0, 0.05);
    animation: glowPulse 4s var(--transition-smooth) infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow:
            0 0 50px rgba(255, 51, 0, 0.15),
            0 0 100px rgba(255, 102, 0, 0.08);
        opacity: 0.7;
    }
    50% {
        box-shadow:
            0 0 80px rgba(255, 51, 0, 0.3),
            0 0 160px rgba(255, 102, 0, 0.18),
            0 0 240px rgba(255, 51, 0, 0.08);
        opacity: 1;
    }
}

/* Improved idle animation — more fluid with cubic-bezier */
@keyframes phoneIdle {
    0%   { transform: rotateY(-20deg) rotateX(14deg) rotateZ(-5deg) translateY(0px) scaleX(1); }
    25%  { transform: rotateY(-17deg) rotateX(11deg) rotateZ(-4deg) translateY(-6px) scaleX(1.002); }
    50%  { transform: rotateY(-13deg) rotateX(9deg)  rotateZ(-3deg) translateY(-14px) scaleX(1.003); }
    75%  { transform: rotateY(-17deg) rotateX(12deg) rotateZ(-4.5deg) translateY(-6px) scaleX(1.001); }
    100% { transform: rotateY(-20deg) rotateX(14deg) rotateZ(-5deg) translateY(0px) scaleX(1); }
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: linear-gradient(160deg, #28282e, #1a1a20);
    border-radius: 42px;
    padding: 12px;
    box-shadow:
        -24px 28px 60px rgba(0, 0, 0, 0.6),
        -6px 6px 18px rgba(255, 51, 0, 0.25),
        2px -2px 12px rgba(255, 255, 255, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.4);
    transform: rotateY(-20deg) rotateX(14deg) rotateZ(-5deg);
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    animation: phoneIdle 6s var(--transition-smooth) infinite;
    will-change: transform;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup.is-tracking {
    animation: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0e0e12;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    gap: 12px;
}

/* Screen reflection */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--rx, 30%) var(--ry, 20%),
            rgba(255, 255, 255, 0.10) 0%,
            transparent 65%);
    pointer-events: none;
    z-index: 10;
    transition: background 0.12s ease-out;
}

/* Screen top edge highlight */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
    z-index: 11;
}

/* Bar chart animation */
.bar-anim {
    animation: barGrow 2.5s ease-in-out infinite alternate;
    transform-origin: bottom;
}

@keyframes barGrow {
    0%   { transform: scaleY(0.75); }
    100% { transform: scaleY(1); }
}

.bar-anim:nth-child(2) { animation-delay: 0.2s; }
.bar-anim:nth-child(3) { animation-delay: 0.4s; }
.bar-anim:nth-child(4) { animation-delay: 0.6s; }
.bar-anim:nth-child(5) { animation-delay: 0.8s; }
.bar-anim:nth-child(6) { animation-delay: 1.0s; }
.bar-anim:nth-child(7) { animation-delay: 1.2s; }

/* Phone Inner Details */
.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 6px;
    flex-shrink: 0;
}

/* ═══ Particles ═══ */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 5s ease-in-out infinite;
}

.particle-plus {
    position: absolute;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    animation: particlePlus 7s linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1);    opacity: 0.3; }
    33%       { transform: translateY(-18px) translateX(8px) scale(1.1); opacity: 0.9; }
    66%       { transform: translateY(-8px) translateX(-6px) scale(0.9);  opacity: 0.6; }
}

@keyframes particlePlus {
    0%   { opacity: 0;   transform: translateY(0)    scale(0.5); }
    15%  { opacity: 0.6; }
    85%  { opacity: 0.4; }
    100% { opacity: 0;   transform: translateY(-80px) scale(1); }
}

/* ═══════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Top gradient border line */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 51, 0, 0.25);
    box-shadow: 0 20px 50px rgba(255, 51, 0, 0.12), 0 0 0 1px rgba(255,51,0,0.08);
}

/* Featured/center card */
.service-card--featured {
    background: linear-gradient(160deg, rgba(255,51,0,0.08), rgba(255,102,0,0.04));
    border-color: rgba(255, 51, 0, 0.2);
}

.service-card--featured::before {
    opacity: 1;
}

.service-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,51,0,0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-icon {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
    color: white;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags li {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(255, 51, 0, 0.1);
    border: 1px solid rgba(255, 51, 0, 0.2);
    border-radius: 50px;
    padding: 0.25rem 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════
   PORTFOLIO SECTION
═══════════════════════════════════ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: rgba(255, 51, 0, 0.4);
    color: white;
}

.filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 14px rgba(255, 51, 0, 0.4);
}

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

.portfolio-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 51, 0, 0.15);
    border-color: rgba(255, 51, 0, 0.2);
}

.portfolio-img {
    height: 210px;
    background: linear-gradient(45deg, #1a1515, #2b1c1c);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

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

.portfolio-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(18,9,9,0.5) 100%);
    transition: background 0.35s ease;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-img-overlay {
    background: linear-gradient(to bottom, rgba(255,51,0,0.1) 0%, rgba(18,9,9,0.6) 100%);
}

.portfolio-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    background: var(--primary-gradient);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    z-index: 2;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: white;
}

.portfolio-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tech-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.portfolio-cta p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 51, 0, 0.2);
    box-shadow: 0 12px 40px rgba(255, 51, 0, 0.1);
}

.stat-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-item:hover .contact-icon {
    border-color: rgba(255, 51, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.1);
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    padding: 0.9rem 1.3rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12);
    background: rgba(0, 0, 0, 0.35);
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    padding: 5rem 0 3rem;
    background: linear-gradient(to top, rgba(12, 5, 5, 0.9), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2rem;
}

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

.footer-links-col ul li a,
.footer-links-col ul li {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}

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

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 0, 0.4);
}

.footer-partners {
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
}

.partner {
    opacity: 0.3;
    color: white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.partner:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(12, 5, 5, 0.8);
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════
   RESPONSIVENESS
═══════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .navbar-container {
        width: 100%;
        border-radius: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions, .tech-badges {
        justify-content: center;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .phone-mockup {
        transform: rotateY(0deg) rotateX(8deg) rotateZ(0deg);
        animation: phoneIdleMobile 6s var(--transition-smooth) infinite;
    }

    @keyframes phoneIdleMobile {
        0%, 100% { transform: rotateY(0deg) rotateX(8deg) rotateZ(0deg) translateY(0px); }
        50%       { transform: rotateY(0deg) rotateX(5deg) rotateZ(0deg) translateY(-10px); }
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        flex-direction: column;
    }

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

@media (max-width: 600px) {
    h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

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

    .hero {
        padding-top: 120px;
    }

    .section {
        padding: 5rem 0;
    }

    .partner {
        font-size: 0.9rem !important;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phone-glow-ring {
        width: 280px;
        height: 560px;
    }

    .services-grid {
        max-width: 100%;
    }
}
/* ═══════════════════════════════════
   HUBSPOT FORM — DARK THEME OVERRIDES
═══════════════════════════════════ */

/* Wrapper: glassmorphism card matching the design system */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Form base */
.hbspt-form form,
.hs-form {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
}

/* Field groups */
.hs-form .hs-form-field {
    margin-bottom: 1.2rem !important;
}

/* Labels */
.hs-form label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
}

/* Inputs, textareas, selects */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form input[type="url"],
.hs-form select,
.hs-form textarea {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    padding: 0.85rem 1.1rem !important;
    outline: none !important;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.hs-form input::placeholder,
.hs-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Focus states */
.hs-form input[type="text"]:focus,
.hs-form input[type="email"]:focus,
.hs-form input[type="tel"]:focus,
.hs-form select:focus,
.hs-form textarea:focus {
    border-color: rgba(255, 51, 0, 0.5) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12) !important;
}

/* Select dropdown */
.hs-form select {
    cursor: pointer !important;
}

.hs-form select option {
    background: #1a0a0a !important;
    color: white !important;
}

/* Checkboxes & Radios */
.hs-form input[type="checkbox"],
.hs-form input[type="radio"] {
    accent-color: #ff3300 !important;
    cursor: pointer !important;
}

/* Two-column layout */
.hs-form .form-columns-2 .hs-form-field {
    width: 50% !important;
    float: left !important;
    padding-right: 0.75rem !important;
}
.hs-form .form-columns-2 .hs-form-field:last-child {
    padding-right: 0 !important;
    padding-left: 0.75rem !important;
}
.hs-form .form-columns-2::after {
    content: '';
    display: table;
    clear: both;
}

/* Submit button — matches btn-primary style */
.hs-form input[type="submit"],
.hs-form .hs-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0.85rem 1.75rem !important;
    border-radius: 50px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    border: none !important;
    background: linear-gradient(90deg, #ff0000, #ff6600) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(255, 51, 0, 0.45) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-top: 0.5rem !important;
}

.hs-form input[type="submit"]:hover,
.hs-form .hs-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(255, 51, 0, 0.65) !important;
}

/* Validation error messages */
.hs-form .hs-error-msgs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.3rem 0 0 !important;
}
.hs-form .hs-error-msgs label {
    color: #ff6b6b !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
}
.hs-form .hs-input.error,
.hs-form input.error,
.hs-form select.error,
.hs-form textarea.error {
    border-color: rgba(255, 107, 107, 0.6) !important;
}

/* GDPR / legal consent */
.hs-form .hs-richtext,
.hs-form .hs-field-desc,
.legal-consent-container p {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
}
.legal-consent-container a {
    color: #ff3300 !important;
}

/* Success message */
.hbspt-form .submitted-message {
    text-align: center !important;
    padding: 2rem !important;
    color: #22c55e !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* ═══════════════════════════════════
   CUSTOM CONTACT FORM (PHP + HubSpot API)
═══════════════════════════════════ */

/* Grid layout for form rows */
.cform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

/* Individual field wrapper */
.cform-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

/* Labels */
.cform-field label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    letter-spacing: 0.2px;
}

.cform-req {
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 2px;
}

/* Inputs, textareas, selects */
.cform-field input,
.cform-field textarea,
.cform-field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    padding: 0.8rem 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.cform-field input::placeholder,
.cform-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

/* Focus */
.cform-field input:focus,
.cform-field textarea:focus,
.cform-field select:focus {
    border-color: rgba(255, 51, 0, 0.55);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12);
}

/* Select arrow */
.cform-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.65);
}

.cform-field select option {
    background: #1a0808;
    color: #ffffff;
}

/* Feedback messages */
.cf-feedback {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: none;
}

.cf-feedback--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.cf-feedback--error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: #ff8585;
}

/* Submit button disabled state */
.cf-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive: stack to single column on mobile */
@media (max-width: 480px) {
    .cform-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════
   MEETING BUTTON & DIVIDER
═══════════════════════════════════ */

/* Meeting button — amber/calendar accent to stand out from red CTAs */
.btn-meeting {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 183, 3, 0.55);
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-meeting:hover {
    background: rgba(255, 183, 3, 0.12);
    border-color: rgba(255, 183, 3, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 183, 3, 0.2);
    color: #ffb703;
}

/* Full-width variant used inside the contact form wrapper */
.btn-meeting--full {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

/* "ou" divider between form and meeting button */
.meeting-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
    text-align: center;
}

.meeting-divider::before,
.meeting-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.meeting-divider span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    flex-shrink: 0;
}
