/* ============================================
   PMESH — Industrial Monitoring Website
   Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --c-bg: #0a0a0f;
    --c-bg-elevated: #12121a;
    --c-bg-card: #16161f;
    --c-bg-card-hover: #1c1c28;
    --c-surface: #1e1e2a;
    --c-border: rgba(255, 255, 255, 0.06);
    --c-border-hover: rgba(255, 255, 255, 0.12);

    --c-text: #f0f0f5;
    --c-text-secondary: #9494a8;
    --c-text-tertiary: #64647a;

    --c-teal: #008080;
    --c-teal-light: #00b4d8;
    --c-cyan: #00d8e8;
    --c-green: #00d8a0;
    --c-red: #ff4d6a;
    --c-amber: #ffb84d;
    --c-orange: #ff8a4d;

    --gradient-main: linear-gradient(135deg, var(--c-teal), var(--c-teal-light), var(--c-cyan));
    --gradient-text: linear-gradient(135deg, var(--c-teal-light), var(--c-cyan), var(--c-green));
    --gradient-card: linear-gradient(135deg, rgba(0, 128, 128, 0.08), rgba(0, 180, 216, 0.04));

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.5rem;
    --fs-6xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 128, 128, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-dark {
    background: var(--c-bg-elevated);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.92);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--c-teal-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-main);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-lg);
    z-index: 999;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--c-text-secondary);
    padding: var(--space-sm) 0;
}

.mobile-nav-link:hover {
    color: var(--c-text);
}

.mobile-nav-cta {
    margin-top: var(--space-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    font-family: var(--font);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 128, 128, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-border-hover);
}

.btn-outline:hover {
    border-color: var(--c-teal);
    background: rgba(0, 128, 128, 0.08);
}

.btn-nav {
    background: var(--gradient-main);
    color: #fff;
    padding: 8px 18px;
    font-size: var(--fs-xs);
    box-shadow: 0 0 16px rgba(0, 128, 128, 0.25);
}

.btn-nav:hover {
    box-shadow: 0 0 24px rgba(0, 128, 128, 0.45);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: var(--fs-base);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 600px;
    top: 10%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(0, 128, 128, 0.08) 0%, transparent 70%);
    filter: blur(40px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: rgba(0, 128, 128, 0.1);
    border: 1px solid rgba(0, 128, 128, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-teal-light);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--c-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: var(--fs-6xl);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.hero-stat-value {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--c-text);
}

.hero-stat-label {
    font-size: var(--fs-xs);
    color: var(--c-text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--c-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-xl);
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 128, 128, 0.15) 100%);
    pointer-events: none;
}

/* Floating cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    background: rgba(22, 22, 31, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: var(--fs-xs);
    animation: float-card 4s ease-in-out infinite;
}

.card-sensor {
    bottom: 20%;
    left: -10%;
}

.card-alert {
    top: 15%;
    right: -8%;
}

.fc-label {
    display: block;
    color: var(--c-text-tertiary);
    font-weight: 500;
}

.fc-value {
    display: block;
    color: var(--c-text);
    font-weight: 600;
}

.fc-green {
    color: var(--c-green);
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--c-teal), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-teal-light);
    margin-bottom: var(--space-md);
    padding: 4px 12px;
    background: rgba(0, 128, 128, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* --- Problem Section --- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.problem-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.problem-card:nth-child(1)::before { background: linear-gradient(90deg, var(--c-red), transparent); }
.problem-card:nth-child(2)::before { background: linear-gradient(90deg, var(--c-amber), transparent); }
.problem-card:nth-child(3)::before { background: linear-gradient(90deg, var(--c-orange), transparent); }

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.problem-icon-red { background: rgba(255, 77, 106, 0.1); color: var(--c-red); }
.problem-icon-amber { background: rgba(255, 184, 77, 0.1); color: var(--c-amber); }
.problem-icon-orange { background: rgba(255, 138, 77, 0.1); color: var(--c-orange); }

.problem-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.problem-desc {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.problem-stat {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--c-border);
}

.problem-stat-value {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--c-text);
}

.problem-stat-label {
    font-size: var(--fs-xs);
    color: var(--c-text-tertiary);
}

/* --- Features / Solution --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.feature-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(0, 128, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card-main {
    grid-column: 1 / -1;
    background: var(--gradient-card);
    border-color: rgba(0, 128, 128, 0.15);
}

.feature-number {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--c-teal-light);
    margin-bottom: var(--space-lg);
    font-variant-numeric: tabular-nums;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 128, 128, 0.1);
    border: 1px solid rgba(0, 128, 128, 0.15);
    border-radius: var(--radius-md);
    color: var(--c-teal-light);
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.feature-tag {
    font-size: var(--fs-xs);
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(0, 128, 128, 0.08);
    border: 1px solid rgba(0, 128, 128, 0.12);
    border-radius: var(--radius-full);
    color: var(--c-teal-light);
}

/* --- Metrics Section --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.metric-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.metric-card:hover {
    border-color: rgba(0, 128, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.metric-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-xl);
}

.metric-ring svg {
    width: 100%;
    height: 100%;
}

.metric-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--c-text);
}

.metric-unit {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-text-secondary);
}

.metric-label {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.metric-desc {
    font-size: var(--fs-xs);
    color: var(--c-text-tertiary);
    line-height: 1.6;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--c-border);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-title-bar {
    font-size: var(--fs-xs);
    color: var(--c-text-tertiary);
    font-weight: 500;
}

.dashboard-body {
    padding: 0;
}

.dashboard-image {
    width: 100%;
    display: block;
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
}

.comparison-table th {
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text-tertiary);
    background: rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
}

.comparison-table td {
    color: var(--c-text-secondary);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 128, 128, 0.03);
}

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

.feature-col {
    font-weight: 600 !important;
    color: var(--c-text) !important;
    min-width: 180px;
}

.pmesh-col {
    background: rgba(0, 128, 128, 0.05) !important;
    border-left: 2px solid rgba(0, 128, 128, 0.3);
    min-width: 180px;
}

.col-header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--c-teal-light);
    font-size: var(--fs-sm);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.col-sub {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--c-text-tertiary);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
}

.check-badge {
    display: inline-flex;
    padding: 3px 10px;
    background: rgba(0, 216, 160, 0.1);
    border: 1px solid rgba(0, 216, 160, 0.2);
    border-radius: var(--radius-full);
    color: var(--c-green);
    font-weight: 600;
    font-size: var(--fs-xs);
}

.check-badge.best {
    background: rgba(0, 128, 128, 0.15);
    border-color: rgba(0, 128, 128, 0.3);
    color: var(--c-teal-light);
}

.x-badge {
    display: inline-flex;
    padding: 3px 10px;
    background: rgba(255, 77, 106, 0.08);
    border: 1px solid rgba(255, 77, 106, 0.15);
    border-radius: var(--radius-full);
    color: var(--c-red);
    font-weight: 500;
    font-size: var(--fs-xs);
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.team-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(0, 128, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.team-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.8) 100%);
    pointer-events: none;
}

.team-info {
    padding: var(--space-xl);
}

.team-name {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-teal-light);
    margin-bottom: var(--space-md);
    padding: 2px 10px;
    background: rgba(0, 128, 128, 0.1);
    border-radius: var(--radius-full);
}

.team-bio {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: var(--space-4xl) 0;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: var(--space-4xl) var(--space-2xl);
    background: var(--gradient-card);
    border: 1px solid rgba(0, 128, 128, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 128, 128, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    position: relative;
}

.cta-subtitle {
    font-size: var(--fs-base);
    color: var(--c-text-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    position: relative;
}

/* --- Footer --- */
.footer {
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: var(--fs-sm);
    color: var(--c-text-tertiary);
    max-width: 280px;
    line-height: 1.6;
}

.footer-heading {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-secondary);
    margin-bottom: var(--space-lg);
}

.footer-link {
    display: block;
    font-size: var(--fs-sm);
    color: var(--c-text-tertiary);
    padding: 4px 0;
}

.footer-link:hover {
    color: var(--c-teal-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--c-border);
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--c-text-tertiary);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }

    .hero-title {
        font-size: var(--fs-5xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .card-sensor { left: 2%; }
    .card-alert { right: 2%; }

    .problems-grid,
    .metrics-grid,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .problems-grid > :last-child {
        grid-column: 1 / -1;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-6xl: 2.75rem;
        --fs-5xl: 2.25rem;
        --fs-4xl: 2rem;
        --fs-3xl: 1.5rem;
    }

    .nav-links { display: none; }

    .nav-toggle { display: flex; }

    .mobile-nav { display: flex; }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .hero-title {
        font-size: var(--fs-4xl);
    }

    .problems-grid,
    .metrics-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .problems-grid > :last-child {
        grid-column: auto;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .floating-card {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: var(--fs-3xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
