:root {
    /* Color Palette */
    --bg-base: #05050A;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    --accent-primary: #3b82f6; /* Blue */
    --accent-primary-hover: #2563eb;
    --accent-secondary: #8b5cf6; /* Purple */
    
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-primary);
}

.orb-2 {
    bottom: -10%;
    right: 10%;
    width: 40vw;
    height: 40vw;
    background: var(--accent-secondary);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.glass-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(5, 5, 10, 0.9);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-smooth);
    max-width: 1400px;
}

.glass-header.scrolled .header-container {
    height: 60px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover > .dropdown-menu,
.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    justify-content: space-between;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Submenu positioning */
.dropdown-submenu .dropdown-menu.sub-menu {
    top: -0.5rem;
    left: 100%;
    transform: translateX(10px);
}

.dropdown-submenu:hover > .dropdown-menu.sub-menu {
    transform: translateX(0);
}

.arrow {
    font-size: 0.6rem;
    opacity: 0.7;
    margin-left: 0.4rem;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background: var(--text-main);
    color: var(--bg-base);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Pillars Section */
.pillars {
    padding: 6rem 0;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover::before {
    opacity: 0.05;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.pillar-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pillar-badge.quickwork {
    color: #a78bfa;
}

.pillar-badge.onedata {
    color: #60a5fa;
}

.pillar-badge.in-dev {
    color: #fbbf24;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pillar-body {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Logo Marquee */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-set {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}

.marquee-set img {
    --logo-brightness: 150%;
    --hover-brightness: 100%;
    height: 45px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) invert(100%) brightness(var(--logo-brightness));
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.marquee-set img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) brightness(var(--hover-brightness));
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Proof Block */
.proof-block {
    padding: 6rem 0;
}

.proof-content {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.proof-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.proof-body {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page Specifics Updated */
.contact-hero {
    padding: 10rem 0 2rem;
    min-height: auto;
}

.contact-section {
    padding-bottom: 8rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.contact-info-frame {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.info-frame-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Prominent Form */
.prominent-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.prominent-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0.03;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    background: var(--gradient-text);
    color: #fff;
    border: none;
    font-weight: 600;
    width: 100%;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 980px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .info-frame-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-smooth);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .proof-content {
        padding: 2rem;
    }
    
    .proof-title {
        font-size: 2rem;
    }
}

@media (max-width: 560px) {
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .prominent-form {
        padding: 2rem 1.5rem;
    }
    
    .info-frame-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 4rem);
    max-width: 800px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-banner-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.cookie-btn-manage {
    background: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-right: auto;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cookie-btn-accept:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Modal Overlay */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.show .cookie-modal {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.cookie-modal-title {
    font-size: 1.5rem;
    color: var(--text-color);
}

.cookie-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: var(--text-color);
}

.cookie-modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-title {
    color: var(--text-color);
    font-weight: 600;
}

.cookie-category-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

input:disabled + .cookie-slider {
    cursor: not-allowed;
    background-color: var(--primary-color);
    opacity: 0.5;
}

input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 100%;
        bottom: 0;
        border-radius: 1rem 1rem 0 0;
        padding: 1rem;
    }
    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-btn-manage {
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: center;
    }
}

/* Custom Form Validation, Alerts, and Confirmation styles */
.error-message {
    display: block;
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-control.input-error,
.form-control[aria-invalid="true"] {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.restore-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: #93c5fd;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.close-alert-btn {
    background: transparent;
    border: none;
    color: #93c5fd;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: opacity 0.2s;
}

.close-alert-btn:hover {
    opacity: 0.8;
}

.form-error-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: #f87171;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(10px);
}

.form-error-banner a {
    color: #60a5fa;
    text-decoration: underline;
}

.form-error-banner a:hover {
    color: #93c5fd;
}

.form-error-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.btn-error-fallback {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-error-fallback:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zip-warning {
    display: block;
    font-size: 0.85rem;
    color: #fbbf24;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.btn-submit .spinner-svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.confirmation-card {
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeInUp 0.5s ease forwards;
}

.confirmation-card .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.confirmation-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.confirmation-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.confirmation-card .actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.confirmation-card .actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
}

.confirmation-card .actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s;
}

.confirmation-card .actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   QWE SOLUTIONS DESIGN SYSTEM (Aesthetic Visual Identity)
   ========================================================================== */

:root {
    /* Brand Colors */
    --qwe-royal-blue: #002366;
    --qwe-royal-gold: #ffd700;
    --qwe-quickwork-orange: #f3b14e;
    --qwe-quickwork-navy: #0e106a;
    
    /* Glowing Effects */
    --qwe-neon-blue: rgba(0, 35, 102, 0.5);
    --qwe-neon-gold: rgba(255, 215, 0, 0.4);
    --qwe-metal-border: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 35, 102, 0.4) 50%, rgba(255, 215, 0, 0.3) 100%);
}

/* 1. Tactile Vault System (3D Metallic & Secure Visuals) */
.qwe-vault-card {
    background-color: rgba(10, 10, 15, 0.85); /* Solid fallback background */
    background-image: linear-gradient(135deg, rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.85)),
                      var(--qwe-metal-border);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                inset 0 3px 5px rgba(255, 255, 255, 0.1),
                inset 0 -3px 5px rgba(0, 0, 0, 0.4);
    border-radius: 2rem; /* Keep original prominent-form border-radius */
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.qwe-vault-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.3), 
                inset 0 3px 6px rgba(255, 255, 255, 0.15);
}

.qwe-vault-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
}

/* 2. Cybernetic Organicism (AI Neural Grid & Glows) */
.qwe-neural-mesh {
    position: relative;
    background-image: radial-gradient(var(--qwe-neon-blue) 1px, transparent 1px);
    background-size: 24px 24px;
}

.qwe-pulse-glow {
    position: relative;
}

.qwe-pulse-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 15px var(--qwe-neon-blue);
    opacity: 0.5;
    animation: qwe-pulse 3s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes qwe-pulse {
    0% {
        opacity: 0.3;
        filter: blur(4px);
    }
    100% {
        opacity: 0.7;
        filter: blur(8px);
    }
}

/* 3. Holographic Schematics (Blueprint Lines) */
.qwe-schematic-grid {
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 8px;
}

/* 4. Fluid Gradients (Generative Data Flow Backgrounds) */
.qwe-fluid-gradient-bg {
    background: linear-gradient(-45deg, #05050a, #001133, #002366, #05050a);
    background-size: 400% 400%;
    animation: qwe-fluid-animation 15s ease infinite;
}

@keyframes qwe-fluid-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- Iceberg Infographic Section --- */
.infographic-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(5, 5, 10, 0.5) 0%, rgba(10, 10, 15, 0.8) 100%);
}

.infographic-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.infographic-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
    color: var(--text-main);
}

.infographic-content .section-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Image Card Constraint & Glassmorphism Wrapper */
.infographic-visual .image-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-smooth);
}

.infographic-visual .image-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Hard constraints to prevent image overflow */
.iceberg-image {
    max-width: 440px; /* Constrains the infographic width on high-res displays */
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
}

/* --- Responsive Adaptations --- */
@media (max-width: 980px) {
    .infographic-grid {
        gap: 2.5rem;
    }
    
    .infographic-content .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .infographic-section {
        padding: 4rem 0;
    }

    .infographic-grid {
        grid-template-columns: 1fr; /* Collapse to 1 column */
        gap: 3rem;
        text-align: center;
    }
    
    .infographic-content {
        order: 1; /* Keep text at the top on mobile */
    }
    
    .infographic-visual {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .iceberg-image {
        max-width: 380px; /* Further constraint on smaller screens */
    }
}