/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Brand Palette - Obsidian Ember */
    --clr-bg: #050407;
    /* Obsidian black */
    --clr-surface: #0f0e14;
    /* Dark plum-charcoal */
    --clr-surface-light: #1b1a22;
    /* Lifted surface */

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #ff7a18 0%, #ffb347 100%);
    --grad-secondary: linear-gradient(135deg, #7f5af0 0%, #2cb67d 100%);
    --grad-glow: linear-gradient(90deg, #ff7a18, #ffb347);

    /* Text */
    --clr-text-main: #f9fafb;
    --clr-text-muted: #a1a1aa;
    --clr-border: #262633;

    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --radius: 16px;

    /* Transition */
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--clr-text-main);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -2px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--clr-text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid {
    display: grid;
    gap: 40px;
}

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 10px 30px -5px rgba(0, 114, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -5px rgba(0, 114, 255, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   3. HEADER (Dark & Consistent)
   ========================================= */
.site-header {
    height: var(--header-height);
    background-color: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: white;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--grad-primary);
    transition: 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.mobile-trigger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient Glow Background */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--grad-primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    animation: pulseGlow 10s infinite alternate;
}

.orb-1 {
    top: -20%;
    right: -10%;
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    background: var(--grad-secondary);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat-strip {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--clr-border);
    padding-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 0;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   5. SERVICES (Cards with Hover Glow)
   ========================================= */
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.service-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

/* Hover Gradient Border Effect */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--clr-surface-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    background: var(--grad-primary);
}

.svc-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00C6FF;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card ul {
    padding-left: 0;
}

.service-card li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--clr-text-muted);
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #0072FF;
    font-weight: bold;
}

/* =========================================
   6. INTERACTIVE CALCULATOR (Glassmorphism)
   ========================================= */
.calculator-wrap {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-input-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Custom Range Input */
input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    margin-bottom: 30px;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #2A2A35;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #00C6FF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9px;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

.calc-monitor {
    background: #000;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.calc-monitor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-glow);
}

.calc-stat {
    margin-bottom: 25px;
}

.calc-val {
    font-size: 3rem;
    font-weight: 700;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calc-stat.highlight .calc-val {
    background: var(--grad-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   7. PROCESS & TABS
   ========================================= */
.process-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-trigger {
    background: transparent;
    border: 1px solid var(--clr-border);
    padding: 12px 30px;
    color: var(--clr-text-muted);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-trigger:hover,
.tab-trigger.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.tab-pane {
    display: none;
    background: var(--clr-surface);
    padding: 50px;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* =========================================
   8. TESTIMONIALS (Stacked)
   ========================================= */
.reviews-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-box {
    background: var(--clr-surface);
    padding: 30px;
    border-top: 2px solid #00C6FF;
    border-radius: 0 0 12px 12px;
}

/* =========================================
   9. CONTACT PAGE
   ========================================= */
.contact-wrapper {
    margin-top: 150px;
    margin-bottom: 100px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-sidebar {
    background: var(--clr-surface);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-info-block {
    margin-bottom: 40px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-style {
    display: grid;
    gap: 20px;
}

.input-grp label {
    display: block;
    margin-bottom: 8px;
    color: var(--clr-text-muted);
}

.form-input,
.form-text {
    width: 100%;
    background: transparent;
    border: 1px solid var(--clr-border);
    padding: 16px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
}

.form-input:focus,
.form-text:focus {
    outline: none;
    border-color: #0072FF;
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1);
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    border-top: 1px solid var(--clr-border);
    background: #010101;
    padding-top: 80px;
    margin-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.foot-link li {
    margin-bottom: 12px;
}

.foot-link a {
    color: var(--clr-text-muted);
}

.foot-link a:hover {
    color: #00C6FF;
    padding-left: 5px;
}

.footer-btm {
    border-top: 1px solid var(--clr-border);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* Legal Pages Styling */
.legal-container {
    max-width: 800px;
    margin: 140px auto 100px;
    padding: 0 24px;
}

.legal-container h1 {
    margin-bottom: 40px;
    color: #00C6FF;
}

.legal-container h2 {
    margin-top: 40px;
}

.legal-container ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--clr-text-muted);
}

/* Animation Utils */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media(max-width: 1024px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .tab-pane.active {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--clr-bg);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--clr-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-trigger {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
    }

    .stat-strip {
        flex-direction: column;
        gap: 30px;
    }

    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .reviews-stack {
        grid-template-columns: 1fr;
    }
}