/* ============================================
   ACQUILEADZ PREMIUM BRAND STYLING
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800&display=swap');

/* BRAND COLORS */
:root {
    --navy: #0A1927;
    --navy-alt: #0F2335;
    --navy-deep: #06101A;
    --white: #ffffff;
    --cyan: #2BB7DA;
    --cyan-light: #3DC8E8;
    --gray: #94A6B8;
    --muted: #B8C4D3;
    --surface: rgba(255,255,255,0.04);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-alt: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: 
        radial-gradient(circle at 30% 20%, rgba(43, 183, 218, 0.12), transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(43, 183, 218, 0.08), transparent 30%),
        linear-gradient(180deg, #06101A 0%, #0A1927 50%, #06101A 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

/* SMOOTH REVEAL ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), 
                transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGER ANIMATION DELAYS */
.fade-in:nth-child(1) { transition-delay: 0ms; }
.fade-in:nth-child(2) { transition-delay: 50ms; }
.fade-in:nth-child(3) { transition-delay: 100ms; }
.fade-in:nth-child(4) { transition-delay: 150ms; }
.fade-in:nth-child(5) { transition-delay: 200ms; }

/* NAVIGATION -------------------------------------- */
.nav {
    --header-height: 72px;
    width: 100%;
    height: var(--header-height);
    padding: 0 40px;
    background: rgba(6, 16, 26, 0.80);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 1px 0 rgba(255,255,255,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    --header-height: 64px;
    background: rgba(6, 16, 26, 0.95);
    backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* LOGO */
.nav-logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-logo a:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: calc(var(--header-height) - 4px);
    max-height: calc(var(--header-height) - 4px);
    width: auto;
    object-fit: contain;
    margin-left: -6px;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
    background-color: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
}

.cta-btn {
    padding: 10px 22px !important;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
    color: var(--navy-deep) !important;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(43, 183, 218, 0.3);
    letter-spacing: 0.01em;
    border: none;
}

.cta-btn:hover {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(43, 183, 218, 0.4) !important;
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 100%) !important;
}

.cta-btn.active {
    background: linear-gradient(135deg, #1ca6c8 0%, #1a9ab8 100%);
}

/* HERO SECTION - SPLIT LAYOUT -------------------------------------- */
.hero {
    min-height: 75vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 80px 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1400px;
    height: 1400px;
    background: radial-gradient(circle, rgba(43, 183, 218, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 40px;
}

.hero-content h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-title-line {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-alt);
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-arrow {
    font-size: 40px;
    color: var(--cyan);
    margin: -8px 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-content p {
    font-size: 22px;
    max-width: 540px;
    margin-bottom: 40px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(43, 183, 218, 0.1) 0%, rgba(43, 183, 218, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero-image-placeholder {
    font-size: 72px;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    font-family: var(--font-alt);
    text-align: center;
    line-height: 1.2;
}

/* CTA BUTTONS */
.cta-btn-large {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
    color: var(--navy-deep);
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 32px rgba(43, 183, 218, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-btn-large:hover::before {
    left: 100%;
}

.cta-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(43, 183, 218, 0.5);
}

.cta-btn-outline {
    display: inline-block;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

/* METRICS BAND ------------------------------------------- */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    padding: 120px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 183, 218, 0.5), transparent);
}

.metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric:hover::before {
    transform: scaleX(1);
}

.metric:hover {
    transform: translateY(-8px);
    border-color: rgba(43, 183, 218, 0.4);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.metric h4 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-family: var(--font-alt);
}

.metric p {
    color: var(--muted);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.metric-disclaimer {
    display: block;
    font-size: 12px;
    color: var(--gray);
    font-style: italic;
    margin-top: 8px;
}

/* VALUE PROPS ---------------------------------------- */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 120px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.value-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    padding: 48px 40px;
    border-radius: 24px;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-box:hover::before {
    transform: scaleX(1);
}

.value-box:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    transform: translateY(-10px);
    border-color: rgba(43, 183, 218, 0.4);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.value-box h3 {
    margin-bottom: 16px;
    font-size: 28px;
    color: var(--white);
    font-family: var(--font-alt);
    font-weight: 700;
}

.value-box p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

/* SERVICES PREVIEW ---------------------------------------- */
.services-preview {
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    color: var(--navy);
    text-align: center;
    padding: 120px 80px;
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(6, 16, 26, 1) 0%, rgba(6, 16, 26, 0) 100%);
    pointer-events: none;
}

.services-preview h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--font-alt);
}

.services-preview p {
    margin-bottom: 60px;
    color: #4a5568;
    font-size: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(10, 25, 39, 0.95) 0%, rgba(15, 35, 53, 0.95) 100%);
    color: var(--white);
    padding: 32px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 183, 218, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(43, 183, 218, 0.5);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

/* FEATURE GRID - BENTO LAYOUT ------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 120px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(43, 183, 218, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(43, 183, 218, 0.5);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    font-family: var(--font-alt);
    font-weight: 700;
    color: var(--white);
}

.feature-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

/* PROCESS TIMELINE --------------------------------------- */
.process {
    padding: 120px 80px;
    background: linear-gradient(180deg, #f5f7fb 0%, #e8ecf2 100%);
    color: var(--navy);
    max-width: 1400px;
    margin: 60px auto;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
}

.process h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: var(--font-alt);
    letter-spacing: -0.02em;
}

.process p.subtext {
    text-align: center;
    color: #56606c;
    margin-bottom: 80px;
    font-size: 20px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.step {
    background: #ffffff;
    border: 1px solid #e4e8ef;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-light));
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover::before {
    height: 100%;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: rgba(43, 183, 218, 0.3);
}

.step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-alt);
}

.step p {
    color: #3c4753;
    font-size: 16px;
    line-height: 1.6;
}

/* CTA STRIP ---------------------------------------------- */
.cta-strip {
    padding: 100px 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(43, 183, 218, 0.2) 0%, rgba(10, 25, 39, 0.95) 60%);
    color: var(--white);
    max-width: 1400px;
    margin: 0 auto 80px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(43, 183, 218, 0.15) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-strip h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 800;
    font-family: var(--font-alt);
    position: relative;
    z-index: 1;
}

.cta-strip p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.cta-strip .cta-btn-large {
    position: relative;
    z-index: 1;
}

/* SERVICES PAGE FULL GRID ----------------------------------- */
.services-header {
    padding: 140px 80px 100px;
    text-align: center;
    background: 
        radial-gradient(circle at 25% 25%, rgba(43,183,218,0.2), transparent 40%),
        radial-gradient(circle at 75% 20%, rgba(43,183,218,0.15), transparent 35%),
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.services-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: var(--font-alt);
}

.services-header p {
    font-size: 20px;
    color: var(--muted);
}

.services-grid {
    padding: 100px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    color: var(--navy);
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
}

.service-detail {
    padding: 48px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border-radius: 20px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e4e8ef;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail:hover::before {
    transform: scaleX(1);
}

.service-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: rgba(43, 183, 218, 0.3);
}

.service-detail h3 {
    margin-bottom: 16px;
    font-size: 26px;
    color: var(--navy);
    font-weight: 700;
    font-family: var(--font-alt);
}

.service-detail p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 17px;
}

/* CONTACT PAGE ------------------------------------------- */
.contact-header {
    padding: 140px 80px 100px;
    text-align: center;
    background: 
        radial-gradient(circle at 30% 30%, rgba(43,183,218,0.2), transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(43,183,218,0.15), transparent 35%),
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.contact-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: var(--font-alt);
}

.contact-header p {
    font-size: 20px;
    color: var(--muted);
}

.contact-form-section {
    padding: 80px 80px 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    color: var(--navy);
    display: flex;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 20px;
    border: 2px solid #e4e8ef;
    border-radius: 12px;
    font-size: 17px;
    font-family: var(--font-main);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    color: var(--navy);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(43, 183, 218, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #FF5F57;
}

.contact-form .error-message {
    color: #FF5F57;
    font-size: 14px;
    margin-top: -16px;
    display: none;
}

.contact-form .error-message.visible {
    display: block;
}

.contact-form button[type="submit"] {
    position: relative;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ABOUT PAGE --------------------------------------------- */
.about-hero {
    padding: 140px 80px 100px;
    text-align: center;
    background: 
        radial-gradient(circle at 35% 25%, rgba(43,183,218,0.2), transparent 40%),
        radial-gradient(circle at 65% 15%, rgba(43,183,218,0.15), transparent 35%),
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: var(--font-alt);
}

.about-hero p {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 20px;
}

.about-grid {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    color: var(--navy);
    padding: 80px 80px 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border: 1px solid #e4e8ef;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: rgba(43, 183, 218, 0.3);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-photo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 183, 218, 0.2), rgba(10, 25, 39, 0.8));
    border: 3px solid rgba(43, 183, 218, 0.3);
    color: var(--white);
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(43, 183, 218, 0.3);
}

.profile-role {
    color: #56606c;
    font-weight: 600;
    margin-top: 4px;
    font-size: 15px;
}

.about-card h3 {
    margin-bottom: 0;
    font-size: 24px;
    font-family: var(--font-alt);
    font-weight: 700;
}

.about-card p {
    color: #3f4957;
    font-size: 17px;
    line-height: 1.6;
}

/* FOOTER ------------------------------------------------- */
footer {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(180deg, rgba(6,16,26,0.98) 0%, rgba(6,16,26,1) 100%);
    color: var(--muted);
    border-top: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.01em;
    font-size: 15px;
}

/* 3D DASHBOARD ANIMATION */
.dashboard-3d {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: none;
    will-change: transform;
}

.dashboard-3d svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Glow effect on hover */
.hero-image-container:hover .dashboard-3d {
    filter: drop-shadow(0 0 40px rgba(43, 183, 218, 0.4));
}

/* RESPONSIVE ------------------------------------------------ */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 100px 60px 80px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-title-line {
        font-size: 52px;
    }
    
    .hero-arrow {
        font-size: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 800px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        --header-height: 80px;
        flex-wrap: wrap;
        padding: 12px 24px;
    }

    .nav-logo img {
        height: 60px;
        max-height: 60px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: rgba(6, 16, 26, 0.98);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        padding: 20px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        padding: 16px 20px;
        text-align: left;
        border-radius: 0;
    }
    
    .hero {
        padding: 80px 40px 60px;
    }
    
    .hero-title-line {
        font-size: 42px;
    }
    
    .hero-arrow {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .metrics,
    .values,
    .feature-grid,
    .process,
    .services-grid,
    .about-grid,
    .contact-form-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .services-preview h2,
    .services-header h1,
    .contact-header h1,
    .about-hero h1 {
        font-size: 38px;
    }
    
    .process h2 {
        font-size: 36px;
    }
    
    .metric h4 {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero-title-line {
        font-size: 32px;
    }
    
    .hero-arrow {
        font-size: 28px;
    }
    
    .nav-logo img {
        height: 52px;
        max-height: 52px;
    }
    
    .metrics,
    .values,
    .feature-grid,
    .process,
    .services-grid,
    .about-grid,
    .contact-form-section {
        padding-left: 24px;
        padding-right: 24px;
        gap: 24px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATED SPIRAL PROCESS FLOW
   ============================================ */

/* PROCESS FLOW CONTAINER */
.process-flow-container {
    padding: 120px 40px;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.process-flow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 183, 218, 0.5), transparent);
}

.process-flow-intro {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.process-flow-intro h2 {
    font-size: 52px;
    font-weight: 800;
    font-family: var(--font-alt);
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.process-flow-intro .subtext {
    font-size: 20px;
    color: var(--muted);
}

/* SPIRAL PROCESS */
.spiral-process {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px 80px;
}

/* FLOW STEPS */
.flow-step {
    position: relative;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Alternating pattern - zigzag */
.flow-step[data-step="1"],
.flow-step[data-step="3"],
.flow-step[data-step="5"] {
    padding-left: 0;
    padding-right: 40%;
}

.flow-step[data-step="2"],
.flow-step[data-step="4"] {
    padding-left: 40%;
    padding-right: 0;
}

.flow-step[data-step="6"] {
    padding-left: 20%;
    padding-right: 20%;
}

/* STEP BOX */
.step-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    border: 2px solid rgba(43, 183, 218, 0.3);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-box:hover {
    transform: translateY(-8px);
    border-color: rgba(43, 183, 218, 0.6);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(43, 183, 218, 0.3);
}

.step-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
    border-radius: 24px 24px 0 0;
}

/* Final step special styling */
.step-final {
    background: linear-gradient(135deg, rgba(43, 183, 218, 0.15) 0%, rgba(43, 183, 218, 0.08) 100%);
    border-color: rgba(43, 183, 218, 0.5);
}

.step-final::before {
    background: linear-gradient(90deg, #28C840, var(--cyan-light));
}

/* STEP NUMBER */
.step-number {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy-deep);
    box-shadow: 0 8px 24px rgba(43, 183, 218, 0.5);
    border: 3px solid var(--navy);
}

/* ANIMATED TEXT - Letter by letter */
.animated-text {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-alt);
    color: var(--white);
    margin-bottom: 12px;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.animated-text .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateX(-90deg);
    animation: letterDrop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger the letter animations */
.flow-step.visible .letter:nth-child(1) { animation-delay: 0.05s; }
.flow-step.visible .letter:nth-child(2) { animation-delay: 0.1s; }
.flow-step.visible .letter:nth-child(3) { animation-delay: 0.15s; }
.flow-step.visible .letter:nth-child(4) { animation-delay: 0.2s; }
.flow-step.visible .letter:nth-child(5) { animation-delay: 0.25s; }
.flow-step.visible .letter:nth-child(6) { animation-delay: 0.3s; }
.flow-step.visible .letter:nth-child(7) { animation-delay: 0.35s; }
.flow-step.visible .letter:nth-child(8) { animation-delay: 0.4s; }
.flow-step.visible .letter:nth-child(9) { animation-delay: 0.45s; }
.flow-step.visible .letter:nth-child(10) { animation-delay: 0.5s; }
.flow-step.visible .letter:nth-child(11) { animation-delay: 0.55s; }
.flow-step.visible .letter:nth-child(12) { animation-delay: 0.6s; }
.flow-step.visible .letter:nth-child(13) { animation-delay: 0.65s; }
.flow-step.visible .letter:nth-child(14) { animation-delay: 0.7s; }
.flow-step.visible .letter:nth-child(15) { animation-delay: 0.75s; }
.flow-step.visible .letter:nth-child(16) { animation-delay: 0.8s; }

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(-90deg);
    }
    50% {
        transform: translateY(-5px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.step-box p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

/* ARROW CONNECTORS */
.arrow-connector {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.arrow-down-right {
    bottom: -100px;
    right: 20%;
}

.arrow-down-left {
    bottom: -100px;
    left: 20%;
}

.arrow-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.arrow-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-head {
    opacity: 0;
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Animate arrows when step becomes visible */
.flow-step.visible .arrow-path {
    stroke-dashoffset: 0;
}

.flow-step.visible .arrow-head {
    opacity: 1;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* SUCCESS BADGE */
.success-badge {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.success-circle {
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
}

.success-check {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

.flow-step.visible .success-circle {
    animation: drawCircle 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.flow-step.visible .success-check {
    animation: drawCheck 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* PROCESS FLOW CTA */
.process-flow-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.process-flow-cta p {
    font-size: 22px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* PROGRESS BAR */
.process-progress-bar {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(43, 183, 218, 0.2);
    border-radius: 2px;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 0;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-light));
    transition: height 0.3s ease-out;
    box-shadow: 0 0 20px rgba(43, 183, 218, 0.6);
}

/* RESPONSIVE - PROCESS FLOW */
@media (max-width: 800px) {
    .process-flow-container {
        padding: 80px 24px;
    }

    .process-flow-intro h2 {
        font-size: 38px;
    }

    .spiral-process {
        padding: 20px 10px 40px;
    }

    .flow-step {
        margin-bottom: 100px;
    }

    /* Stack all steps vertically on mobile */
    .flow-step[data-step="1"],
    .flow-step[data-step="2"],
    .flow-step[data-step="3"],
    .flow-step[data-step="4"],
    .flow-step[data-step="5"],
    .flow-step[data-step="6"] {
        padding-left: 0;
        padding-right: 0;
    }

    .step-box {
        padding: 32px 24px;
    }

    .animated-text {
        font-size: 24px;
    }

    .arrow-connector {
        display: none; /* Hide arrows on mobile for cleaner look */
    }
    
    .process-progress-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .process-flow-intro h2 {
        font-size: 32px;
    }

    .animated-text {
        font-size: 22px;
    }

    .step-box p {
        font-size: 16px;
    }
}
