/* 
    KAPASITEMATIK NEXT-GEN (2026 Vision)
    Theme: Deep Blue & Neon Cyan
*/

:root {
    /* Color Palette - Premium Industrial Theme */
    --bg-dark: #0a1628;       /* Deep Navy / Anthracite (not pure black) */
    --bg-card: #152238;       /* Dark Slate Blue */
    --primary: #2563eb;       /* Industrial Blue - Data & Engineering */
    --primary-glow: #3b82f6;  /* Lighter Blue for Glow */
    --accent: #10b981;        /* Controlled Industrial Green (not neon) */
    --accent-secondary: #0ea5e9; /* Data Blue / Turquoise */
    --text-main: #f1f5f9;     /* Soft White/Grey */
    --text-muted: #94a3b8;    /* Muted Blue Grey */
    --border: rgba(148, 163, 184, 0.12);
    
    /* Gradients - More Subtle */
    --gradient-main: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced glow for gallery frames */
.mockup-frame {
    position: relative;
    isolation: isolate;
}
.mockup-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(6,182,212,0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.mockup-item:hover .mockup-frame::after {
    opacity: 1;
}

/* Accessibility: reduce animation when requested */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero::before,
    .hero::after {
        display: none;
    }
    .companies-slider .slider-track {
        transform: none !important;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

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

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-main);
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.will-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-main) !important;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 1001;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-menu-btn.active {
    color: var(--primary);
}
.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.4) 100%);
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.25), rgba(2, 6, 23, 0));
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: floatOrb 18s ease-in-out infinite alternate;
}
.hero::before {
    top: 10%;
    left: -5%;
}
.hero::after {
    bottom: 5%;
    right: -5%;
    animation-duration: 22s;
}
@keyframes floatOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
    50% { transform: translate3d(20px, -10px, 0) scale(1.05); opacity: 0.7; }
    100% { transform: translate3d(-10px, 15px, 0) scale(1); opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 60px;
}

.hero-text {
    max-width: 650px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(6, 182, 212, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero h1 .mobile-break {
    display: none;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-glow);
    border-color: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn-primary:hover::after {
    transform: translateX(100%);
}

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

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

.stats-row {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

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

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Scroll Down Mouse */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--text-main);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Features - Bento Grid */
.features-section {
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Features */
.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: -1;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    background: rgba(6, 182, 212, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.4;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 15px;
    font-weight: 400;
    line-height: 1.6;
}

/* About Intro Text */
.about-intro {
    max-width: 900px;
    margin: 40px auto 60px;
    text-align: center;
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-intro strong {
    color: var(--text-main);
    font-weight: 600;
}

/* About Benefits Section */
.about-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

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

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.benefit-card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.benefit-card.highlight::before {
    opacity: 1;
}

.benefit-card.wide-benefit {
    grid-column: span 2;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.3;
    transition: var(--transition);
}

.benefit-card:hover .benefit-number {
    opacity: 0.6;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.3;
}

.benefit-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.benefit-content strong {
    color: var(--primary);
    font-weight: 600;
}

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

.bento-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    z-index: 1;
}

/* Spotlight Effect Base */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 2;
    pointer-events: none;
}

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

.bento-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.bento-card.large {
    grid-column: span 1;
}

.bento-card.large .card-visual {
    margin-top: 20px;
    min-height: 240px;
    height: 240px;
}

.bento-card.wide {
    grid-column: span 1;
}

.card-content { 
    position: relative; 
    z-index: 3;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.bento-card:hover .icon-box {
    background: var(--gradient-main);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.bento-card:hover .card-icon {
    color: white;
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Visuals inside Bento */
.card-visual {
    position: relative;
    height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dashboard Visual Enhancement */
.visual-dashboard {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.visual-dashboard::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.dashboard-mockup {
    width: 92%;
    height: 72%;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 5px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-chart {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 6px;
}

.chart-combo {
    position: relative;
}

.chart-line {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.6) 50%, transparent 100%);
    animation: scan 2.5s infinite linear;
    opacity: 0.6;
}

.chart-sparkline {
    grid-column: 1 / span 2;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 38px;
    padding: 4px 0;
}

.chart-sparkline span {
    width: 8px;
    background: linear-gradient(180deg, #0ea5e9 0%, #2563eb 100%);
    border-radius: 4px 4px 0 0;
    animation: spark 1.6s infinite ease-in-out alternate;
}

.chart-sparkline span:nth-child(1) { height: 30%; animation-delay: 0s; }
.chart-sparkline span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.chart-sparkline span:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.chart-sparkline span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.chart-sparkline span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.chart-sparkline span:nth-child(6) { height: 60%; animation-delay: 0.5s; }

.chart-pie {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.chart-pie::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.2);
    animation: ringPulse 2s infinite ease-in-out;
    z-index: -1;
}

.chart-pie::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: conic-gradient(
        transparent 0deg 180deg,
        rgba(16, 185, 129, 0.1) 180deg 360deg
    );
    animation: ringRotate 4s infinite linear;
    z-index: -1;
}

.pie-slice {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 72px, 72px, 36px);
}

.slice-1 {
    border-radius: 50%;
    background: conic-gradient(
        #10b981 0% 50%, 
        rgba(16, 185, 129, 0.3) 50% 100%
    );
    animation: pieRotate 3s infinite ease-in-out, pieGlow 2s infinite ease-in-out;
    transform-origin: center;
}

.slice-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        transparent 0% 50%,
        rgba(16, 185, 129, 0.5) 50% 50.5%,
        transparent 50.5% 100%
    );
    transform: translate(-50%, -50%) rotate(0deg);
    animation: pieProgress 3s infinite ease-in-out;
}

.slice-2 {
    background: conic-gradient(#f59e0b 0% 20%, transparent 20% 100%);
    transform: rotate(210deg);
    opacity: 0.8;
}

.pie-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #0b1224 0%, #1a1f3a 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    font-size: 0.7rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 
        inset 0 0 10px rgba(16, 185, 129, 0.1),
        0 0 15px rgba(16, 185, 129, 0.2);
    animation: centerPulse 2s infinite ease-in-out;
    z-index: 10;
}

.pie-center strong {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberGlow 2s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    letter-spacing: -0.5px;
}

.pie-center small {
    font-size: 0.6rem;
    color: rgba(226, 232, 240, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* OEE Animations */
@keyframes pieRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes pieProgress {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pieGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.6));
    }
}

@keyframes centerPulse {
    0%, 100% { 
        border-color: rgba(16, 185, 129, 0.2);
        box-shadow: 
            inset 0 0 10px rgba(16, 185, 129, 0.1),
            0 0 15px rgba(16, 185, 129, 0.2);
    }
    50% { 
        border-color: rgba(16, 185, 129, 0.4);
        box-shadow: 
            inset 0 0 15px rgba(16, 185, 129, 0.2),
            0 0 20px rgba(16, 185, 129, 0.4);
    }
}

@keyframes numberGlow {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.9;
        filter: brightness(1.2);
    }
}

@keyframes ringPulse {
    0%, 100% { 
        border-radius: 50%;
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

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

/* OEE Circular Progress Animations */
@keyframes progressGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    }
    50% { 
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
        filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
    }
}

@keyframes progressRing {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
        border-color: rgba(59, 130, 246, 0.2);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
        border-color: rgba(59, 130, 246, 0.4);
    }
}

@keyframes percentageGlow {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.95;
        filter: brightness(1.15);
    }
}

@keyframes labelFade {
    0%, 100% { 
        opacity: 0.8;
    }
    50% { 
        opacity: 1;
    }
}

@keyframes innerCirclePulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.02);
    }
}

@keyframes containerGlow {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes containerRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.chart-bars {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    animation: barHeight 2s infinite ease-in-out alternate;
}

.chart-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.chart-bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.chart-bar:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 85%; animation-delay: 0.45s; }

/* Downtime / Utilization */
.visual-downtime {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06));
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
}

.util-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.util-label { color: var(--text-muted); font-weight: 600; }
.util-value { color: #10b981; }

.util-bar {
    display: flex;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.util-bar .seg { height: 100%; display: block; }
.util-bar .run { background: #10b981; }
.util-bar .idle { background: #f59e0b; }
.util-bar .alarm { background: #ef4444; }

.util-legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.util-downtime {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}

@keyframes barHeight {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(1.2); }
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
    z-index: 10;
}

.live-indicator .dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0.5; } }

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spark {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(1.3); }
}

/* Security Visual */
.visual-security {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.shield-icon-3d {
    font-size: 4rem;
    color: #10b981;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.shield-radar {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-wave {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: radar 3s infinite ease-out;
}

.radar-wave.wave-1 { animation-delay: 0s; }
.radar-wave.wave-2 { animation-delay: 0.8s; }

.radar-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: blink 1.2s infinite;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

@keyframes radar {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

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

.security-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin: 12px auto ;
}

/* Metrics - Advanced Radial */
.dark-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #060b19 100%);
}

.row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text, .col-visual { flex: 1; }

.section-header.center { text-align: center; margin-bottom: 50px; }

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

.metrics-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.oee-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oee-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: containerGlow 3s infinite ease-in-out;
    z-index: -1;
}

.oee-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: conic-gradient(
        transparent 0deg,
        rgba(59, 130, 246, 0.05) 90deg,
        transparent 180deg,
        rgba(6, 182, 212, 0.05) 270deg,
        transparent 360deg
    );
    transform: translate(-50%, -50%) rotate(0deg);
    animation: containerRotate 8s infinite linear;
    z-index: -2;
}

.circular-progress {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, var(--bg-card) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transition: background 1s ease-out;
    animation: progressGlow 2s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.circular-progress::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.2);
    animation: progressRing 3s infinite ease-in-out;
    z-index: -1;
}

.circular-progress::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    z-index: 1;
}

.inner-circle {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: innerCirclePulse 3s infinite ease-in-out;
}

.percentage {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    line-height: 1;
    margin-bottom: 5px;
    animation: percentageGlow 2s infinite ease-in-out;
    letter-spacing: -2px;
}

.circle-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    animation: labelFade 2s infinite ease-in-out;
}

.sub-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.metric-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.metric-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.metric-box h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.progress-bar-sm {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar-sm .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.metric-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* How It Works Steps */
/* Workflow Container - How It Works */
.workflow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 80px;
    position: relative;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.workflow-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.workflow-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.icon-wrapper i {
    font-size: 2rem;
    z-index: 2;
    transition: var(--transition);
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    animation: iconPulse 2s infinite;
}

.icon-wrapper.signal-lamp {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.1);
}

.icon-wrapper.signal-lamp i {
    color: #ff6b6b;
}

.icon-wrapper.signal-lamp .icon-pulse {
    background: rgba(255, 107, 107, 0.3);
}

.icon-wrapper.gateway {
    border-color: rgba(255, 206, 84, 0.5);
    background: rgba(255, 206, 84, 0.1);
}

.icon-wrapper.gateway i {
    color: #ffce54;
}

.icon-wrapper.gateway .icon-pulse {
    background: rgba(255, 206, 84, 0.3);
}

.icon-wrapper.cloud {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}

.icon-wrapper.cloud i {
    color: var(--primary);
}

.icon-wrapper.cloud .icon-pulse {
    background: rgba(59, 130, 246, 0.3);
}

.icon-wrapper.software {
    border-color: rgba(71, 212, 6, 0.5);
    background: rgba(23, 212, 6, 0.1);
}

.icon-wrapper.software i {
    color: #47d406;
}

.icon-wrapper.software .icon-pulse {
    background: rgba(6, 182, 212, 0.3);
}

.workflow-step:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.workflow-content {
    text-align: center;
}

.workflow-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.workflow-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.workflow-arrow {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    z-index: 10;
}

.workflow-step:last-child .workflow-arrow {
    display: none;
}

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

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Approximate max height */
}

/* References Section */
.references {
    position: relative;
}

/* Companies Slider */
.companies-slider {
    margin: 80px 0;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    will-change: transform;
}

.slider-item {
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.236);
    border-radius: var(--radius-md);
    padding: 0 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    min-width: 200px;
}

.slider-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.slider-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slider-item img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: var(--transition);
    filter: none;
}

.slider-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Slider pause on hover - handled by JS */

/* Reference Stats */
.reference-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.reference-stats .stat-item {
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.reference-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.reference-stats .stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    transition: var(--transition);
}

.reference-stats .stat-item:hover h3 {
    transform: scale(1.1) translateY(0);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.reference-stats .stat-item:nth-child(1) h3 { animation-delay: 0.1s; }
.reference-stats .stat-item:nth-child(2) h3 { animation-delay: 0.2s; }
.reference-stats .stat-item:nth-child(3) h3 { animation-delay: 0.3s; }
.reference-stats .stat-item:nth-child(4) h3 { animation-delay: 0.4s; }

.reference-stats .stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Dashboard Preview Section */
.dashboard-preview-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.dashboard-showcase {
    margin-top: 60px;
}

.dashboard-theme-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-btn.active {
    background: var(--gradient-main);
    border-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.dashboard-container {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 60px;
}

.dashboard-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--bg-dark);
    overflow: hidden;
}

.dashboard-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.8);
    transform-origin: top left;
    width: 125%; /* Scale to fit */
    height: 125%;
}

.dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    z-index: 10;
}

.dashboard-iframe-wrapper:hover .dashboard-overlay {
    opacity: 1;
}

.dashboard-overlay-content {
    text-align: center;
    color: var(--text-main);
}

.dashboard-overlay-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.dashboard-overlay-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Dashboard Gallery - Tablet Mockup Style */
.dashboard-gallery {
    margin-top: 80px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    width: 360px; /* Tablet width */
    height: 240px; /* Tablet height */
    background: #000;
    border-radius: 18px; /* Smooth corners */
    border: 10px solid #1a1a1a; /* Dark bezel */
    box-shadow: 
        0 0 0 2px #333, /* Outer thin border */
        0 20px 50px rgba(0, 0, 0, 0.6), /* Deep shadow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* Inner shine */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Tablet Camera */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px; /* Side position for landscape */
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 1px #111;
    z-index: 5;
}

/* Screen Glare Effect */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 4;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 0 0 2px var(--primary), /* Blue active border */
        0 30px 60px rgba(59, 130, 246, 0.3); /* Blue glow shadow */
    border-color: #222;
}

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

.gallery-item:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.6); /* Slightly more transparent */
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    gap: 15px;
    z-index: 10;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

.gallery-item-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay span {
    transform: translateY(0);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2.5rem;
    color: var(--primary);
}

.gallery-item-overlay span {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-main);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 25px;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle-btn:hover {
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.theme-toggle-btn:hover::before {
    opacity: 1;
}

.theme-toggle-btn:active {
    transform: translateY(0);
}

.theme-icon-light,
.theme-icon-dark {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.theme-icon-dark {
    display: none;
}

.theme-toggle-btn.light-theme .theme-icon-light {
    display: none;
}

.theme-toggle-btn.light-theme .theme-icon-dark {
    display: block;
}

.theme-toggle-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Mockup Gallery (Large) */
.dashboard-screens {
    padding: 100px 0 60px;
}

.mockup-gallery {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 20px 0;
}

/* Grid Layout İyileştirmesi - Daha dinamik */
@media (min-width: 1200px) {
    .mockup-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .mockup-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.mockup-gallery .gallery-item {
    width: 100% !important;
    height: auto !important;
    min-height: 240px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.mockup-gallery .gallery-item::before,
.mockup-gallery .gallery-item::after {
    content: none;
}

.mockup-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 240px;
    padding: 12px;
    transform: translateZ(0) perspective(1000px);
    transform-style: preserve-3d;
}


/* Scroll Animation for Mockup Items */
.mockup-item.will-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mockup-item:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
    /* Ambient Glow - Arkadan vuran ışık efekti */
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.7), /* Gölge */
        0 0 100px -20px rgba(59, 130, 246, 0.4); /* Mavi Ambient Glow */
    border-color: rgba(59, 130, 246, 0.5);
}

/* Gradient Border Animation */
.mockup-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9, transparent, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradient-border 3s ease infinite;
}

.mockup-item:hover::before {
    opacity: 1;
}

@keyframes gradient-border {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


.mockup-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    /* Mat Koyu Metalik Kasa */
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border: 1px solid #334155;
    padding: 10px 10px 36px 10px; /* Alt kısım biraz daha belirgin */
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1), /* Top highlight */
        0 20px 50px rgba(0,0,0,0.6), /* Deep shadow */
        0 0 0 1px rgba(0,0,0,0.5); /* Outer stroke */
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Power LED Indicator (Chin ortasında) */
.mockup-frame::before {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); /* Hafif mavi glow */
    z-index: 10;
    transition: all 0.3s ease;
}

.mockup-item:hover .mockup-frame::before {
    background: #3b82f6; /* Aktif mavi */
    box-shadow: 0 0 15px #3b82f6; /* Güçlü glow */
}

/* Screen Glare - Dinamik Cam Yansıması */
.mockup-frame::after {
    content: '';
    position: absolute;
    inset: 10px 10px 36px 10px;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.02) 30%,
        transparent 35%
    );
    z-index: 5;
    pointer-events: none;
    border-radius: 4px;
    transition: all 0.6s ease;
    background-size: 200% 100%;
    background-position: 100% 0;
}

.mockup-item:hover .mockup-frame::after {
    background-position: 0 0;
    opacity: 0.7;
}

.mockup-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    background: #020617; /* Deepest dark */
    /* Inner Screen Shadow (Derinlik) */
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy smooth zoom */
    position: relative;
    z-index: 1;
}

.mockup-item:hover .mockup-frame img {
    transform: scale(1.03); /* Çok hafif zoom, taşma yapmaz */
}

.frame-top {
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    height: 26px;
    display: flex;
    align-items: center;
    z-index: 3;
    backdrop-filter: blur(2px);
    gap: 8px;
    padding: 0px 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.05);
    border-image: initial;
    border-radius: 10px;
}

/* Başlığı ortala */
.frame-title {
    font-size: 1.0rem;
    color: rgb(226, 232, 240);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.7px;
    opacity: 0.9;
    transition: color 0.3s;
}

/* Noktaları küçült ve sol tarafa al */
.frame-top .dots-wrapper {
    display: flex;
    gap: 6px;
}

.frame-dot {
    width: 8px; /* Daha ince, uzun */
    height: 8px;
    border-radius: 5px;
    box-shadow: none;
    opacity: 0.6;
}
.frame-dot.red { background: #ef4444; }
.frame-dot.yellow { background: #f59e0b; }
.frame-dot.green { background: #22c55e; }

/* Light theme: frame-title should ALWAYS be light because the monitor frame is dark */
.mockup-gallery.light-theme-active .frame-title {
    color: #75777a; /* Keep it light gray */
    opacity: 1;
}

.mockup-desc {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease,
                color 0.3s ease;
    transform: translateY(0);
    opacity: 0.9;
}

.mockup-item:hover .mockup-desc {
    transform: translateY(-4px);
    opacity: 1;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .dashboard-screens {
        padding: 60px 0 40px;
    }
    .mockup-item {
        min-height: 200px;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contact */
.contact-section {
    padding-bottom: 50px;
}

.contact-box {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-text {
    padding: 60px;
    flex: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

.contact-form {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0; /* Prevent flex item from overflowing */
}

.contact-form button[type="submit"] {
    margin-top: 10px;
}

/* Form Message Styles */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message i {
    font-size: 1.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Messages - Micro Trust Layer */
.trust-messages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.trust-item i {
    color: var(--accent);
    font-size: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea { 
    height: 120px; 
    resize: vertical;
    font-family: inherit;
}

.name-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.character-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

#charCount {
    color: var(--primary);
    font-weight: 600;
}

#wordCount {
    color: var(--primary);
    font-weight: 600;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-group input:focus.error,
.form-group textarea:focus.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    margin: 10px 0 15px 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.checkbox-group.error {
    animation: shake 0.3s ease;
}

.checkbox-group.error .checkbox-custom {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--bg-card);
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
    cursor: pointer;
    pointer-events: auto;
    z-index: 3;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-main);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.checkbox-text {
    flex: 1;
}

.kvkk-link {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.kvkk-link:hover {
    color: var(--accent);
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

/* KVKK Modal */
.kvkk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kvkk-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.kvkk-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.kvkk-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10003;
}

.kvkk-modal.show .kvkk-modal-content {
    transform: scale(1);
}

.kvkk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border);
}

.kvkk-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.kvkk-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.kvkk-modal-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.kvkk-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.kvkk-modal-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 25px;
    margin-bottom: 10px;
}

.kvkk-modal-body h3:first-child {
    margin-top: 0;
}

.kvkk-modal-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.kvkk-modal-body ul {
    color: var(--text-muted);
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

.kvkk-modal-body li {
    margin-bottom: 8px;
}

.kvkk-modal-body strong {
    color: var(--text-main);
}

.kvkk-modal-body em {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.kvkk-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.form-group input:focus, .form-group input:not(:placeholder-shown),
.form-group textarea:focus, .form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background: var(--bg-card);
    padding: 0 5px;
    color: var(--primary);
}

.btn-block { width: 100%; }

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    background: #010409;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 30px;
    opacity: 0.8;
}

.footer-partner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
}

.footer-partner-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-tezmaksan-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-tezmaksan-logo:hover {
    opacity: 1;
}

.footer-social {
    display: none;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-left: 20px;
    transition: var(--transition);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

/* Keyboard Navigation Enhancement */
.keyboard-nav *:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255, 255, 255, 0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bento-card {
        padding: 30px;
        min-height: 280px;
    }
    
    .bento-card.large {
        grid-column: span 2;
    }
    
    .bento-card.large .card-visual {
        min-height: 160px;
        height: 160px;
    }
    
    .contact-box { 
        flex-direction: column; 
    }
    
    .contact-text {
        padding: 40px 30px;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        line-height: 1.2;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .hero h1 .mobile-break {
        display: block;
    }
    
    .hero h1 .text-gradient {
        display: inline-block;
        max-width: 100%;
    }
    
    .sub-metrics { grid-template-columns: 1fr; }
    .about-intro {
        margin: 30px auto 40px;
    }
    .about-intro p {
        font-size: 0.95rem;
    }
    .about-benefits {
        grid-template-columns: 1fr;
    }
    .benefit-card.wide-benefit {
        grid-column: span 1;
    }
    .workflow-container { 
        flex-direction: column;
        gap: 40px;
    }
    .workflow-arrow {
        right: auto;
        top: auto;
        bottom: -20px;
        transform: rotate(90deg);
    }
}

/* Tablet & Mobile Navigation */
@media (max-width: 1024px) {
    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links::before {
        display: none;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff;
    }
    
    .nav-links a.btn-nav {
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
}

@media (max-width: 768px) {
    /* Fix chart mockup overflow on mobile */
    .card-visual {
        height: 180px;
    }
    .bento-card.large .card-visual {
        height: 200px;
        min-height: 200px;
    }
    .dashboard-mockup {
        width: 100%;
        height: 100%;
        padding: 10px;
    }
    .chart-pie {
        width: 64px;
        height: 64px;
    }
    .pie-slice {
        clip: rect(0, 64px, 64px, 32px);
    }
    .pie-center {
        width: 42px;
        height: 42px;
        font-size: 0.65rem;
    }
    .chart-sparkline {
        height: 32px;
    }
    .chart-sparkline span {
        width: 6px;
    }
    .chart-bar:nth-child(1) { height: 45%; }
    .chart-bar:nth-child(2) { height: 65%; }
    .chart-bar:nth-child(3) { height: 50%; }
    .chart-bar:nth-child(4) { height: 80%; }
    .chart-bars {
        gap: 4px;
    }

    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a.btn-nav {
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    .bento-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-card {
        padding: 24px;
        min-height: auto;
    }
    
    .bento-card.large {
        grid-column: span 1;
    }
    
    .bento-card.large .card-visual {
        min-height: 150px;
        height: 150px;
        margin-top: 16px;
    }
    
    .bento-card h3 {
        font-size: 1.25rem;
    }
    
    .bento-card p {
        font-size: 0.9rem;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Hero başlık mobil düzeltmesi */
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .hero h1 .mobile-break {
        display: block;
    }
    
    .about-intro {
        margin: 25px auto 35px;
    }
    .about-intro p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .about-benefits {
        grid-template-columns: 1fr;
    }
    .benefit-card.wide-benefit {
        grid-column: span 1;
    }
    .benefit-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    .benefit-number {
        font-size: 2.5rem;
    }
    
    .row { flex-direction: column; }
    .footer-content { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    .footer-brand { 
        flex-direction: column; 
    }
    .footer-partner {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 0;
        flex-wrap: wrap;
    }
    .footer-partner-label {
        font-size: 0.75rem;
    }
    .footer-tezmaksan-logo {
        height: 28px;
    }
    .hero h1 { 
        font-size: 1.6rem; 
        line-height: 1.3;
        padding: 0 10px;
    }
    .hero h1 .mobile-break {
        display: block;
    }
    
    .workflow-container { 
        flex-direction: column;
        gap: 40px;
    }
    .workflow-step {
        width: 100%;
    }
    .workflow-arrow {
        right: auto;
        top: auto;
        bottom: -20px;
        transform: rotate(90deg);
    }
    
    .kvkk-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .kvkk-modal-header,
    .kvkk-modal-body,
    .kvkk-modal-footer {
        padding: 20px;
    }
    
    .kvkk-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .kvkk-modal-body h3 {
        font-size: 1.1rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .name-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-box {
        flex-direction: column;
    }
    
    .contact-text {
        padding: 40px 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .name-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Dashboard Preview Mobile */
    .dashboard-preview-section {
        padding: 60px 0;
    }
    
    .dashboard-theme-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .theme-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-iframe-wrapper {
        padding-bottom: 75%; /* Taller on mobile */
    }
    
    .dashboard-iframe-wrapper iframe {
        transform: scale(0.6);
        width: 166.67%;
        height: 166.67%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-header h3 {
        font-size: 1.5rem;
    }
    
    .image-modal-content {
        max-width: 95%;
        padding: 20px;
    }
    
    .image-modal-close {
        top: -30px;
        right: 10px;
    }
}

/* reCAPTCHA v3 Badge Styling - Formun içine al */
.grecaptcha-badge {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 20px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-shadow: none !important;
}

/* reCAPTCHA badge container - form içinde görünüm */
.contact-form {
    position: relative;
}

/* reCAPTCHA badge için wrapper oluştur */
.recaptcha-info {
    text-align: center;
    margin: 15px 0 20px;
    padding: 12px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recaptcha-info i {
    color: var(--primary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .grecaptcha-badge {
        transform: scale(0.9);
        transform-origin: center;
    }
}
