:root {
    color-scheme: dark;
    /* Premium Color Palette - Atmospheric/Data Science Theme */
    --bg-color: #0b0d17;
    /* Deep dark blue */
    --text-color: #e0e6ed;
    /* Off-white */
    --accent-color: #00d4ff;
    /* Cyan/Teal for "Atmos" feel */
    --secondary-accent: #7b2cbf;
    /* Deep purple/blue for depth */
    --nav-bg: rgba(11, 13, 23, 0.9);
    --card-bg: rgba(255, 255, 255, 0.05);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --transition-speed: 0.6s;
}

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

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

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

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

.nav-links a[aria-current='page'] {
    color: var(--accent-color);
}

.nav-cta {
    background: var(--accent-color);
    color: #0b0d17 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    color: #0b0d17 !important;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Scroll Snap Targets */
.hero {
    scroll-snap-align: start;
}

.scrolly-section,
.by-the-numbers,
.who-we-serve,
.why-atmoscale,
.credibility-bar,
.closing-cta {
    scroll-snap-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, rgba(11, 13, 23, 0) 70%);
    z-index: -1;
}

.hero-logo {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    z-index: 2;
    /* Ensure text is above overlay */
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('../images/radar_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    z-index: 1;
    /* Above base background, below text */
    animation: fadeInOverlay 2s ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes fadeInOverlay {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
    position: relative;
    z-index: 2;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.1s;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Scrollytelling Sections */
.scrolly-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 1s ease,
        transform 1s ease;
    will-change: transform, opacity;
}

.scrolly-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    align-items: center;
}

.scrolly-section:nth-child(even) .content-wrapper {
    direction: rtl;
    /* Alternating layout */
}

.scrolly-section:nth-child(even) .text-content {
    direction: ltr;
    text-align: left;
    /* Keep text aligned left */
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.text-content p {
    font-size: 1.1rem;
    color: #a0a0a0;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

/* By the Numbers */
.by-the-numbers {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, var(--bg-color) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.by-the-numbers h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 1.5rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-suffix {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.7;
}

.stat-label {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.4;
}

.section-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.section-link:hover {
    opacity: 0.8;
}

.stats-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Why AtmoScale */
.why-atmoscale {
    padding: 5rem 5%;
    text-align: center;
}

.why-atmoscale h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #fff;
    text-wrap: balance;
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.differentiator-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: border-color 0.3s ease;
    position: relative;
}

.differentiator-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.differentiator-card .card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    pointer-events: none;
}

.differentiator-card h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.differentiator-card p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.7;
}

/* Who We Serve */
.who-we-serve {
    padding: 5rem 5%;
    text-align: center;
}

.who-we-serve h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #fff;
    text-wrap: balance;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: border-color 0.3s ease;
}

.audience-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.audience-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.audience-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.audience-item p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.audience-item--link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.audience-item--link:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.audience-item--link h3,
.audience-item--link p {
    color: inherit;
}

.audience-item--link h3 {
    color: var(--accent-color);
}

.audience-item--link p {
    color: #a0a0a0;
}

.audience-tagline {
    margin-top: 2.5rem;
    font-size: 1.1rem;
    color: #a0a0a0;
    font-style: italic;
}

/* Credibility Bar */
.credibility-bar {
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.credibility-bar p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #a0a0a0;
    line-height: 1.8;
}

.credibility-bar em {
    color: var(--text-color);
    font-style: italic;
}

/* Closing CTA Section */
.closing-cta {
    text-align: center;
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 212, 255, 0.05) 50%, var(--bg-color) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.closing-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}

.closing-cta p {
    font-size: 1.15rem;
    color: #a0a0a0;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.closing-cta .btn-primary {
    display: inline-block;
    margin-bottom: 1rem;
}

.closing-cta .closing-email {
    display: block;
    color: #999;
    font-size: 0.95rem;
}

.closing-cta .closing-email a {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    background: #05060a;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: #999;
    font-size: 0.9rem;
}

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .content-wrapper {
        gap: 2rem;
    }

    .text-content h2 {
        font-size: 2rem;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--accent-color);
    background: none;
    border: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scrolly-section:nth-child(even) .content-wrapper {
        direction: ltr;
    }

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

    .nav-links {
        position: fixed;
        top: 70px;
        /* Height of nav roughly */
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        /* Solid bg for menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* Roadmap Vector Styles */
.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.roadmap-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-marker {
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-color);
}

.roadmap-content {
    width: 45%;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.roadmap-content:hover {
    border-color: var(--accent-color);
}

.roadmap-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.roadmap-item:nth-child(odd) .roadmap-content {
    text-align: right;
    margin-right: auto;
    margin-left: 55%;
    /* Push to right side */
}

.roadmap-item:nth-child(even) .roadmap-content {
    text-align: left;
    margin-left: auto;
    margin-right: 55%;
    /* Push to left side */
}

/* Adjustments for explicit targeting since flex-direction swap handles logical order */
.roadmap-item:nth-child(odd) .roadmap-content {
    margin: 0 0 0 50px;
    /* Reset margins for simple flex layout if needed, but lets stick to simpler absolute positioning relative to center? NO, Flex is better. */
    /* Let's try a cleaner approach for switching sides */
}

/* Re-doing simpler flex logic */
.roadmap-item {
    justify-content: space-between;
    margin-bottom: 4rem;
}

.roadmap-item:nth-child(odd) {
    flex-direction: row;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-content {
    width: 42%;
}

.roadmap-date {
    width: 42%;
    text-align: right;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2rem;
    padding: 0 1rem;
}

.roadmap-item:nth-child(even) .roadmap-date {
    text-align: left;
}

.roadmap-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .roadmap-line {
        left: 20px;
    }

    .roadmap-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 50px;
        position: relative;
    }

    .roadmap-marker {
        left: 20px;
        top: 0;
        transform: translate(-50%, 0);
    }

    .roadmap-content,
    .roadmap-date {
        width: 100%;
        text-align: left !important;
        margin-bottom: 0.5rem;
    }

    .roadmap-date {
        margin-top: -0.5rem;
        margin-bottom: 1rem;
        padding-left: 0;
    }
}

/* Touch & Mobile */
a,
button,
.product-card,
.audience-item,
.differentiator-card,
.solution-card,
.team-member {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 212, 255, 0.1);
}

/* Skip to Content */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #0b0d17;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Content Visibility for below-fold sections */
.by-the-numbers,
.who-we-serve,
.why-atmoscale,
.credibility-bar,
.closing-cta,
.product-category,
.team-grid,
.contact-container {
    content-visibility: auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scrolly-section {
        opacity: 1;
        transform: none;
    }

    .hero h1,
    .hero p,
    .hero-ctas,
    .hero-logo {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-overlay {
        opacity: 0.25;
        animation: none;
    }
}

/* ==========================================================================
   Page-Specific Styles (consolidated from inline <style> blocks)
   ========================================================================== */

/* --- Vision Page --- */
.vision-hero {
    padding: 8rem 5% 4rem;
    text-align: center;
}

.vision-hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(120deg, #fff, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.vision-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.25rem;
    color: #ccc;
}

.vision-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-section h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-accent);
    padding-left: 1rem;
}

.problem-statement {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.solution-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.solution-card p {
    color: #a0a0a0;
}

.highlight-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    pointer-events: none;
}

/* --- Products Page --- */
.page-header {
    padding-top: 8rem;
    text-align: center;
    padding-bottom: 2rem;
}

.page-header p {
    max-width: 650px;
    margin: 0.5rem auto 0;
    color: #a0a0a0;
}

.page-header h1 {
    font-size: 3.5rem;
    background: linear-gradient(120deg, #fff, var(--secondary-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Featured Product */
.featured-product {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5%;
}

.featured-card {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.06) 0%, rgba(123, 44, 191, 0.04) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.featured-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.featured-card p {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.featured-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

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

.featured-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
}

.featured-stat .label {
    font-size: 0.8rem;
    color: #666;
}

.featured-card .btn-primary {
    display: inline-block;
}

.featured-tech {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Product Categories */
.product-category {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-header h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.category-header p {
    color: #666;
    font-size: 0.95rem;
}

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

.product-card {
    position: relative;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.learn-more::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-card:has(.learn-more:focus-visible) {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.category-cta {
    text-align: center;
    margin-top: 2rem;
}

.category-cta a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- About Page --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.team-contact {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.9rem;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.team-contact:hover {
    background: var(--accent-color);
    color: #0b0d17;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #333;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    aspect-ratio: 1 / 1;
}

.role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.bio {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* --- Contact Page --- */
.contact-container {
    max-width: 800px;
    margin: 6rem auto;
    padding: 2rem 5%;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0a0' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: rgba(0, 0, 0, 0.3);
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background: #0b0d17;
    color: #fff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff4444;
}

.field-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
}

.form-group.error .field-error {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: #0b0d17;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(11, 13, 23, 0.3);
    border-top-color: #0b0d17;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 0 auto;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .spinner {
    display: block;
}

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

.form-status {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-status.success h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.form-status.success p {
    color: #a0a0a0;
}

.form-status.error {
    display: block;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.form-status.error h3 {
    color: #ff4444;
    margin-bottom: 0.5rem;
}

.form-status.error p {
    color: #a0a0a0;
}

.email-fallback {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.email-fallback a {
    color: var(--accent-color);
}

/* --- Responsive: Products Featured --- */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .featured-stats {
        justify-content: flex-start;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}
