/* TSCM Monitor - Modern Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #161618;
    --bg-card-hover: #1c1c1f;
    --border-color: #27272a;
    --text-primary: #fafafa;
    --text-secondary: #d4d4d8;  /* FIXED: Lighter for better contrast */
    --text-muted: #a1a1aa;      /* FIXED: Lighter for better contrast */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --glow-blue: 0 0 60px rgba(59, 130, 246, 0.3);
    --glow-purple: 0 0 60px rgba(139, 92, 246, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.1), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(6, 182, 212, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand::before {
    content: '';
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
    position: relative;
}

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

/* Navigation active state */
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 1px;
}

.nav-user {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-btn .flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-btn .arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.lang-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.lang-menu a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-menu a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.lang-menu .flag {
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

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

.btn-outline:hover {
    background: var(--bg-card);
}

.btn-block {
    width: 100%;
}

/* Hero Section - FIXED spacing */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 3rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 .gradient-text,
.page-header h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Features Section - FIXED spacing */
.features-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Features Grid - FIXED alignment */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
    transform: translateY(-4px);
}

/* Larger icons */
.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
}

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

/* How it Works Section */
.how-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.how-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 6rem;
}

.auth-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--glow-blue);
}

.auth-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
}

/* Dashboard */
.dashboard {
    padding: 6rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Tables */
.table-container {
    overflow-x: auto;
}

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

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    font-size: 0.9rem;
}

tr:hover td {
    background: var(--bg-card-hover);
}

code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Status badges */
.status-online {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--accent-green);
    font-weight: 500;
}

.status-online::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

.status-offline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-offline::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
}

/* Progress bars */
.battery-bar, .rssi-bar {
    width: 80px;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.battery-level {
    height: 100%;
    background: var(--accent-green);
    border-radius: 3px;
    transition: width 0.3s;
}

.rssi-level {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 3px;
}

/* Alerts list */
.alerts-list {
    max-height: 400px;
    overflow-y: auto;
}

.alert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border-left: 3px solid;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-orange);
}

.alert-critical {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-red);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
}

.alert-type {
    font-weight: 600;
    font-size: 0.9rem;
}

.alert-message {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.alert-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Tracker badge */
.device-tracker {
    background: rgba(239, 68, 68, 0.05) !important;
}

.tracker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--accent-red);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Admin Panel */
.admin-panel {
    padding: 6rem 2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.admin-panel h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

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

.inline-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.inline-form input,
.inline-form select {
    flex: 1;
    min-width: 120px;
    padding: 0.625rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.inline-form input:focus,
.inline-form select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Role & Tier badges */
.role-badge, .tier-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-admin {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.role-client {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.tier-basic {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.tier-pro {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.tier-enterprise {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.admin-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Footer - FIXED visibility */
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    background: var(--bg-secondary);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Detection Grid - 4 columns with equal heights */
.detection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1100px) {
    .detection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.detection-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.detection-category h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detection-category h3::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--gradient-1);
    border-radius: 2px;
    flex-shrink: 0;
}

.detection-category ul {
    list-style: none;
    flex: 1;
}

.detection-category li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detection-category li:last-child {
    border-bottom: none;
}

.detection-category li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Contact Section - FIXED spacing */
.contact-section {
    padding: 4rem 2rem;
    text-align: center;
}

.contact-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Page header for inner pages - FIXED spacing */
.page-header {
    padding: 7rem 2rem 3rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Content sections - FIXED spacing */
.content-section {
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* FIXED: 4-column grid for Detection Methods */
.how-section .features-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}

@media (max-width: 1000px) {
    .how-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .how-section .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Threat categories - 3 column layout */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 950px;
    margin: 2rem auto 0;
}

.threat-grid .feature-card {
    padding: 1.5rem;
    border-left-width: 4px;
    border-left-style: solid;
}

.threat-grid .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.threat-grid .feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .threat-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Threat level colors */
.threat-critical {
    border-left-color: var(--accent-red) !important;
}

.threat-high {
    border-left-color: var(--accent-orange) !important;
}

.threat-medium {
    border-left-color: var(--accent-blue) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

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

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

    .inline-form {
        flex-direction: column;
    }

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

    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* Technical Advantages - Comparison Styling */
.comparison-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.comparison-box p {
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.comparison-box .traditional {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--accent-red);
    color: var(--text-secondary);
}

.comparison-box .our-solution {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid var(--accent-green);
    color: var(--text-primary);
    font-weight: 500;
}

.label-old {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-new {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-intro {
    animation: fadeIn 0.8s ease-in;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .comparison-box {
        padding: 15px;
    }
    
    .comparison-box p {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Equipment Gallery Styling */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.equipment-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
}

.equipment-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-img {
    transform: scale(1.05);
}

.equipment-content {
    padding: 24px;
}

.equipment-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.equipment-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .equipment-img {
        height: 200px;
    }
    
    .equipment-content {
        padding: 20px;
    }
}

/* Hero Section with Background */
.hero {
    position: relative;
    background-image: linear-gradient(rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.9)), 
                      url('/static/img/tech-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 50%);
    pointer-events: none;
}

/* Technology section 2-column responsive */
#technology .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 900px) {
    #technology .features-grid {
        grid-template-columns: 1fr !important;
    }
}
