@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette (Dark Theme Default) */
    --bg-primary: #0a0d16;
    --bg-secondary: #101524;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-active: rgba(255, 255, 255, 0.15);
    --bg-input: rgba(0, 0, 0, 0.2);
    --bg-header: rgba(10, 13, 22, 0.75);
    --bg-header-scrolled: rgba(8, 10, 18, 0.92);
    --shadow-header: 0 10px 30px rgba(0, 0, 0, 0.35);
    
    --accent-teal: #0eb2c8;
    --accent-teal-rgb: 14, 178, 200;
    --accent-teal-dark: #0e738a;
    
    --accent-orange: #f27a1a;
    --accent-orange-rgb: 242, 122, 26;
    --accent-orange-dark: #d6640d;
    
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glow-shadow-teal: 0 0 20px rgba(14, 178, 200, 0.25);
    --glow-shadow-orange: 0 0 20px rgba(242, 122, 26, 0.25);
}

/* Light Theme Variables */
html[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.015);
    --bg-card-hover: rgba(0, 0, 0, 0.04);
    --border-color: rgba(0, 0, 0, 0.07);
    --border-color-active: rgba(0, 0, 0, 0.15);
    --bg-input: #f1f5f9;
    --bg-header: rgba(248, 250, 252, 0.85);
    --bg-header-scrolled: rgba(255, 255, 255, 0.96);
    --shadow-header: 0 10px 30px rgba(0, 0, 0, 0.06);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #f1f5f9;
    
    --glow-shadow-teal: 0 10px 20px rgba(14, 178, 200, 0.12);
    --glow-shadow-orange: 0 10px 20px rgba(242, 122, 26, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #1f293d;
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal-dark);
}

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

section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 30%, #a1a8c3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dark) 100%);
    color: #000;
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow-teal);
    background: linear-gradient(135deg, #17cbe3 0%, var(--accent-teal) 100%);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow-orange);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: var(--bg-header-scrolled);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-header);
}

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

.site-header.scrolled .nav-container {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 48px;
    width: 168px;
}

.logo-img {
    height: 100%;
    width: auto;
}

/* Themeable SVG Logo Styling */
.logo-svg {
    height: 100%;
    width: auto;
    display: block;
}

.logo-text-ok {
    fill: var(--accent-teal);
    transition: var(--transition-smooth);
}

.logo-text-guvenlik {
    fill: var(--text-main);
    transition: var(--transition-smooth);
}

html[data-theme="light"] .logo-text-ok {
    fill: var(--accent-teal-dark);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    white-space: nowrap;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0.45rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

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

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

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

.nav-link.active {
    color: var(--accent-teal);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-toggle:hover {
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
}

.lang-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    border-color: var(--accent-orange);
    background: var(--bg-card-hover);
    color: var(--accent-orange);
}

.theme-toggle .moon-icon {
    display: none;
}

.theme-toggle .sun-icon {
    display: block;
}

html[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

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

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 6rem;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(14, 178, 200, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 10% 85%, rgba(242, 122, 26, 0.04) 0%, transparent 40%);
    overflow: hidden;
}

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

.hero-content {
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(242, 122, 26, 0.1);
    color: var(--accent-orange);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(242, 122, 26, 0.2);
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-main) 40%, #8b92b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Stats in Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-teal);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Hero Interactive Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-backdrop {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 178, 200, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.visual-content {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.visual-shield {
    margin-bottom: 2rem;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 15px rgba(14, 178, 200, 0.4));
    animation: float 6s ease-in-out infinite;
}

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

.visual-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.visual-sub {
    font-size: 0.875rem;
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.visual-lines {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.visual-line {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.visual-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
    animation: scanning 3s infinite;
}

.visual-line:nth-child(2)::after {
    animation-delay: 1s;
}

.visual-line:nth-child(3)::after {
    animation-delay: 1.8s;
}

@keyframes scanning {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.about-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.about-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card-title svg {
    color: var(--accent-teal);
}

.about-card-text {
    font-size: 1rem;
    line-height: 1.6;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.8rem;
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
}

.value-icon {
    width: 42px;
    height: 42px;
    background: rgba(242, 122, 26, 0.1);
    color: var(--accent-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.value-text {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-teal);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card-icon {
    width: 54px;
    height: 54px;
    background: rgba(14, 178, 200, 0.08);
    color: var(--accent-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    background: var(--accent-teal);
    color: #000;
    box-shadow: var(--glow-shadow-teal);
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card-brief {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card-more {
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-more {
    color: var(--accent-orange);
    gap: 0.8rem;
}

/* Service Detail Modal/Drawer */
.service-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.service-drawer {
    position: fixed;
    top: 0;
    right: -550px;
    width: 100%;
    max-width: 550px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    padding: 4rem 3rem;
    overflow-y: auto;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
}

.service-drawer.active {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.drawer-close:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: rotate(90deg);
}

.drawer-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 178, 200, 0.08);
    color: var(--accent-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.drawer-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main) 50%, #8b92b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.drawer-detail-title {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.drawer-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.drawer-bullet-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.drawer-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.drawer-bullet-item {
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.drawer-bullet-item svg {
    flex-shrink: 0;
    color: var(--accent-teal);
    margin-top: 0.2rem;
}

/* Process Section */
.process {
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.process-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.process-num {
    position: absolute;
    top: -2rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    background: var(--bg-secondary);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.process-card:hover .process-num {
    background: var(--accent-orange);
    color: #000;
    box-shadow: var(--glow-shadow-orange);
}

.process-card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.process-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.process-card-desc {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* References Section */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reference-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.reference-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-teal);
    transform: scale(1.03);
}

.reference-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.reference-card:hover .reference-icon-wrapper {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    background: rgba(242, 122, 26, 0.05);
}

.reference-title {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Contact Section */
.contact {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail-content p {
    font-family: var(--font-title);
    font-size: 1.125rem;
    color: var(--text-main);
    font-weight: 600;
}

.contact-alert-box {
    background: rgba(242, 122, 26, 0.05);
    border: 1px solid rgba(242, 122, 26, 0.15);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-alert-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(242, 122, 26, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-alert-title {
    font-size: 1.25rem;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-alert-desc {
    font-size: 0.925rem;
    line-height: 1.6;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

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

.form-label {
    display: block;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(14, 178, 200, 0.15);
}

.form-select option {
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin: 2rem 0;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-input);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-input:checked {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.checkbox-input:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-family: var(--font-title);
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Toast Messages */
.form-toast {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-toast.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    display: block;
}

.form-toast.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    display: block;
}

/* Footer Section */
.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
}

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

.footer-logo-link {
    display: inline-block;
    height: 48px;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 100%;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    color: var(--text-main);
}

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

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact-item svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

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

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        width: 100%;
        max-width: 600px;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .services-grid, .process-grid, .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 3rem 2rem;
        gap: 3rem;
        border-top: 1px solid var(--border-color);
        transition: var(--transition-smooth);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .lang-toggle {
        justify-content: center;
        padding: 0.8rem;
    }
    
    .services-grid, .process-grid, .references-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        gap: 4rem;
    }
    
    .process-card {
        padding-top: 3.5rem;
    }
    
    .process-num {
        top: -2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-card:hover .process-num {
        transform: translateX(-50%) translateY(-2px);
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Hero Visual Wrappers for Randomization */
.hero-visual-wrapper {
    display: none;
    width: 100%;
}

.hero-visual-wrapper.active {
    display: block;
}

/* Blueprint Layout Styles */
.blueprint-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 auto;
}

.blueprint-svg {
    width: 100%;
    height: auto;
    display: block;
}

.blueprint-grid {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 0.5;
}

.blueprint-walls {
    fill: none;
    stroke: var(--text-main);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.45;
    transition: var(--transition-smooth);
}

.blueprint-doors {
    fill: none;
    stroke: var(--accent-orange);
    stroke-width: 1.5;
    opacity: 0.8;
}

.bp-node {
    cursor: pointer;
}

.bp-node circle.pulse {
    animation: bp-node-pulse 2s infinite;
    transform-origin: center;
}

@keyframes bp-node-pulse {
    0% { r: 6px; opacity: 1; }
    100% { r: 18px; opacity: 0; }
}

.bp-node-icon {
    fill: var(--bg-secondary);
    stroke-width: 2;
    transition: var(--transition-smooth);
}

/* Specific Node Styling */
.bp-node[data-id="cctv"] .bp-node-icon { stroke: var(--accent-teal); fill: rgba(14, 178, 200, 0.1); }
.bp-node[data-id="fire"] .bp-node-icon { stroke: #ef4444; fill: rgba(239, 68, 68, 0.1); }
.bp-node[data-id="access"] .bp-node-icon { stroke: var(--accent-orange); fill: rgba(242, 122, 26, 0.1); }
.bp-node[data-id="audio"] .bp-node-icon { stroke: #a855f7; fill: rgba(168, 85, 247, 0.1); }

.bp-fov {
    fill: rgba(14, 178, 200, 0.02);
    stroke: rgba(14, 178, 200, 0.12);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    transition: var(--transition-smooth);
    pointer-events: none;
}

/* Hover FOV & ranges */
.blueprint-svg.active-cctv .bp-fov {
    fill: rgba(14, 178, 200, 0.15);
    stroke: rgba(14, 178, 200, 0.4);
}

.bp-fire-range {
    fill: rgba(239, 68, 68, 0.01);
    stroke: rgba(239, 68, 68, 0.1);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.blueprint-svg.active-fire .bp-fire-range {
    fill: rgba(239, 68, 68, 0.1);
    stroke: rgba(239, 68, 68, 0.35);
}

.bp-access-indicator {
    fill: none;
    stroke: var(--accent-orange);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    transition: var(--transition-smooth);
    pointer-events: none;
    opacity: 0.2;
}

.blueprint-svg.active-access .bp-access-indicator {
    stroke-width: 1.5;
    opacity: 0.8;
}

.bp-audio-range {
    fill: none;
    stroke: #a855f7;
    stroke-width: 1;
    stroke-dasharray: 4 4;
    transition: var(--transition-smooth);
    pointer-events: none;
    opacity: 0.15;
}

.blueprint-svg.active-audio .bp-audio-range {
    stroke-width: 1.5;
    opacity: 0.7;
}

/* Info overlay panel card */
.blueprint-info-card {
    margin-top: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.2rem;
    min-height: 100px;
    transition: var(--transition-smooth);
    text-align: left;
}

html[data-theme="light"] .blueprint-info-card {
    background: #f1f5f9;
}

.blueprint-info-card h4 {
    font-size: 1rem;
    color: var(--accent-orange);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blueprint-info-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-main);
}

/* CCTV AI Monitor Console Styles */
.cctv-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.cctv-feed {
    position: relative;
    background: #070a13;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1.6;
}

.cctv-screen {
    width: 100%;
    height: 100%;
    display: block;
}

/* Scanline animation */
.scanline {
    animation: cctv-scanline 6s linear infinite;
    transform-origin: top;
}

@keyframes cctv-scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(140px); }
}

/* Blinking REC dot */
.blink {
    animation: cctv-blink 1s step-end infinite;
}

@keyframes cctv-blink {
    50% { opacity: 0; }
}

/* LED Blinking */
.led-blink {
    animation: cctv-led 1.5s step-end infinite;
}

@keyframes cctv-led {
    50% { opacity: 0.3; }
}

/* AI box scale/pulse */
.ai-box {
    animation: cctv-ai 4s ease-in-out infinite alternate;
}

@keyframes cctv-ai {
    0% { transform: scale(1); }
    100% { transform: scale(1.05) translate(-2px, -2px); }
}

/* Logs Scroll Terminal */
.cctv-terminal {
    background: #02040a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem;
    font-family: monospace;
    font-size: 0.725rem;
    color: #10b981;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
}

.terminal-header {
    font-weight: 700;
    color: var(--accent-orange);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.2rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.terminal-body {
    flex-grow: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: terminal-fade-in 0.3s ease-out forwards;
}

@keyframes terminal-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Radar sweep */
.radar-sweep {
    animation: radar-sweep-anim 4s linear infinite;
    transform-origin: 120px 75px;
}

@keyframes radar-sweep-anim {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.radar-dot {
    animation: radar-dot-fade 2s infinite;
}

@keyframes radar-dot-fade {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Network Topology Flow Styles */
.topology-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.topology-svg {
    width: 100%;
    height: auto;
    display: block;
}

.topo-link {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.topo-node {
    cursor: pointer;
}

.topo-node circle.outer {
    fill: var(--bg-secondary);
    stroke-width: 2.5;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.topo-node[data-id="switch"] circle.outer { stroke: var(--accent-teal); fill: rgba(14, 178, 200, 0.1); }
.topo-node[data-id="router"] circle.outer { stroke: #a855f7; fill: rgba(168, 85, 247, 0.1); }
.topo-node[data-id="cctv"] circle.outer { stroke: var(--accent-teal); fill: rgba(14, 178, 200, 0.05); }
.topo-node[data-id="fire"] circle.outer { stroke: #ef4444; fill: rgba(239, 68, 68, 0.05); }
.topo-node[data-id="access"] circle.outer { stroke: var(--accent-orange); fill: rgba(242, 122, 26, 0.05); }
.topo-node[data-id="audio"] circle.outer { stroke: #f59e0b; fill: rgba(245, 158, 11, 0.05); }
.topo-node[data-id="intercom"] circle.outer { stroke: #10b981; fill: rgba(16, 185, 129, 0.05); }

.topo-node:hover circle.outer {
    transform: scale(1.15);
    stroke-width: 3.5;
}

.topo-node[data-id="switch"]:hover circle.outer {
    stroke: var(--accent-teal);
    fill: rgba(14, 178, 200, 0.25);
}

.packet-dot {
    opacity: 0.7;
    filter: drop-shadow(0 0 4px var(--accent-teal));
}

/* ===== INTERACTIVE SOLUTIONS CENTER ===== */
.solutions-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-teal-rgb), 0.3), transparent);
}

/* Tabs Navigation */
.solutions-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--border-color-active);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(var(--accent-teal-rgb), 0.15), rgba(var(--accent-orange-rgb), 0.1));
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: var(--glow-shadow-teal);
}

.tab-btn svg {
    flex-shrink: 0;
}

/* Tab Panels */
.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

/* Grid layout for inputs + results */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

/* Inputs panel */
.solutions-inputs {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.solution-form .form-group {
    margin-bottom: 1.2rem;
}

.solution-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.1em;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(var(--accent-teal-rgb), 0.15);
}

/* Range Slider */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slider-val {
    background: linear-gradient(135deg, rgba(var(--accent-teal-rgb), 0.15), rgba(var(--accent-orange-rgb), 0.1));
    color: var(--accent-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-title);
    border: 1px solid rgba(var(--accent-teal-rgb), 0.2);
}

.form-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-orange));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-teal);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--accent-teal-rgb), 0.5);
    transition: var(--transition-smooth);
}

.form-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.form-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-teal);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--accent-teal-rgb), 0.5);
}

/* Checkboxes Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

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

.checkbox-grid .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.checkbox-grid .checkbox-label:hover {
    border-color: var(--accent-teal);
    color: var(--text-main);
}

.checkbox-grid .checkbox-label:has(input:checked) {
    background: rgba(var(--accent-teal-rgb), 0.08);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    position: relative;
}

.checkbox-grid input:checked + .checkbox-custom {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
}

.checkbox-grid input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-grid input[type="checkbox"] {
    display: none;
}

/* Form sub-sections */
.form-contact-fields {
    border-top: 1px solid var(--border-color);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.form-sub-title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

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

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

/* Results Glass Panel */
.solutions-results {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 100px;
}

.results-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* Result Items */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.result-item:hover {
    border-color: rgba(var(--accent-teal-rgb), 0.25);
}

.result-item.inactive {
    opacity: 0.35;
    filter: grayscale(0.5);
}

.result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-teal-rgb), 0.1);
    border-radius: 10px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.result-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.result-value {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    min-width: 40px;
    text-align: right;
}

/* Summary Boxes */
.results-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.summary-box {
    padding: 1.2rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.summary-box.highlight {
    background: linear-gradient(135deg, rgba(var(--accent-orange-rgb), 0.1), rgba(var(--accent-teal-rgb), 0.05));
    border-color: var(--accent-orange);
}

.summary-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.summary-value {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-teal);
}

.summary-box.highlight .summary-value {
    color: var(--accent-orange);
}

/* Diagnostic Panel */
.diagnostic-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.diagnostic-content.hidden {
    display: none;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    transition: var(--transition-smooth);
}

.check-list li:hover {
    border-color: rgba(var(--accent-teal-rgb), 0.25);
}

/* SLA Package Cards */
.sla-packages-selection {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sla-pkg-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sla-pkg-card:hover {
    border-color: var(--border-color-active);
}

.sla-pkg-card.active {
    border-color: var(--accent-teal);
    background: rgba(var(--accent-teal-rgb), 0.06);
}

.sla-pkg-radio {
    display: none;
}

.sla-pkg-name {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent-orange);
    margin-bottom: 0.15rem;
}

.sla-pkg-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.sla-pkg-card[data-pkg="gold"].active {
    border-color: var(--accent-orange);
    background: rgba(var(--accent-orange-rgb), 0.06);
}

/* SLA Info Panel */
.mandatory-period-box {
    padding: 1.2rem;
    background: rgba(var(--accent-orange-rgb), 0.08);
    border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive tab buttons on very small */
@media (max-width: 480px) {
    .tab-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
    .tab-btn span {
        display: none;
    }
    .results-summary {
        grid-template-columns: 1fr;
    }
}
