:root {
    --primary: #3b82f6; /* Blue accent */
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --black: #000000;
    --black-light: #0a0a0a;
    --black-medium: #111111;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(0, 0, 0, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-padding {
    padding: 120px 0;
}

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

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
}

.bg-alt {
    background-color: var(--black-medium);
}

.bg-white {
    background-color: var(--white);
    color: var(--black);
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.items-center { align-items: center; }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--white);
    white-space: nowrap;
}

.logo-text .accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
    padding: 0.4rem 0.6rem;
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

/* Tablet */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .navbar {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .lang-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

@media (max-width: 576px) {
    .btn-large {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #000 0%, #0a0a12 50%, #000 100%);
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 50px;
    }
}

/* Gradient orb - subtle glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    font-weight: 700;
    background: linear-gradient(180deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    font-weight: 400;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--gray-500);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    max-width: 600px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--gray-700), transparent);
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 1.5rem;
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .stat-divider {
        height: 30px;
    }
}

/* Why DigiAtlas */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--gray-500);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -20px rgba(59, 130, 246, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    color: var(--primary);
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-500);
    font-size: clamp(0.875rem, 2.5vw, 0.95rem);
    line-height: 1.6;
}

/* Verticals */
.verticals-section {
    position: relative;
}

.v-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.v-card:hover {
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.v-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.v-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.v-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.custom-vertical-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border-radius: 12px;
    border: 1px dashed var(--gray-700);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.custom-vertical-cta strong {
    color: var(--primary-light);
}

/* Markets */
.markets-section {
    background: var(--white);
    color: var(--black);
}

.markets-section .section-header p {
    color: var(--gray-600);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.market-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.market-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
}

.market-card:hover::after {
    transform: scaleX(1);
}

.market-card-featured {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, var(--gray-100) 100%);
}

.market-card-featured::after {
    transform: scaleX(1);
}

.market-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flag {
    font-size: 2rem;
}

.market-card h3 {
    font-size: 1.2rem;
}

.market-tags {
    list-style: none;
}

.market-tags li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
}

.market-tags li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 12px;
}

.reassurance-box {
    margin-top: 4rem;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 2rem;
    background: var(--gray-100);
    border-radius: 10px;
}

.reassurance-box i {
    color: var(--primary);
}

/* Process */
.process-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-medium) 100%);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    opacity: 0.3;
}

.step {
    position: relative;
    text-align: center;
    padding-top: 2rem;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray-500);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .process-steps { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    .process-steps::before { display: none; }
}

/* Delivery Data Preview */
.delivery-section {
    background: var(--black);
}

.delivery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.delivery-section > .container > .grid > div:first-child p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.data-preview {
    background: linear-gradient(145deg, #0d0d0d 0%, #000 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
    border: 1px solid var(--border-light);
    position: relative;
}

.data-preview::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.code-window {
    padding: 1.8rem;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot:nth-child(1) { background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.tab-name {
    margin-left: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--gray-600);
}

pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    overflow-x: auto;
    line-height: 1.6;
}

pre code {
    color: var(--gray-400);
}

.json-key { color: var(--primary-light); }
.json-string { color: #a8e6cf; }
.json-value { color: var(--gray-300); }

/* Lead Preview Styling */
.lead-preview {
    font-size: 0.7rem;
    line-height: 1.5;
}

.lead-header {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.lead-divider {
    color: var(--gray-700);
}

.lead-section {
    color: var(--white);
    font-weight: 600;
}

.lead-label {
    color: var(--gray-500);
}

.lead-value {
    color: var(--gray-300);
}

.lead-detail {
    color: var(--gray-500);
}

.lead-muted {
    color: var(--gray-600);
}

.lead-footer {
    color: var(--primary);
    font-weight: 500;
}

.check-list {
    list-style: none;
    margin-top: 2.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: var(--gray-300);
}

.check-list i {
    color: var(--primary);
}

/* Proof Section */
.proof-section {
    background: linear-gradient(180deg, var(--black-medium) 0%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.proof-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.proof-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.large-headline {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--white), var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.capacity-detail {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.large-sub {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-500);
}

/* FAQ Section */
.faq-section {
    background: var(--black);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gray-700);
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--white);
    font-family: inherit;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    font-weight: 600;
    transition: var(--transition);
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-400);
    line-height: 1.7;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

/* Form Section */
.form-section {
    background: var(--white);
    color: var(--black);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.form-info h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.form-info > p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-details {
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.contact-item i {
    color: var(--primary);
    width: 24px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary);
}

.partnership-note {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-left: 3px solid var(--primary);
}

.partnership-note strong {
    color: var(--black);
}

.form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-200);
    position: relative;
}

@media (max-width: 576px) {
    .form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--gray-700);
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--black);
}

input::placeholder, textarea::placeholder {
    color: var(--gray-400);
}

/* Phone Input with Country Code */
.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.phone-code-select {
    width: 100px;
    flex-shrink: 0;
    padding-left: 0.6rem;
    padding-right: 0.3rem;
    font-size: 0.9rem;
}

.phone-input-wrapper input {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

@media (max-width: 576px) {
    .phone-code-select {
        width: 90px;
        font-size: 0.85rem;
    }
}

/* Input validation styles */
input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

input:valid:not(:placeholder-shown) {
    border-color: #22c55e;
}

input.input-error {
    border-color: #ef4444 !important;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Dropdown optgroup styling */
select optgroup {
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
}

select option {
    font-weight: 400;
    color: var(--black);
    padding: 0.5rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

@media (max-width: 992px) {
    .form-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 576px) {
    .form-grid { gap: 2rem; }
    
    .contact-details {
        margin: 2rem 0;
    }
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 0 30px;
    }
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--gray-500);
    max-width: 320px;
    line-height: 1.8;
}

.main-site-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.main-site-link:hover {
    color: var(--primary-light);
}

.footer-bottom a {
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.8rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.footer-links a, .footer-contact a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.footer-legal {
    display: flex;
    gap: 2.5rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid items */
.grid .fade-in:nth-child(1) { transition-delay: 0.1s; }
.grid .fade-in:nth-child(2) { transition-delay: 0.2s; }
.grid .fade-in:nth-child(3) { transition-delay: 0.3s; }
.grid .fade-in:nth-child(4) { transition-delay: 0.4s; }
.grid .fade-in:nth-child(5) { transition-delay: 0.5s; }
.grid .fade-in:nth-child(6) { transition-delay: 0.6s; }

/* Interactive hover states */
.interactive-card {
    cursor: pointer;
}

.interactive-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.interactive-card:hover::after {
    opacity: 1;
}

/* Loading animation for page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge { animation-delay: 0.2s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content .hero-tagline { animation-delay: 0.4s; }
.hero-content .subtitle { animation-delay: 0.45s; }
.hero-content .hero-ctas { animation-delay: 0.5s; }

.hero-stats {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-stats .stat {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-stats .stat:nth-child(1) { animation-delay: 0.9s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1s; }
.hero-stats .stat:nth-child(5) { animation-delay: 1.1s; }

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-badges {
    background: linear-gradient(180deg, #000 0%, var(--black-medium) 100%);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

@media (max-width: 768px) {
    .trust-badges-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .trust-badges {
        padding: 2rem 0;
    }
    
    .trust-badges-grid {
        gap: 1rem;
    }
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.trust-badge-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.trust-badge-item i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.trust-badge-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-300);
    white-space: nowrap;
}

@media (max-width: 576px) {
    .trust-badge-item {
        padding: 0.5rem 1rem;
    }
    
    .trust-badge-item i {
        width: 16px;
        height: 16px;
    }
    
    .trust-badge-item span {
        font-size: 0.75rem;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    width: 24px;
    height: 24px;
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .back-to-top i {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem;
    z-index: 9999;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background: var(--primary);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid var(--gray-700);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-color: var(--gray-500);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    
    .cookie-text {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   ANIMATED STATS COUNTER
   ============================================ */
.stat-number.counting {
    transition: none;
}

/* Spinner for form submission */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
