/* =========================================================================
   CORE VARIABLES & RESET
========================================================================= */
:root {
    --bg-dark: #070913;
    --bg-darker: #04050a;
    --bg-card: rgba(18, 23, 45, 0.6);
    --border-color: rgba(64, 224, 208, 0.2);
    --primary-color: #00e1ff;
    /* Neon Cyan */
    --secondary-color: #7b2cbf;
    /* Deep Purple */
    --accent-color: #ff007f;
    /* Neon Pink */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --neon-glow: 0 0 15px rgba(0, 225, 255, 0.4), 0 0 30px rgba(0, 225, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-neon {
    color: var(--primary-color);
}

.text-purple {
    color: var(--secondary-color);
}

.text-green {
    color: #00ff88;
}

/* Container & Grids */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #5a1e8e;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(0, 225, 255, 0.1);
    box-shadow: var(--neon-glow);
}

.btn-neon {
    background: var(--primary-color);
    color: #000;
    box-shadow: var(--neon-glow);
}

.btn-neon:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Glass Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
}

/* =========================================================================
   HEADER (Unified across all pages)
========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    background: transparent;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(4, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: var(--neon-glow);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: var(--glass-shadow);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    background: rgba(0, 225, 255, 0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* =========================================================================
   HERO SECTION
========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    display: inline;
    color: #fff;
    text-shadow: var(--neon-glow);
}

.stat-item span {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visuals & 3D Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: -1;
    animation: float 6s infinite ease-in-out alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    bottom: 10%;
    left: 10%;
    animation-delay: -3s;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.floating-card-1 {
    top: 20%;
    left: 0;
    animation: floatUp 5s infinite alternate ease-in-out;
}

.floating-card-2 {
    bottom: 20%;
    right: 0;
    animation: floatUp 7s infinite alternate ease-in-out reverse;
}

.glass-card i {
    font-size: 2rem;
}

.card-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.card-text p {
    margin: 0;
    color: var(--text-muted);
    font-weight: bold;
}

.progress-bar {
    width: 150px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--primary-color);
    box-shadow: var(--neon-glow);
}

/* =========================================================================
   ABOUT / DNA SECTION
========================================================================= */
.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition-fast);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 225, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 225, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================================================
   SERVICES SECTION (3D Hover)
========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 150%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transform: translateZ(20px);
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    transform: translateZ(10px);
}

.service-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    transform: translateZ(10px);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* =========================================================================
   CALCULATOR SECTION
========================================================================= */
.calculator-section {
    background: var(--bg-darker);
    position: relative;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.calc-wrapper {
    align-items: stretch;
}

.calc-content {
    flex: 1;
    min-width: 300px;
}

.calc-results-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.range-group {
    margin-bottom: 25px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.range-header span {
    color: var(--primary-color);
    font-family: var(--font-heading);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: var(--neon-glow);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.calc-results {
    width: 100%;
}

.calc-results h3 {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-box h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.res-val {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.result-box.highlight {
    border-color: rgba(123, 44, 191, 0.3);
    background: rgba(123, 44, 191, 0.05);
}

/* =========================================================================
   INDUSTRY SECTION
========================================================================= */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ind-card {
    background: var(--bg-card);
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.ind-card:hover {
    border-color: var(--secondary-color);
    background: rgba(123, 44, 191, 0.05);
}

.ind-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ind-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.ind-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================================================
   REPORTS / DASHBOARD MOCKUP
========================================================================= */
.dashboard-mockup {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.dash-header {
    background: #1e293b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dots .r {
    background: #ff5f56;
}

.dots .y {
    background: #ffbd2e;
}

.dots .g {
    background: #27c93f;
}

.url-bar {
    background: #0f172a;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1;
    font-family: monospace;
    text-align: center;
}

.dash-body {
    display: flex;
    height: 400px;
}

.dash-sidebar {
    width: 60px;
    background: #1e293b;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-item {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-item.active {
    background: var(--primary-color);
    box-shadow: var(--neon-glow);
}

.dash-main {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-top-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.d-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.d-card .lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.d-card .val {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.dash-chart-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dash-chart-area h4 {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex: 1;
}

.bar-group {
    display: flex;
    gap: 5px;
    height: 100%;
    align-items: flex-end;
    width: 40px;
}

.bar {
    width: 15px;
    border-radius: 3px 3px 0 0;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 0;
}

.bg-blue {
    background: #3b82f6;
}

.bg-neon {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 225, 255, 0.5);
}

/* =========================================================================
   LIVE CHAT SUPPORT SECTION
========================================================================= */
.live-chat-section {
    background: var(--bg-darker);
}

.chat-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.chat-mockup {
    background: var(--bg-card);
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--glass-shadow);
}

.chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-message.user {
    justify-content: flex-end;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    max-width: 80%;
}

.bot .msg-bubble {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.user .msg-bubble {
    background: var(--secondary-color);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    width: fit-content;
    border-radius: 16px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-text {
    flex: 1;
    min-width: 300px;
}

.support-list {
    margin-top: 20px;
}

.support-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================================
   TESTIMONIALS
========================================================================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testi-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.stars {
    color: #ffbd2e;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.a-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.a-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================================================
   CTA SECTION
========================================================================= */
.cta-section {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 225, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* =========================================================================
   PAGE HEADERS (For Legal & Contact)
========================================================================= */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================================
   CONTACT PAGE
========================================================================= */
.contact-wrapper {
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 225, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.info-item h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.info-item p,
.info-item a {
    margin: 0;
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 225, 255, 0.2);
}

/* =========================================================================
   LEGAL PAGES
========================================================================= */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 15px;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #cbd5e1;
}

.legal-content strong {
    color: #fff;
    font-weight: 700;
}

/* =========================================================================
   FOOTER (Unified across all pages)
========================================================================= */
.footer {
    background: #020306;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 20px;
    margin-top: 50px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-about {
    min-width: 300px;
    flex: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: grayscale(1) brightness(2);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: #fff;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 99;
    box-shadow: var(--neon-glow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* =========================================================================
   ANIMATIONS & UTILITIES
========================================================================= */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }
}

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* =========================================================================
   RESPONSIVE DESIGN
========================================================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .services-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-darker);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: 0.4s;
    }

    .nav.open {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-container,
    .calc-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-visual {
        display: none;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-grid,
    .services-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .footer-top {
        flex-direction: column;
    }
}