/* BRAND VARIABLES */
:root {
    --bg: #0d1518;
    --brand: #70d9a7;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

/* BASE STYLES */
body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Ensure images don't stretch containers on mobile */
img {
    max-width: 100%;
    height: auto;
}

.bg-glow {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(112, 217, 167, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

/* Navigation Glass Effect */
.nav-glass {
    background: rgba(13, 21, 24, 0.9);
    backdrop-filter: blur(10px);
}
/* Prevent navigation items from squishing the logo */
.nav-glass .flex-nowrap {
    min-width: max-content;
}

/* Ensure the nav container doesn't overflow */
nav .max-w-7xl {
    width: 100%;
}

.btn-nav-apply {
    font-size: 10px;
    letter-spacing: 0.2em; /* Reduced tracking for mobile to prevent overlap */
}
/* Smooth transition for the logo hover */
.group:hover .text-white {
    opacity: 0.9;
}

/* Premium Concierge Button */
.btn-concierge {
    position: relative;
    padding: 12px 28px;
    background: #ffffff;
    color: #0d1518;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-concierge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(112, 217, 167, 0.3);
    background: #70d9a7;
    /* Turns brand green on hover */
}

/* The "Amazing" Shimmer Gimmick */
.btn-concierge::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(30deg);
    transition: all 0.5s;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* Mobile Drawer Styles */
/* Mobile Drawer - Premium Dark Background */
#mobile-drawer {
    background-color: #0d1518;
    /* Solid background for readability */
    opacity: 0;
    transform: translateX(100%);
    /* Slides in from the right */
}

#mobile-drawer.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* Ensure links stand out */
.mobile-link {
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.mobile-link:hover {
    color: #70d9a7;
    transform: scale(1.05);
}


/* Nav glass refinement */


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    color: white;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #70d9a7;
}

/* TYPOGRAPHY */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--brand);
    color: var(--brand);
    border-radius: 100px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    background: rgba(112, 217, 167, 0.05);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s ease-out;
}

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

/* CALCULATOR PREMIUM LOOK */
.calculator-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 40px;
    padding: 1px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.glass-inner {
    background: var(--bg);
    border-radius: 39px;
    padding: 50px;
}

.m1-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.m1-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 40px;
    height: 18px;
    background: var(--brand);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(112, 217, 167, 0.4);
}

.glow-button {
    background: white;
    color: black;
    border-radius: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.glow-button:hover {
    background: var(--brand);
    box-shadow: 0 0 50px rgba(112, 217, 167, 0.4);
    transform: scale(1.02);
}

/* BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bento-item {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 32px;
}

/* Value Card Highlight */
.bento-item .text-4xl {
    text-shadow: 0 0 20px rgba(112, 217, 167, 0.2);
}

.bento-item:hover {
    border-color: rgba(112, 217, 167, 0.3);
    transform: translateY(-5px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main {
    grid-column: span 2;
}

.wide {
    grid-column: span 2;
}

/* style.css: CTA Bridge Refinements */
#cta-bridge .reveal {
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#cta-bridge .btn-concierge {
    box-shadow: 0 0 30px rgba(112, 217, 167, 0.1);
}

#cta-bridge .btn-concierge:hover {
    box-shadow: 0 0 50px rgba(112, 217, 167, 0.3);
}

/* VERTICAL PROCESS LINE */
.process-line {
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 100px;
    width: 1px;
    background: linear-gradient(to bottom, var(--brand), transparent);
    z-index: -1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.step-num {
    background: var(--brand);
    color: var(--bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(112, 217, 167, 0.3);
}

.process-node-glow {
    box-shadow: 0 0 30px rgba(112, 217, 167, 0.2);
}

/* Security Card Hover Effects */
#security .bento-item {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

#security .bento-item:hover {
    background: rgba(112, 217, 167, 0.02);
    border-color: rgba(112, 217, 167, 0.2);
    transform: translateY(-8px);
}

/* Suble pulse for the 'Active' badge */
.text-green-400.bg-green-400\/10 {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        border-color: rgba(112, 217, 167, 0.2);
    }

    50% {
        border-color: rgba(112, 217, 167, 0.6);
    }

    100% {
        border-color: rgba(112, 217, 167, 0.2);
    }
}

/* style.css additions */

/* FAQ Transition Logic - Replace your current faq-content/active rules with these */

.faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    /* Minimized by default */
    transition: grid-template-rows 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    opacity: 0;
}

/* Changed .active to .open */
.faq-item.open .faq-content {
    grid-template-rows: 1fr;
    /* Expanded */
    opacity: 1;
}

.faq-content-inner {
    overflow: hidden;
}

/* Premium UI States when open */
.faq-item.open .faq-trigger {
    border-color: rgba(112, 217, 167, 0.4);
    background: rgba(112, 217, 167, 0.03);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.faq-item.open .faq-trigger svg {
    transform: rotate(180deg);
}

/* FORM INPUTS */
.input-group label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 8px;
}

.input-group input,
.input-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
    color: white;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input:focus {
    background: rgba(112, 217, 167, 0.02);
    box-shadow: 0 0 20px rgba(112, 217, 167, 0.05);
}

/* Radio Card Selection Logic */
.peer:checked+div {
    border-color: #70d9a7 !important;
    background: rgba(112, 217, 167, 0.08) !important;
}

.peer:checked+div svg {
    color: #70d9a7 !important;
}

.peer:checked+div span {
    color: #70d9a7 !important;
}

.radio-card div {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.radio-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-card span {
    display: block;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.radio-card input:checked+span {
    border-color: var(--brand);
    background: rgba(112, 217, 167, 0.1);
    color: var(--brand);
}

/* style.css additions */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(112, 217, 167, 0.3);
    transform: translateY(-5px);
}

/* Tracking for that executive "Rolex" feel */
.tracking-widest {
    letter-spacing: 0.3em !important;
}

/* Darker background for the solutions container to make it pop */
#solutions {
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}
@keyframes ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (min-width: 768px) {
    .btn-nav-apply {
        font-size: 20px;
        letter-spacing: 0.4em; /* Full tracking for that executive look */
    }
}

/* Adjust button for small screens */
@media (max-width: 640px) {
    .btn-concierge {
        padding: 8px 16px;
        font-size: 11px;
    }

    #process .absolute.left-1/2 {
        left: 24px;
        display: block;
    }

    #process .flex-col {
        align-items: flex-start;
        padding-left: 60px;
    }

    #process .relative.z-10 {
        position: absolute;
        left: 0;
    }
     .fixed.bottom-8.right-8 {
        bottom: 1.5rem;
        right: 1.5rem;
        transform: scale(0.9);
    }
    .nav-glass .max-w-7xl {
        gap: 0.5rem; /* Forces a small minimum gap between logo and button */
    }
}

/* Mobile Drawer Background */
#mobile-drawer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

#mobile-drawer.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .main,
    .wide {
        grid-column: span 1;
    }

    .process-line {
        left: 30px;
    }

    .step-num {
        width: 40px;
        height: 40px;
    }
}