/* SLGYMS Modern Web Design System & Theme Engine (Logo Gold & Silver Palette) */
:root {
    /* Logo Theme Color Tokens */
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --primary-glow: rgba(245, 158, 11, 0.35);
    
    --gold: #eab308;
    --gold-bright: #fbbf24;
    --gold-hover: #ca8a04;
    --gold-glow: rgba(234, 179, 8, 0.35);
    
    --silver: #cbd5e1;
    --silver-bright: #f1f5f9;
    --silver-glow: rgba(203, 213, 225, 0.25);

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Theme-specific tokens (Default Obsidian Dark Mode) */
    --bg-main: #0a0e1a;
    --bg-section: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(31, 41, 55, 0.9);
    --border-color: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(234, 179, 8, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --nav-bg: rgba(10, 14, 26, 0.9);
    --shadow-glass: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-section: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(241, 245, 249, 1);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(245, 158, 11, 0.5);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow-glass: 0 10px 30px 0 rgba(0, 0, 0, 0.08);
}

/* Reset & Basic Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #e2e8f0 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold { color: var(--primary); }
.text-silver { color: var(--silver); }
.text-muted { color: var(--text-muted); }

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-highlight);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.45));
}

.footer-logo-img {
    height: 60px;
}

.nav-menu {
    display: flex;
    gap: 28px;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="dark"] .icon-light { display: none; }
[data-theme="light"] .icon-dark { display: none; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 90px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item i {
    color: var(--success);
    margin-right: 6px;
}

/* Hero Graphic & Turnstile Preview */
.main-preview-card {
    padding: 20px;
}

.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

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

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
}
.window-dots span:nth-child(1) { background-color: #ff5f56; }
.window-dots span:nth-child(2) { background-color: #ffbd2e; }
.window-dots span:nth-child(3) { background-color: #27c93f; }

.live-status {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cyan);
}

.hero-split-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.preview-software, .preview-hardware {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
}

.preview-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.mini-stat {
    background: var(--bg-card);
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.mini-stat .lbl { font-size: 0.7rem; color: var(--text-muted); }
.mini-stat .val { font-size: 1.1rem; font-weight: 800; color: var(--text-main); }
.mini-stat.accent .val { color: var(--cyan); }

.recent-scans-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scan-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
}

.scan-item.status-ok .avatar { color: var(--success); }
.scan-item.status-blocked .avatar { color: var(--danger); }
.scan-info { display: flex; flex-direction: column; flex: 1; }
.scan-info .name { font-weight: 700; color: var(--text-main); }
.scan-info .meta { font-size: 0.68rem; color: var(--text-muted); }
.scan-item .time { font-size: 0.65rem; color: var(--text-muted); }

/* Hardware Turnstile Illustration */
.turnstile-graphic {
    height: 120px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 80%);
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.gate-post {
    width: 24px;
    height: 80px;
    background: linear-gradient(180deg, #64748b 0%, #334155 100%);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.scanner-head {
    position: absolute;
    top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cyan);
    font-size: 1.5rem;
}

.scanner-status-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 4px;
}
.scanner-status-light.green { background: var(--success); box-shadow: 0 0 8px var(--success); }

.barrier-arm {
    position: absolute;
    width: 70px;
    height: 6px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 4px;
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.barrier-arm.open {
    transform: rotate(-65deg);
}

.hardware-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-box h3 {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-box span {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* General Section Layout */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Solutions Grid & Tabs */
.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.solution-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.icon-wrapper.accent-cyan {
    background: rgba(203, 213, 225, 0.15);
    color: var(--silver);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-checklist li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-checklist li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* Access Control Hardware Banner */
.hardware-banner {
    padding: 48px;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(245, 158, 11, 0.18) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hardware-text h2 {
    font-size: 2.2rem;
    margin: 16px 0;
}

.step-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.flow-step {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.step-num {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.flow-step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Calculator Section */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px;
}

.calc-group {
    margin-bottom: 32px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.range-val {
    color: var(--primary);
}

.styled-range {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    accent-color: var(--primary);
    cursor: pointer;
}

.range-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.opt-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.2s;
}

.opt-content i {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.opt-title {
    font-size: 0.82rem;
    font-weight: 600;
}

.opt-price {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
}

.option-card input:checked + .opt-content {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
}

.option-card input:checked + .opt-content i {
    color: var(--primary);
}

.calc-result-box {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.calc-result-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.b-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.b-item strong { color: var(--text-main); }
.b-item.highlight strong { color: var(--success); }

.total-bar {
    border-top: 2px dashed var(--border-color);
    padding-top: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-price {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-heading);
}

.calc-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
    text-align: center;
}

/* Testimonial Section */
.testimonial-card {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.client-name { font-size: 1.05rem; text-align: left; }
.client-role { font-size: 0.85rem; color: var(--text-muted); text-align: left; display: block; }

/* About Section */
.about-card {
    padding: 48px;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(245, 158, 11, 0.12) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Gallery Subtabs & Views */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.gallery-tab-btn {
    padding: 12px 28px;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.gallery-tab-btn:hover, .gallery-tab-btn.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.gallery-view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-view.active {
    display: block;
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.95) 0%, transparent 100%);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Video Card Gallery Styles */
.video-card {
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-thumbnail-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
}

.video-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail-container img {
    transform: scale(1.05);
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.video-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-card {
    padding: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.c-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: 1rem;
}

.c-detail i {
    font-size: 1.4rem;
    margin-top: 4px;
}

.c-detail strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.c-detail p, .c-detail a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.c-detail a:hover {
    color: var(--primary);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0;
}

.copyright { font-size: 0.8rem !important; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
}

/* Gate Scan Live Simulator Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    width: 90%;
    max-width: 650px;
    padding: 36px;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-close-btn:hover { color: var(--danger); }

.sim-stage {
    margin-top: 24px;
}

.sim-gate-container {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.sim-gate-screen {
    background: #020617;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sim-gate-screen.state-granted {
    border-color: var(--success);
    color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.sim-gate-screen.state-denied {
    border-color: var(--danger);
    color: var(--danger);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.sim-gate-physical {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 40px;
}

.sim-post {
    width: 32px;
    height: 100px;
    background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
    border-radius: 6px;
}

.sim-scanner-box {
    position: absolute;
    left: 45px;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cyan);
    font-size: 1.8rem;
}

.sim-scanner-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    margin-bottom: 4px;
}

.sim-barrier-arm {
    position: absolute;
    left: 80px;
    width: 220px;
    height: 12px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 6px;
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sim-barrier-arm.open {
    transform: rotate(-70deg);
}

.sim-btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.sim-log-box {
    background: #020617;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    font-family: monospace;
    font-size: 0.8rem;
    height: 110px;
    overflow-y: auto;
}

.log-line { margin-bottom: 4px; }
.log-line.ok { color: var(--success); }
.log-line.error { color: var(--danger); }

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-glass);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid, .calc-wrapper, .contact-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.5rem; }
    .options-grid { grid-template-columns: 1fr; }
    .step-flow { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn { display: block; }
    .solution-grid { grid-template-columns: 1fr; }
    .hero-split-preview { grid-template-columns: 1fr; }
    .sim-btn-group { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .carousel-container { height: 300px; }
}

/* Crystal Clear Hero Image Showcase Carousel */
.hero-pure-carousel {
    position: relative;
    padding-top: 90px;
    padding-bottom: 30px;
    background: var(--bg-main);
}

.hero-slider-pure {
    position: relative;
    width: 100%;
    aspect-ratio: 2.35 / 1;
    max-height: 560px;
    min-height: 280px;
    background: #060911;
    overflow: hidden;
}

.hero-slider-pure .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider-pure .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider-pure .carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slider-pure .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-tag-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 5;
}

.hero-slider-pure .prev-btn {
    left: 20px;
    z-index: 10;
}

.hero-slider-pure .next-btn {
    right: 20px;
    z-index: 10;
}

.hero-slider-pure .carousel-dots {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Action Bar Below Carousel */
.hero-action-bar {
    padding: 24px 0 10px;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
}

.action-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.action-bar-container .badge-pill {
    margin-bottom: 0;
}

.action-bar-container .hero-cta-group {
    margin-bottom: 0;
    gap: 12px;
}

.btn-md {
    padding: 12px 24px;
    font-size: 0.98rem;
}

.action-bar-container .hero-trust-badges {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
}

/* Floating Action Widgets (WhatsApp, Back-to-Top, Gate Demo) */
.floating-widgets-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 999;
}

.floating-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn i {
    font-size: 1.5rem;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Back To Top Scroll Button */
.back-to-top-btn {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-highlight);
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* Gate Simulator Float Button */
.sim-float-btn {
    width: auto;
    height: 44px;
    padding: 0 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(245, 158, 11, 0.3) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-highlight);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    gap: 8px;
}

.sim-float-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* Tooltip Hover Popups */
.float-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.floating-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Creative Glass Card Hover & Tilt */
.glass-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}
