/* RS DEVELOPER - Masterpiece Stylesheet with Strict Code Wrapping & Mobile Containment */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-color: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-alt-2: #F1F5F9;
    --card-bg: #FFFFFF;
    --card-border: #E2E8F0;
    --blue-primary: #0076FF;
    --blue-secondary: #00D2FF;
    --blue-light: #E0F2FE;
    --orange-primary: #FF5E00;
    --orange-secondary: #FF9E00;
    --orange-light: #FFF7ED;
    --navy-dark: #0A192F;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.04);
    --shadow-medium: 0 10px 25px rgba(15, 23, 42, 0.06);
    --shadow-large: 0 18px 45px rgba(15, 23, 42, 0.09);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg-color);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #FFFFFF;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-bar {
    width: 150px;
    height: 4px;
    background: var(--bg-alt-2);
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.preloader-bar-inner {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    border-radius: 4px;
    animation: preloaderFill 1.1s ease-in-out forwards;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* === CUSTOM CURSOR (DESKTOP ONLY) === */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--blue-primary);
    position: fixed; top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 36px; height: 36px;
    border: 2px solid var(--orange-primary);
    position: fixed; top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
    width: 12px; height: 12px;
    background: var(--orange-primary);
}

body.cursor-hover .cursor-outline {
    width: 50px; height: 50px;
    border-color: var(--blue-primary);
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-secondary), var(--orange-primary), var(--orange-secondary));
    width: 0%; z-index: 10005;
    transition: width 0.05s linear;
}

/* === CANVAS & GRID BACKGROUND === */
#bg-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

.grid-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1; pointer-events: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy-dark);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    overflow-wrap: break-word;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 24px;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #00D2FF 0%, #0076FF 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #FF9E00 0%, #FF5E00 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-logo {
    background: linear-gradient(135deg, #005C97 0%, #0082FF 40%, #FF5E00 70%, #FF9E00 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ROCK-SOLID HEADER === */
header {
    position: fixed; top: 0; left: 0; right: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--card-border);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    height: 100%; width: 100%;
}

.logo-container {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 38px; width: auto; object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.2rem; font-weight: 900; letter-spacing: 0.5px;
    white-space: nowrap;
}

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

.nav-link {
    font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
    position: relative; padding: 6px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover { color: var(--navy-dark); }
.nav-link:hover::after { width: 100%; }

.nav-btn {
    padding: 9px 20px; border-radius: 50px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: white; font-weight: 700; font-size: 0.86rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 118, 255, 0.25);
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 118, 255, 0.35);
}

.mobile-toggle {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; cursor: pointer; background: transparent; border: none;
    padding: 8px; z-index: 1002;
}

.mobile-toggle span {
    display: block; width: 24px; height: 2.5px;
    background: var(--navy-dark); border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative;
    padding-top: 105px; padding-bottom: 50px;
    overflow: hidden;
    width: 100%;
}

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

.hero-blob.blob-blue {
    width: 380px; height: 380px;
    background: var(--blue-secondary);
    top: -50px; left: -100px;
    animation: blobFloat1 14s ease-in-out infinite;
}

.hero-blob.blob-orange {
    width: 340px; height: 340px;
    background: var(--orange-secondary);
    bottom: -50px; right: -80px;
    animation: blobFloat2 16s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 25px); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, -20px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px; align-items: center;
    width: 100%; position: relative; z-index: 2;
}

.hero-content { text-align: left; position: relative; z-index: 10; width: 100%; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(0, 118, 255, 0.08), rgba(0, 210, 255, 0.08));
    border: 1px solid rgba(0, 118, 255, 0.18);
    padding: 7px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 1px;
    max-width: 100%;
}

.hero-tag i { animation: pulse 2s infinite; }

.hero-title {
    font-size: 3.4rem; font-weight: 900;
    line-height: 1.1; margin-bottom: 20px;
    letter-spacing: -0.03em; color: var(--navy-dark);
}

.hero-sub {
    font-size: 1.12rem; color: var(--text-secondary);
    margin-bottom: 30px; font-weight: 500; line-height: 1.65;
    max-width: 560px;
}

.typewriter-text {
    border-right: 2px solid var(--orange-primary);
    animation: blink 0.8s step-end infinite;
    display: inline-block;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-btns {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-primary {
    padding: 14px 30px; border-radius: 50px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--orange-primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: white; font-weight: 700; border: none; font-size: 0.94rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 118, 255, 0.2);
    transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    white-space: nowrap;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 118, 255, 0.3);
}

.btn-secondary {
    padding: 14px 28px; border-radius: 50px;
    background: #FFFFFF;
    border: 1.5px solid var(--card-border);
    color: var(--text-secondary); font-weight: 700; font-size: 0.94rem;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-alt-2); color: var(--navy-dark);
    transform: translateY(-2px);
}

/* === HERO RIGHT: TERMINAL (WITH STRICT OVERFLOW CONTAINMENT) === */
.hero-visual-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.floating-badge {
    position: absolute;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    border: 1.5px solid var(--card-border);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 15;
    pointer-events: auto;
    transition: var(--transition);
    white-space: nowrap;
}

.floating-badge.badge-1 {
    top: -12px; left: -10px;
    animation: floatBadge1 5s ease-in-out infinite;
    color: var(--blue-primary);
}

.floating-badge.badge-2 {
    bottom: -12px; left: -10px;
    animation: floatBadge2 6s ease-in-out infinite;
    color: var(--orange-primary);
}

.floating-badge.badge-3 {
    top: 50%; right: -15px;
    animation: floatBadge3 5.5s ease-in-out infinite;
    color: #10B981;
}

@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(7px); }
}

@keyframes floatBadge3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.terminal-card {
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    text-align: left;
    height: 330px;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.terminal-header .dot {
    width: 10px; height: 10px; border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.terminal-tabs {
    display: flex; gap: 8px; margin-left: 10px;
}

.terminal-tab {
    color: #64748B; font-size: 0.75rem;
    font-family: var(--font-mono); font-weight: 500;
    padding: 2px 8px; border-radius: 4px;
    cursor: pointer; transition: var(--transition);
}

.terminal-tab.active {
    color: #93C5FD; background: rgba(255, 255, 255, 0.08); font-weight: 600;
}

/* === CRUCIAL FIX: TEXT WRAPPING INSIDE TERMINAL === */
.terminal-body {
    padding: 16px 18px;
    color: #E2E8F0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.terminal-body pre {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.terminal-code {
    font-family: inherit;
    font-size: inherit;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    display: block;
    max-width: 100%;
}

.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 2px; }

/* === STATS BAR === */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; width: 100%;
    margin-top: 45px; padding: 25px 0 5px;
    border-top: 1px solid var(--card-border);
    position: relative; z-index: 2;
}

.stat-item {
    text-align: left;
    padding: 8px 10px;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.2rem; font-weight: 900;
    color: var(--navy-dark);
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: 1.75rem; font-weight: 800;
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block; font-size: 0.8rem;
    color: var(--text-muted); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px;
}

/* === TECH MARQUEE BANNER === */
.tech-marquee {
    overflow: hidden;
    background: var(--bg-alt-2);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 16px 0;
    position: relative;
    width: 100%;
}

.tech-marquee-inner {
    display: flex; gap: 40px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.tech-marquee-inner span {
    font-size: 0.86rem; font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1.5px;
    white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
}

.tech-marquee-inner span i { font-size: 1.1rem; }
.tech-marquee-inner span .blue-icon { color: var(--blue-primary); }
.tech-marquee-inner span .orange-icon { color: var(--orange-primary); }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === GLASS CARD === */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-subtle);
    border-radius: 16px;
    transition: var(--transition);
    position: relative; overflow: hidden;
    width: 100%;
}

/* === SECTION COMMONS === */
section { padding: 80px 0; position: relative; width: 100%; }

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

.section-tag {
    font-size: 0.78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2.5px;
    display: inline-block; margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem; font-weight: 900; margin-bottom: 12px;
    color: var(--navy-dark);
}

.section-desc {
    color: var(--text-secondary); font-size: 1.02rem; font-weight: 500;
}

/* === SERVICES SECTION WITH FILTER TABS === */
.services-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--bg-alt-2);
    border: 1.5px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #FFFFFF;
    color: var(--navy-dark);
    border-color: var(--blue-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-primary));
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 118, 255, 0.25);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
    width: 100%;
}

.service-card {
    padding: 30px 24px; display: flex; flex-direction: column; height: 100%;
}

.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0%; height: 3px; transition: var(--transition);
}

.service-card.dev-card:hover::after {
    width: 100%;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-secondary));
}

.service-card.design-card:hover::after {
    width: 100%;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-medium);
}

.service-icon-wrap {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; margin-bottom: 18px;
    position: relative; z-index: 2;
}

.dev-card .service-icon-wrap {
    background: var(--blue-light);
    color: var(--blue-primary);
}

.design-card .service-icon-wrap {
    background: var(--orange-light);
    color: var(--orange-primary);
}

.service-card h3 {
    font-size: 1.2rem; margin-bottom: 10px; font-weight: 800;
}

.service-card p {
    color: var(--text-secondary); font-size: 0.9rem;
    line-height: 1.6; flex-grow: 1; font-weight: 500;
    margin-bottom: 16px;
}

.service-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
}

.service-tag-pill {
    font-size: 0.72rem; font-weight: 700;
    padding: 3px 8px; border-radius: 50px;
    background: var(--bg-alt-2); color: var(--text-secondary);
}

/* === 4-STEP WORKING PROCESS === */
.process-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.process-step-card {
    padding: 28px 20px;
    text-align: left;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.step-num {
    font-size: 1.85rem; font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 12px;
    display: inline-block;
}

.step-num.blue { color: var(--blue-primary); }
.step-num.orange { color: var(--orange-primary); }

.process-step-card h4 {
    font-size: 1.1rem; margin-bottom: 8px;
}

.process-step-card p {
    color: var(--text-secondary); font-size: 0.86rem;
    line-height: 1.55; font-weight: 500;
}

/* === PROJECT COST CALCULATOR WIDGET === */
.calculator-section { background: #FFFFFF; }

.calc-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 30px;
    align-items: center;
}

.calc-options h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.calc-chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}

.calc-chip {
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1.5px solid var(--card-border);
    font-size: 0.84rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
    user-select: none;
}

.calc-chip:hover {
    border-color: var(--blue-primary);
    background: #FFFFFF;
}

.calc-chip.active {
    background: var(--blue-light);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    font-weight: 700;
}

.calc-chip.active-orange {
    background: var(--orange-light);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    font-weight: 700;
}

.calc-result-box {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #0F2744 100%);
    padding: 28px 22px;
    border-radius: 16px;
    color: #FFFFFF;
    text-align: center;
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
}

.calc-badge {
    font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 10px; border-radius: 50px;
    display: inline-block; margin-bottom: 12px;
}

.calc-est-title {
    font-size: 0.88rem; color: #94A3B8; margin-bottom: 5px;
}

.calc-price {
    font-size: 2.2rem; font-weight: 900;
    color: #38BDF8; margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.calc-time {
    font-size: 0.84rem; color: #E2E8F0; margin-bottom: 18px;
}

.calc-cta-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 50px;
    background: #25D366;
    color: white;
    font-weight: 700; font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.calc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* === WHY US === */
.why-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 45px; align-items: center;
}

.why-left h2 { font-size: 2.4rem; margin-bottom: 16px; }
.why-left p { color: var(--text-secondary); margin-bottom: 26px; font-size: 1.02rem; font-weight: 500; }

.why-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.why-point-card { padding: 24px; text-align: left; }
.why-point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }

.why-point-card i { font-size: 1.7rem; margin-bottom: 14px; display: block; }

.why-point-card.blue i { color: var(--blue-primary); }
.why-point-card.orange i { color: var(--orange-primary); }

.why-point-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.why-point-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.5; margin: 0; font-weight: 500; }

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.team-card { padding: 20px; text-align: center; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-large); }

.team-img-wrap {
    width: 100%; aspect-ratio: 1/1;
    border-radius: 14px; overflow: hidden;
    margin-bottom: 18px; position: relative;
    border: 2px solid var(--card-border);
}

.team-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
}

.team-role {
    font-size: 0.76rem; font-weight: 800;
    color: var(--orange-primary);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}

.team-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }

.team-socials { display: flex; justify-content: center; gap: 10px; }

.team-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-alt-2); border: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-secondary);
    transition: var(--transition);
}

.team-btn:hover { color: white; transform: translateY(-2px); }

.team-btn.call:hover {
    background: var(--blue-primary); border-color: var(--blue-primary);
    box-shadow: 0 4px 12px rgba(0, 118, 255, 0.3);
}

.team-btn.whatsapp:hover {
    background: #25D366; border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* === FAQ SECTION === */
.faq-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
}

.faq-wrap {
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
}

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

.faq-item.active {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; user-select: none;
    font-weight: 700; font-size: 0.96rem;
    color: var(--navy-dark);
    gap: 10px;
}

.faq-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--bg-alt-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; color: var(--text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--blue-primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.9rem; line-height: 1.6; font-weight: 500;
}

.faq-item.active .faq-answer {
    padding-bottom: 18px;
}

/* === CONTACT SECTION === */
.contact-section { background: #FFFFFF; border-top: 1px solid var(--card-border); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 18px; }

.info-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-subtle); }

.info-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}

.info-icon.blue { background: var(--blue-light); color: var(--blue-primary); }
.info-icon.orange { background: var(--orange-light); color: var(--orange-primary); }

.info-details h4 { font-size: 1.05rem; margin-bottom: 4px; }
.info-details p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; font-weight: 500; }
.info-details a { display: block; color: var(--text-secondary); margin-bottom: 3px; font-weight: 500; font-size: 0.88rem; }
.info-details a:hover { color: var(--blue-primary); }

.contact-form-wrap { padding: 32px; }
.form-title { font-size: 1.5rem; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }

.form-input {
    width: 100%; padding: 13px 16px;
    background: var(--bg-alt); border: 1.5px solid var(--card-border);
    border-radius: 10px; color: var(--text-primary);
    font-family: var(--font-sans); font-size: 16px;
    font-weight: 500; outline: none; transition: var(--transition);
}

.form-input:focus {
    border-color: var(--blue-primary); background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 118, 255, 0.08);
}

.form-input::placeholder { color: var(--text-muted); font-size: 0.88rem; }

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

.form-submit {
    width: 100%; padding: 14px; border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-primary));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: white; font-weight: 700; font-size: 0.94rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 118, 255, 0.2);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

.form-submit:hover {
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.3);
}

/* === FOOTER === */
footer {
    background: var(--navy-dark); padding: 65px 0 28px; color: #CBD5E1;
}

footer h4 { color: #FFFFFF; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px; margin-bottom: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; }
.footer-desc { color: #94A3B8; font-size: 0.86rem; max-width: 300px; line-height: 1.6; }

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

.footer-social-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #94A3B8; transition: var(--transition);
    font-size: 0.95rem;
}

.footer-social-btn:hover {
    color: white; background: var(--blue-primary); border-color: var(--blue-primary);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 1rem; margin-bottom: 16px;
    position: relative; display: inline-block;
}

.footer-links-col h4::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 22px; height: 2px; background: var(--orange-primary); border-radius: 2px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94A3B8; font-size: 0.86rem; font-weight: 500; }
.footer-links a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    color: #64748B; font-size: 0.8rem;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 25px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-primary));
    color: white;
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 118, 255, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MOBILE BOTTOM FLOATING QUICK ACTION BAR === */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--card-border);
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
}

.mobile-bottom-inner {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.mobile-bar-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    transition: var(--transition);
}

.mobile-bar-btn.call-btn {
    background: var(--blue-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 118, 255, 0.25);
}

.mobile-bar-btn.wa-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

/* === SCROLL REVEAL ANIMATIONS (DESKTOP) === */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0; transform: translateX(-35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0; transform: translateX(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0; transform: scale(0.94);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active { opacity: 1; transform: scale(1); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.18s; }
.delay-300 { transition-delay: 0.26s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

/* ========================================================================= */
/* === RESPONSIVE BREAKPOINT <= 1024px (TABLETS, iPADS & MOBILE SCREENS) === */
/* ========================================================================= */

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none !important; }
    
    .reveal-left, .reveal-right {
        transform: translateY(25px) !important;
    }
    .reveal-left.active, .reveal-right.active {
        transform: translateY(0) !important;
    }
    
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        background: #FFFFFF;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 30px 20px 80px;
        gap: 16px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-top: 1px solid var(--card-border);
        overflow-y: auto;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-link {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--navy-dark);
        padding: 8px 16px;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li:last-child {
        width: 100%;
        max-width: 280px;
        margin-top: 10px;
    }
    
    .nav-menu .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 0.95rem;
    }

    .hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .hero-content { text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-title { font-size: 2.8rem; }
    .floating-badge { display: none !important; }
    .terminal-card { max-width: 480px; margin: 0 auto; height: 280px; }
    
    .why-grid { grid-template-columns: 1fr; gap: 35px; }
    .why-left { text-align: center; }
    .why-left .btn-primary { margin: 0 auto; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .calc-grid { grid-template-columns: 1fr; gap: 24px; }
    .calc-container { padding: 28px 20px; }
    
    body { padding-bottom: 60px; }
    .mobile-bottom-bar { display: block; }
}

@media (max-width: 768px) {
    section { padding: 55px 0; }
    .container { padding: 0 16px; }
    
    .hero {
        padding-top: 85px;
        min-height: auto;
        padding-bottom: 20px;
    }
    
    .hero-title { font-size: 2.1rem; }
    .hero-sub { font-size: 0.96rem; margin-bottom: 22px; }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 290px;
    }
    
    .terminal-card {
        height: 250px;
        border-radius: 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .terminal-body {
        font-size: 0.72rem;
        padding: 12px 14px;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 25px;
        padding: 18px 0 0;
    }
    
    .stat-number { font-size: 1.75rem; }
    .stat-plus { font-size: 1.45rem; }
    .stat-label { font-size: 0.72rem; }
    
    .section-title { font-size: 1.95rem; }
    .section-desc { font-size: 0.92rem; }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card { padding: 24px 18px; }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .why-points {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .why-left h2 { font-size: 1.95rem; }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 18px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .contact-form-wrap { padding: 24px 16px; }
    .form-title { font-size: 1.35rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 70px; right: 16px;
        width: 40px; height: 40px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    
    .hero-title { font-size: 1.75rem; }
    .hero-sub { font-size: 0.9rem; }
    .hero-tag { font-size: 0.68rem; padding: 5px 12px; }
    
    .terminal-card {
        height: 250px;
    }
    
    .terminal-body {
        font-size: 0.7rem;
        padding: 10px 12px;
        line-height: 1.5;
    }
    
    .section-title { font-size: 1.65rem; }
    .section-tag { font-size: 0.72rem; letter-spacing: 2px; }
    
    .services-filter-tabs { gap: 5px; }
    .filter-btn { padding: 6px 12px; font-size: 0.76rem; }
    
    .calc-container { padding: 20px 12px; }
    .calc-chip { padding: 7px 11px; font-size: 0.76rem; }
    .calc-price { font-size: 1.9rem; }
    .calc-cta-btn { font-size: 0.86rem; padding: 11px; }
    
    .faq-question { padding: 14px 16px; font-size: 0.9rem; }
    .faq-answer { padding: 0 16px; font-size: 0.85rem; }
    .faq-item.active .faq-answer { padding-bottom: 14px; }
    
    .stat-number { font-size: 1.5rem; }
    .stat-plus { font-size: 1.25rem; }
    .stat-label { font-size: 0.68rem; }
    
    .footer-desc { font-size: 0.82rem; }
}

@media (max-width: 360px) {
    .logo-text { font-size: 1rem; }
    .hero-title { font-size: 1.55rem; }
    .btn-primary, .btn-secondary { font-size: 0.85rem; padding: 11px 18px; }
    .service-card h3 { font-size: 1.1rem; }
    .terminal-body { font-size: 0.66rem; }
}
