/* ==========================================================================
   EchoFlow CSS Design System & Theme Layout
   Theme: Deep Space Industrial Sci-Tech (Obsidian, Cyber-Cyan, Calibration-Amber)
   ========================================================================== */

/* Variables and Tokens */
:root {
    --bg-obsidian: #050811;
    --bg-slate: #0b0f19;
    --bg-glass: rgba(11, 15, 25, 0.6);
    --border-glass: rgba(0, 242, 254, 0.12);
    --border-amber: rgba(245, 158, 11, 0.2);
    
    --color-cyan: #00f2fe;
    --color-violet: #4facfe;
    --color-amber: #f59e0b;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-cyber: 0 0 20px rgba(0, 242, 254, 0.15);
    --shadow-amber: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 172, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
}

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

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Frosted Glassmorphism Utility */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

/* Buttons and Interactivity */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-cyan) 100%);
    color: #030712;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.05);
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.08);
    color: var(--color-cyan);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 8, 17, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 38px;
    display: block;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.nav-logo-img:hover {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-cyan);
}

.lang-switch-container {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-primary);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Mobile navigation hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 38px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    border-color: var(--color-cyan);
}

.nav-toggle:hover span {
    background: var(--color-cyan);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.glow-bg-radial {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, rgba(0, 242, 254, 0.02) 50%, transparent 100%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--color-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
}

.hero-headline {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.glow-border {
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-cyber);
}

.glow-border-cyan {
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-cyber);
}

.glow-border-amber {
    border: 1px solid var(--border-amber);
    box-shadow: var(--shadow-amber);
}

/* Why Now: Market Drivers Section */
.why-section {
    background: rgba(5, 8, 17, 0.4);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.1);
}

.why-stat {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-card.border-amber .why-stat {
    background: linear-gradient(135deg, #fbbf24 0%, var(--color-amber) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-card h4 {
    font-size: 1.05rem;
    color: var(--color-text-primary);
}

.why-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Honest development-stage disclaimer */
.dev-stage-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Credibility Metrics Strip */
.metrics-section {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 8, 17, 0.5);
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item:last-child {
    border-right: none;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-lbl {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--color-text-secondary);
}

/* Applications / Use-Cases */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.app-card {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.1);
}

.app-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.app-card h3 {
    font-size: 1.15rem;
    color: var(--color-text-primary);
}

.app-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Methods & Standards chips */
.standards-block {
    margin-top: 3rem;
    padding: 2.2rem 2.5rem;
}

.standards-block h4 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 1.3rem;
    text-align: center;
}

.standards-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.std-chip {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.45rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* Comparison Technology Slider Section */
.comparison-section {
    background: rgba(5, 8, 17, 0.5);
}

.comparison-card {
    width: 100%;
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-tab {
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.comparison-tab:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-tab.active {
    color: var(--color-cyan);
    border-bottom-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.03);
}

.comparison-content {
    padding: 2.5rem;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-cell-label {
    padding: 1rem 0;
    font-weight: 600;
    color: var(--color-text-primary);
    width: 30%;
}

.comp-cell-val {
    padding: 1rem 0;
    color: var(--color-text-secondary);
}

.comp-highlight {
    color: var(--color-cyan);
    font-weight: 500;
}

/* High-Performance Technology Cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.1);
}

.border-cyan {
    border-color: rgba(0, 242, 254, 0.3) !important;
    box-shadow: var(--shadow-cyber);
}

.tech-card-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.icon-nmr::before { content: "🧲"; }
.icon-cs::before { content: "📶"; }
.icon-reconstruct::before { content: "📈"; }

.tech-card h3 {
    font-size: 1.35rem;
    color: var(--color-text-primary);
}

.tech-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Safe Info Banner */
.safe-info-banner {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
    border-left: 4px solid var(--color-cyan);
}

.banner-icon {
    font-size: 2.5rem;
    color: var(--color-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.banner-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.banner-text p {
    font-size: 0.95rem;
}

/* Solutions Pillars */
.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

.pillar-row:last-child {
    margin-bottom: 0;
}

.pillar-row.reverse {
    direction: rtl;
}

.pillar-row.reverse .pillar-content {
    direction: ltr;
}

.pillar-row.reverse .pillar-specs {
    direction: ltr;
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.pillar-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.pillar-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-specs li {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.pillar-specs strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.pillar-media {
    display: flex;
    justify-content: center;
}

.pillar-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Dynamic Flow Regime Classification Block */
.tech-regimes-block {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    padding: 3.5rem;
    align-items: center;
    margin-top: 4rem;
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.05);
}

.tech-regimes-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tech-regimes-content h4 {
    font-size: 1.6rem;
    color: var(--color-amber);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.tech-regimes-media {
    display: flex;
    justify-content: center;
}

.regimes-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: var(--shadow-amber);
}

/* B2B Metrology Consulting Services Catalog */
.services-section {
    background: rgba(5, 8, 17, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-cyber);
}

.service-card.border-cyan {
    border-color: rgba(0, 242, 254, 0.3) !important;
}

.service-card.border-cyan:hover {
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-cyber);
}

.service-card.border-amber {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.service-card.border-amber:hover {
    border-color: var(--color-amber);
    box-shadow: var(--shadow-amber);
}

.service-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-primary);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Grid layout alignment for the 5th element in a 3-column grid */
@media (min-width: 1025px) {
    .services-grid > :nth-child(4) {
        grid-column: span 1.5;
        justify-self: end;
        width: 100%;
        max-width: 380px;
    }
    .services-grid > :nth-child(5) {
        grid-column: span 1.5;
        justify-self: start;
        width: 100%;
        max-width: 380px;
    }
}

/* Secure Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h2 {
    font-size: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.details-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.icon-detail {
    font-size: 1.6rem;
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.details-item p {
    font-size: 0.9rem;
}

.contact-link {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    text-decoration: underline;
    filter: brightness(1.15);
}

.contact-form-el {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-group input, 
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--color-text-primary);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.03);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.btn-submit {
    align-self: flex-start;
    padding: 0.9rem 2.2rem;
    width: 100%;
}

/* Footer styling */
.footer {
    background: #02040a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4rem 0 2.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo-img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
    max-width: 320px;
}

.footer-social {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-cyan);
    text-decoration: none;
    border: 1px solid rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.06);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.footer-social:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col-h {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--color-cyan);
}

.footer-region {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
}

.footer-partners {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-partners strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.footer-compliance {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Secure Custom Modal Feedback Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    max-width: 450px;
    width: 90%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.08);
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-cyber);
}

.modal-card h3 {
    font-size: 1.5rem;
}

.modal-card p {
    font-size: 0.95rem;
    text-align: center;
}

.modal-card button {
    margin-top: 1rem;
    width: 100%;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .metric-item:nth-child(2) {
        border-right: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .pillar-row,
    .pillar-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    
    .pillar-row.reverse .pillar-content {
        direction: ltr;
    }
    
    .tech-regimes-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none; /* Collapsed by default; toggled open via hamburger */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        background: rgba(5, 8, 17, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu .nav-link {
        padding: 0.9rem 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .nav-link.btn-secondary {
        margin-top: 0.8rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-headline {
        font-size: 2.4rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .metric-item {
        border-right: none;
    }

    .metric-num {
        font-size: 2.1rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .standards-block {
        padding: 1.8rem 1.5rem;
    }
    
    .comp-cell-label {
        width: 40%;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
