:root {
    --bg-dark: #050915;
    --bg-card: rgba(13, 22, 45, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --primary: #4be1ec;
    --secondary: #7c7bff;
    --text-main: #e8f3ff;
    --text-muted: #9fb4d0;
    --gradient-glow: radial-gradient(circle at 50% -20%, rgba(75, 225, 236, 0.15), transparent 70%);
    --glass-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --card-hover-shadow: 0 30px 60px -12px rgba(75, 225, 236, 0.15);
}

* {
    box-sizing: border-box;
}

html,
body {
    background-color: var(--bg-dark);
    background-image:
        var(--gradient-glow),
        radial-gradient(circle at 0% 0%, rgba(124, 123, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(75, 225, 236, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Grid Background Effect */
.grid-bg {
    position: fixed;
    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: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(5, 9, 21, 0.8);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.brand-dot {
    color: var(--primary);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    gap: 0.5rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #041025;
    border: none;
    box-shadow: 0 4px 20px rgba(75, 225, 236, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(75, 225, 236, 0.4);
    color: #041025;
}

.btn-accent:hover::before {
    opacity: 1;
}

.btn-outline-light {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline-light:hover {
    border-color: var(--primary);
    background: rgba(75, 225, 236, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Glass Cards */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-visual:hover {
    transform: scale(1.02);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(75, 225, 236, 0.1), transparent 70%);
    pointer-events: none;
}

/* Badges & Pills */
.badge-soft {
    background: rgba(75, 225, 236, 0.1);
    color: var(--primary);
    border: 1px solid rgba(75, 225, 236, 0.2);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pill:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Services Cards */
.card-service {
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.card-service:hover {
    transform: translateY(-10px);
    border-color: rgba(75, 225, 236, 0.3);
    box-shadow: var(--card-hover-shadow);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(75, 225, 236, 0.1), rgba(124, 123, 255, 0.1));
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.card-service:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #041025;
    transform: scale(1.1) rotate(-5deg);
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline .step {
    padding: 24px 0 24px 32px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.timeline .step::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(75, 225, 236, 0.5);
}

/* Forms - Minimalist Redesign */
.form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    box-shadow: none !important;
}

.form-control:hover {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.form-control:focus {
    background: transparent !important;
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.2) !important;
    font-size: 0.95rem !important;
}

.form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Fix for captcha badge alignment with new input style */
.badge {
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Utilities & Components */
.breadcrumb-soft {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-muted);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item h6 {
    margin-bottom: 6px;
}

/* Additional Components */
.service-hero {
    padding: 110px 0 70px 0;
}

.contact-card {
    border-radius: 20px;
}

.form-card h5 {
    letter-spacing: 0.2px;
}

.form-card .btn {
    min-width: 0;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    height: 38px;
    /* Balanced compact height */
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(5, 9, 21, 0.5);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 18px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.footer-bottom {
    color: var(--text-muted);
}

.footer-link {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
    display: inline-block;
}

/* Utilities */
.text-accent {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed !important;
    bottom: 16px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: min(960px, 94%) !important;
    z-index: 99999 !important;
    transform: none !important;
}

.cookie-card {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(10, 15, 30, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cookie-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
}

.cookie-actions .btn {
    min-width: 110px;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .d-flex {
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }

    .cookie-banner {
        bottom: 12px !important;
        width: 94% !important;
    }
}