/* FGMesh Premium Landing Page CSS */

/* Google Fonts: Outfit for headings, Inter for body, Fira Code for tech data */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #1a365d;         /* Corporate Deep Navy */
    --primary-light: #2b6cb0;   /* Corporate Medium Blue */
    --accent: #008fa3;          /* FGMesh Cyan/Turquoise - optimized for light theme contrast */
    --accent-glow: rgba(0, 143, 163, 0.15);
    --accent-gradient: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    
    /* Neutral Colors - Light Theme */
    --bg-light: #f8fafc;        /* Slate-50 background */
    --bg-card: #ffffff;         /* Pure white cards */
    --border-color: #e2e8f0;    /* Slate-200 border */
    --border-hover: rgba(0, 143, 163, 0.3);
    --text-main: #334155;       /* Slate-700 main body text */
    --text-muted: #64748b;      /* Slate-500 muted text */
    --text-heading: #0f172a;    /* Slate-900 for dark/heavy text */
    --text-white: #ffffff;      /* Still needed for text on dark background/buttons */
    
    /* Fonts */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Glowing Accents */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(248, 250, 252, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: 10%;
    left: -100px;
}

.glow-2 {
    top: 50%;
    right: -100px;
    background: radial-gradient(circle, rgba(43, 108, 176, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
}

.glow-3 {
    bottom: 5%;
    left: 20%;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(17, 24, 39, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}

.navbar.scrolled .container {
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    gap: 0.75rem;
}

.nav-brand img {
    height: 32px;
    width: 39px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #FFED00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFED00;
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0b0f19;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-nav-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.navbar .btn-nav-cta {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar .btn-nav-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFED00;
    color: #FFED00;
}

.mobile-only-cta {
    display: none;
}

.header-cta {
    display: inline-flex;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.85rem;
}

.lang-switcher:hover {
    border-color: #FFED00;
    background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-comparison-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(43, 108, 176, 0.1);
    border: 1px solid rgba(43, 108, 176, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Visual Mesh Animation */
.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mesh-container {
    position: relative;
    width: 80%;
    height: 80%;
}

.mesh-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: var(--transition-fast);
}

.mesh-node.master {
    background-color: var(--accent);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 143, 163, 0.3);
    width: 16px;
    height: 16px;
}

.mesh-node:hover {
    transform: scale(1.3);
}

.mesh-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Node Positions */
.node-1 { top: 20%; left: 15%; }
.node-2 { top: 50%; left: 10%; }
.node-3 { top: 75%; left: 30%; }
.node-4 { top: 15%; left: 50%; }
.node-5 { top: 45%; left: 55%; }
.node-6 { top: 80%; left: 70%; }
.node-7 { top: 30%; left: 85%; }

.mesh-link {
    position: absolute;
    background-color: rgba(43, 108, 176, 0.15);
    transform-origin: left center;
    height: 2px;
    z-index: 1;
}

/* CSS Animated Packet routing indicator */
.packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #00bcd4;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
}

/* Packet Animation Path */
@keyframes routePacket {
    0% { top: 50%; left: 10%; opacity: 0; }
    5% { opacity: 1; }
    30% { top: 75%; left: 30%; }
    65% { top: 45%; left: 55%; }
    95% { top: 30%; left: 85%; opacity: 1; }
    100% { top: 30%; left: 85%; opacity: 0; }
}

.packet-anim {
    animation: routePacket 6s infinite linear;
}

/* Section styling */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

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

.section-desc {
    font-size: 1.15rem;
    margin-top: 1rem;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(0, 188, 212, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(0, 188, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.6rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Hardware Variants Section */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.module-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.module-img-container {
    width: 100%;
    height: 320px;
    position: relative;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.module-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-slow);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.module-card:hover .module-img-container img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0, 143, 163, 0.25));
}

.module-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: #0b0f19;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
}

.module-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.module-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.module-desc {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.module-specs-list {
    list-style: none;
    margin-bottom: 2rem;
}

.module-specs-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.module-specs-list li i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 16px;
}

.module-footer-specs {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.module-footer-specs span strong {
    color: var(--text-heading);
}

/* FGMesh Principle (DigiMesh comparison / dynamic) */
.principle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.principle-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle-step {
    display: flex;
    gap: 1.5rem;
}

.step-num-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.principle-graphic {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    min-width: 0;
    max-width: 100%;
}

.tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--accent);
    background: rgba(0, 188, 212, 0.08);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.code-snippet {
    background: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 1.2rem;
    overflow-x: auto;
    max-width: 100%;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: #e5e7eb;
    margin-top: 1rem;
    white-space: pre;
}

.code-keyword { color: #f43f5e; }
.code-function { color: #3b82f6; }
.code-comment { color: #6b7280; font-style: italic; }
.code-string { color: #10b981; }
.code-number { color: #fbbf24; }

/* Comparison Table */
.comparison-wrapper {
    overflow-x: auto;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: rgba(0, 0, 0, 0.015);
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-heading);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td strong {
    color: var(--text-heading);
}

.badge-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-yellow {
    background-color: rgba(245, 158, 11, 0.1);
    color: #b45309;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Diagnostics & XCTU Compatibility Grid */
.diagnostics-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 5rem;
    align-items: center;
}

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

.xctu-images-carousel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.xctu-figure {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
}

.xctu-figure img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.xctu-figure figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

.xctu-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

/* Callout Box */
.callout-box {
    background: rgba(0, 188, 212, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.callout-box h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contacts Form */
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

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

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

.contact-method {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(43, 108, 176, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.contact-method a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

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

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 143, 163, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.form-alert {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.form-alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* Footer */
.footer {
    background: #f1f5f9;
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

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

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

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

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-heading);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-brand-title img {
    height: 32px;
    width: 39px;
}

.footer-col h4 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

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

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Responsive Tweaks & Mobile Navigation Menu */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-comparison-badge {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        height: 350px;
    }
}

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

    .nav-brand {
        order: 1;
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }

    .mobile-nav-toggle {
        display: block !important;
        order: 3;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111827;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.5rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
        z-index: 999;
    }

    .nav-menu.active {
        display: block !important;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }
    
    .nav-link::after {
        display: none !important;
    }

    .header-cta {
        display: none !important;
    }

    .mobile-only-cta {
        display: block;
        text-align: center;
        margin-top: 1rem;
        padding: 0 1.5rem;
    }
    
    .mobile-only-cta .btn-nav-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
    }
    
    .modules-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .comparison-wrapper {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .principle-graphic {
        padding: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
