/* --- RESET & ROOT CUSTOM PROPERTIES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --accent: #ff6b00;         
    --accent-hover: #e05e00;      
    --text-main: #ffffff;         
    --text-muted: #a3a3a3;        
    --border: #262626;            
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    scrollbar-width: none; 
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { display: none; }

/* --- PURE OPAC-SCALE SITE FADE ENTRANCE --- */
.delayed-landing {
    animation: siteLandingFade 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both;
    transform: translateZ(0);
    will-change: opacity, transform;
}

@keyframes siteLandingFade {
    0% { opacity: 0; transform: scale(0.995); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- ACTIVE STATE HIGHLIGHT ANCHOR PULSE STYLES --- */
.highlight-target-block {
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.activated-pulse {
    animation: pulseHighlightBorder 1.5s ease-in-out 3;
    border-color: var(--accent);
    background-color: rgba(255, 107, 0, 0.04);
}

@keyframes pulseHighlightBorder {
    0% { box-shadow: 0 0 0 0px rgba(255, 107, 0, 0.4); }
    50% { box-shadow: 0 0 12px 2px rgba(255, 107, 0, 0.2); }
    100% { box-shadow: 0 0 0 0px rgba(255, 107, 0, 0); }
}

/* --- UTILITIES & LAYOUTS --- */
.max-width {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.items-center { align-items: center; }

.grid { display: grid; gap: 3rem; }
.grid-2-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- MIDDLE TEXT CENTERING HOOK VALUES --- */
.text-center-alignment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-center-desc {
    text-align: center !important;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

/* --- NAVIGATION HEADER & HAMBURGER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: none; 
}

.nav-container {
    height: 5.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.brand-logo-img {
    height: 3.75rem; 
    width: auto;
    object-fit: contain;
}

.nav-links a, .nav-about-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-about-link:hover {
    color: var(--text-main);
}

.mobile-only-link { display: none; }

/* 3-BAR HAMBURGER TOGGLE BUTTON */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent);
}

/* --- BUTTON UTILITIES --- */
.btn {
    display: inline-block;
    padding: 0.55rem 1.5rem; 
    border-radius: 0.375rem; 
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-color: transparent;
}

.nav-inquiry-btn {
    color: var(--text-main);
    border: 1px solid var(--accent); 
}

.nav-inquiry-btn:hover {
    background-color: transparent !important;
    color: var(--text-main) !important;
    border-color: var(--text-main) !important; 
}

.btn-secondary.dist-btn {
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--accent); 
}

.btn-secondary.dist-btn:hover {
    background-color: transparent !important;
    color: var(--text-main) !important;
    border-color: var(--text-main) !important; 
}

.btn-submit.form-submit-btn {
    color: var(--text-main);
    border: 1px solid var(--accent); 
    background-color: rgba(255, 255, 255, 0.03);
}

.partial-orange-text { color: var(--accent); }

.btn-submit.form-submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.03) !important; 
    color: var(--text-main) !important;
    border-color: var(--text-main) !important; 
}

.theme-white-heading {
    color: var(--text-main) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: calc(100vh - 5.5rem);
    max-height: 750px; 
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient { color: var(--accent); }

.font-underline {
    text-decoration: underline;
    text-decoration-color: var(--accent); 
    text-decoration-thickness: 1px;       
    text-underline-offset: 8px;           
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.link-arrow {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.link-arrow:hover { color: #fff; }
.link-arrow span { transition: transform 0.2s; color: var(--accent); }

/* --- HERO VISUAL SHOWCASE --- */
.hero-visual-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-showcase-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 32rem;
    animation: floatingFloat 6s ease-in-out infinite;
}

.product-standalone-img {
    width: 90%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

.product-floating-meta {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 0, 0.15); 
    padding-top: 1rem;
    width: 80%;
}

.product-floating-meta .meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.product-floating-meta .meta-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-muted);
}

@keyframes floatingFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* --- SECTIONS CORE UI --- */
.section { padding: 5rem 0; }
.section-alt { padding: 5rem 0; background-color: var(--bg-dark); }

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.75;
    width: 100%;
}

.card-text { color: var(--text-muted); line-height: 1.6; }

/* --- CORE IDENTITY STYLE GROUP --- */
.identity-group {
    display: flex;
    flex-direction: column;
    gap: 4.5rem; 
    width: 100%;
}

.identity-block h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

/* CYBER MATTE DIVIDER RULES */
.cyber-divider {
    width: 100%;
    height: 0.5px; 
    background: linear-gradient(
        to right, 
        transparent, 
        transparent 30%,
        rgba(255, 107, 0, 0.4) 42%, 
        var(--accent) 50%, 
        rgba(255, 107, 0, 0.4) 58%, 
        transparent 70%,
        transparent
    );
    margin: 0.5rem 0;
}

.focus-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* OPTIMIZED RESPONSIVE SPOTLIGHT IMAGES (PREVENTS SCREEN OVERFLOW) */
.spotlight-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: 16rem;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* --- WAVE CARDS --- */
.wave-grid-container {
    display: flex;
    justify-content: center;
    gap: 0px; 
    margin-top: 5rem;
    margin-bottom: 4rem;
    width: 100%;
    overflow-x: auto;
    padding: 1rem 0;
    height: 500px; 
    margin-bottom: -100px; 
}

.perk-card-wave {
    width: 350px;        
    height: 200px;       
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wave-grid-container .perk-card-wave.trough {
    border-radius: 0 0 200px 200px; 
    border-bottom: 1px solid var(--accent-hover);
    justify-content: flex-start;
    padding-top: 1.5rem; 
    margin-top: 200px;    
}

.wave-grid-container .perk-card-wave.crest {
    border-radius: 200px 200px 0 0; 
    border-top: 1px solid var(--accent-hover);
    justify-content: flex-end;
    padding-bottom: 2.25rem;
    margin-top: 0;        
}

.perk-card-wave h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.perk-card-wave .card-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
    max-width: 260px; 
}

.perk-card-wave:hover { background-color: #1a1a1a; }

/* --- CIRCULAR SUPPORT SECTIONS --- */
.support-banner { padding: 5rem 0; background: var(--bg-dark); }
.quote-text { font-size: 1.75rem; font-weight: 700; font-style: italic; color: #f5f5f5; }

.support-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; 
    flex-wrap: wrap;
}

.support-circle-link { text-decoration: none; outline: none; }

.support-item-circle {
    width: 260px;
    height: 260px;
    background-color: var(--bg-card);
    border-radius: 50%; 
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.support-circle-link:hover .support-item-circle {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(255, 107, 0, 0.1);
}

.support-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 190px; 
}

.support-content-inner h4 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.35rem; }
.support-content-inner p { font-size: 0.775rem; color: var(--text-muted); line-height: 1.4; }

/* --- ABOUT PAGE CARDS --- */
.story-card-box, .info-card-box {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    max-width: 68rem;
    margin: 0 auto;
}

/* --- LEAD GENERATION FORM --- */
.form-container {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 48rem;
    margin: 0 auto;
}

.form-container h3 { font-size: 1.75rem; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: span 2; }

.zoom-image { transform: scale(1.15); }

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-grid input, .form-grid select {
    background-color: #000000;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #fff;
    outline: none;
    transition: all 0.2s;
}

.form-grid input:focus, .form-grid select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

/* --- FOOTER --- */
.footer { background-color: #000000; padding: 2.5rem 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #525252; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #525252; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* --- RESPONSIVE MEDIA QUERIES (MOBILE FIXES) --- */
@media (max-width: 1200px) {
    .wave-grid-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 4rem;
        height: auto;
        margin-bottom: 0;
    }
    .wave-grid-container .perk-card-wave.trough { margin-top: 0; }
    .wave-grid-container .perk-card-wave.trough,
    .wave-grid-container .perk-card-wave.crest {
        border: 1px solid var(--border);
        border-radius: 1rem;
        height: auto;
        padding: 2.5rem 2rem;
        width: 100%;
        max-width: 400px;
    }
    .wave-grid-container .perk-card-wave .card-text { max-width: 100%; }
}

@media (max-width: 768px) {
    .max-width {
        padding: 0 1.25rem;
    }

    body, .hero-text-block, .section-header, .identity-block, .order-mobile-1, .order-mobile-2 {
        text-align: center !important;
    }

    .section-desc, .text-center-desc, .card-text, .text-mobile-center {
        text-align: center !important;
        line-height: 1.6;
    }

    #what-we-do { padding-top: 7.5rem !important; }
    #products { padding-top: 7.5rem !important; }
    #commitments { padding-top: 7.5rem !important; }
    #support { padding-top: 7.5rem !important; }
    #contact { padding-top: 7.5rem !important; }

    /* MOBILE SPOTLIGHT IMAGE RESIZING PREVENTING OVERFLOW */
    .spotlight-img {
        max-width: 85%;
        max-height: 12rem;
        margin: 0 auto;
    }

    .zoom-image {
        transform: scale(1.0); /* Scaled down slightly on small screens */
        max-width: 80%;
    }

    .menu-toggle {
        display: flex;
        order: 1;
    }

    .logo-container {
        order: 2;
        margin: 0 auto;
        padding-right: 30px; 
    }

    .nav-action { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 5.5rem;
        left: 0;
        width: 100%;
        background-color: #111111;
        border-bottom: 1px solid var(--accent);
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 1.25rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
        z-index: 55;
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 0;
        width: 100%;
        border-bottom: 1px solid #1f1f1f;
    }

    .mobile-only-link {
        display: block;
        color: var(--accent) !important;
        font-weight: 600;
    }

    .grid-2-col, .form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group.full-width { grid-column: span 1; }

    .hero-section {
        min-height: auto;
        max-height: none;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .story-card-box, .info-card-box, .form-container {
        padding: 1.5rem;
    }

    .support-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}