/* ============================================
   MNC GÜÇLENDİRME - Premium Design System
   ============================================ */

/* Reset & Variables */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #1C2333;
    --bg-card: rgba(22, 27, 34, 0.8);
    --bg-glass: rgba(22, 27, 34, 0.6);
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8C5A;
    --accent-blue: #4A90D9;
    --accent-blue-light: #6BA3E0;
    --danger: #FF4444;
    --danger-bg: rgba(255, 68, 68, 0.1);
    --success: #00C853;
    --success-bg: rgba(0, 200, 83, 0.1);
    --border: rgba(48, 54, 61, 0.6);
    --gradient-primary: linear-gradient(135deg, #FF6B35, #FF8C5A);
    --gradient-blue: linear-gradient(135deg, #4A90D9, #6BA3E0);
    --gradient-hero: linear-gradient(135deg, #0D1117 0%, #1a1f2e 50%, #0D1117 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(74, 144, 217, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.nav-cta {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-orange);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(74, 144, 217, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.6;
    }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scrollDot {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Earthquake Simulator
   ============================================ */
.simulator-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.simulator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.simulator-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.simulator-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.earthquake-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.earthquake-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.earthquake-btn:hover::after {
    width: 300px;
    height: 300px;
}

.earthquake-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

.earthquake-btn.active {
    animation: btnShake 0.5s infinite;
    background: linear-gradient(135deg, #CC0000, #990000);
}

@keyframes btnShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px) rotate(-1deg);
    }

    75% {
        transform: translateX(3px) rotate(1deg);
    }
}

.magnitude-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.mag-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mag-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--danger);
}

/* Buildings Container */
.buildings-container {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 40px;
}

.building-wrapper {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.building-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.danger-label {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.safe-label {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(0, 200, 83, 0.2);
}

/* Building Scene */
.building-scene {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.ground-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text-muted);
    border-radius: 2px;
}

/* Building Styles */
.building {
    position: relative;
    width: 160px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    transform-origin: bottom center;
    transition: transform 0.1s;
}

.foundation {
    width: 170px;
    height: 12px;
    border-radius: 2px;
    position: relative;
}

.unsafe-foundation {
    background: #555;
}

.safe-foundation {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
    box-shadow: 0 0 10px rgba(74, 144, 217, 0.3);
}

.floor {
    width: 160px;
    position: relative;
    height: 60px;
}

.column {
    position: absolute;
    bottom: 0;
    width: 16px;
    height: 55px;
    background: #777;
    border-radius: 2px;
}

.left-col {
    left: 6px;
}

.right-col {
    right: 6px;
}

.reinforced-col {
    background: #888;
    position: relative;
}

.cfrp-wrap {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: -2px;
    right: -2px;
    border: 2px solid var(--accent-blue);
    border-radius: 3px;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 3px,
            rgba(74, 144, 217, 0.15) 3px,
            rgba(74, 144, 217, 0.15) 6px);
    box-shadow: 0 0 6px rgba(74, 144, 217, 0.3);
}

.floor-slab {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #666;
    border-radius: 1px;
}

.reinforced-slab {
    background: linear-gradient(90deg, #666, var(--accent-blue), #666);
}

.window {
    position: absolute;
    width: 28px;
    height: 24px;
    background: rgba(74, 144, 217, 0.15);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: 2px;
    top: 18px;
}

.window:first-of-type {
    left: 32px;
}

.window:last-of-type {
    right: 32px;
}

.roof {
    width: 170px;
    height: 14px;
    background: #555;
    border-radius: 2px 2px 0 0;
    position: relative;
}

.reinforced-roof {
    background: linear-gradient(90deg, #555, var(--accent-blue), #555);
}

/* Cracks */
.crack {
    position: absolute;
    background: transparent;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.crack-1 {
    width: 3px;
    height: 40px;
    left: 30px;
    bottom: 80px;
    border-left: 2px solid var(--danger);
    transform: rotate(15deg);
}

.crack-2 {
    width: 3px;
    height: 30px;
    right: 40px;
    bottom: 140px;
    border-right: 2px solid var(--danger);
    transform: rotate(-10deg);
}

.crack-3 {
    width: 40px;
    height: 3px;
    left: 50px;
    bottom: 190px;
    border-bottom: 2px solid var(--danger);
    transform: rotate(-5deg);
}

.crack-4 {
    width: 3px;
    height: 50px;
    left: 80px;
    bottom: 30px;
    border-left: 2px solid var(--danger);
    transform: rotate(8deg);
}

.crack-5 {
    width: 30px;
    height: 3px;
    right: 30px;
    bottom: 100px;
    border-top: 2px solid var(--danger);
    transform: rotate(12deg);
}

/* Earthquake active states */
.shake-unsafe {
    animation: shakeViolent 0.15s infinite;
}

.shake-safe {
    animation: shakeMild 0.3s infinite;
}

@keyframes shakeViolent {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    10% {
        transform: translateX(-8px) rotate(-1.5deg);
    }

    20% {
        transform: translateX(6px) rotate(1deg);
    }

    30% {
        transform: translateX(-10px) rotate(-2deg);
    }

    40% {
        transform: translateX(8px) rotate(1.5deg);
    }

    50% {
        transform: translateX(-6px) rotate(-1deg);
    }

    60% {
        transform: translateX(10px) rotate(2deg);
    }

    70% {
        transform: translateX(-4px) rotate(-0.5deg);
    }

    80% {
        transform: translateX(8px) rotate(1deg);
    }

    90% {
        transform: translateX(-6px) rotate(-1.5deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes shakeMild {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(-2px) rotate(-0.3deg);
    }

    50% {
        transform: translateX(2px) rotate(0.3deg);
    }

    75% {
        transform: translateX(-1px) rotate(-0.2deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

.crack-show {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.building-collapse {
    animation: collapse 2s ease-in forwards !important;
}

@keyframes collapse {
    0% {
        transform: translateX(0) rotate(0);
    }

    40% {
        transform: translateX(5px) rotate(2deg);
    }

    60% {
        transform: translateX(-3px) rotate(-1deg) skewX(3deg);
    }

    80% {
        transform: translateX(8px) rotate(5deg) skewX(5deg);
        opacity: 0.8;
    }

    100% {
        transform: translateX(15px) rotate(12deg) skewX(8deg) translateY(20px);
        opacity: 0.5;
    }
}

/* Shield Glow */
.shield-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.shield-active {
    opacity: 1;
    border-color: rgba(0, 200, 83, 0.4);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.15), inset 0 0 20px rgba(0, 200, 83, 0.05);
    animation: shieldPulse 1s infinite;
}

@keyframes shieldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 200, 83, 0.15);
    }

    50% {
        box-shadow: 0 0 35px rgba(0, 200, 83, 0.25);
    }
}

/* VS Divider */
.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    padding: 0 8px;
    align-self: center;
}

/* Status Bar */
.building-status {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
    width: 100%;
}

.unsafe-fill {
    background: var(--success);
}

.safe-fill {
    background: var(--success);
}

.progress-pct {
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

/* Simulator Results */
.simulator-result {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.simulator-result.show {
    display: grid;
    animation: fadeSlideUp 0.5s ease;
}

.result-card {
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.danger-result {
    background: var(--danger-bg);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.safe-result {
    background: var(--success-bg);
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.result-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.result-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Simulator CTA */
.simulator-cta {
    display: none;
    text-align: center;
    padding: 32px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.simulator-cta.show {
    display: block;
    animation: fadeSlideUp 0.5s ease 0.3s both;
}

.simulator-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Debris */
.debris-piece {
    position: absolute;
    background: #777;
    border-radius: 1px;
}

/* Ground shake */
.ground-shake .ground-line {
    animation: groundShake 0.15s infinite;
}

@keyframes groundShake {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow-orange);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-orange), var(--accent-blue));
    border-radius: 1px;
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-orange);
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 14px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Materials Section
   ============================================ */
.materials-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.material-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.material-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 217, 0.3);
    box-shadow: var(--shadow-glow-blue);
}

.material-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.material-icon {
    font-size: 2rem;
}

.material-badge {
    padding: 4px 12px;
    background: rgba(74, 144, 217, 0.1);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(74, 144, 217, 0.2);
}

.material-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.material-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Tests Section
   ============================================ */
.tests-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.test-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.test-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.3);
}

.test-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 107, 53, 0.1);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.test-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.test-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.about-feature svg {
    flex-shrink: 0;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.badge-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent-orange);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
}

.contact-card h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-card a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--accent-orange);
}

.contact-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-orange);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B949E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-orange);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {

    .services-grid,
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        z-index: 998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 999;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .buildings-container {
        flex-direction: column;
        gap: 32px;
    }

    .vs-divider {
        transform: rotate(90deg);
        padding: 16px 0;
    }

    .simulator-controls {
        flex-direction: column;
    }

    .simulator-result {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .tests-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 26px;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1rem;
    }

    .process-step {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .building-scene {
        height: 260px;
    }

    .building {
        width: 130px;
    }

    .foundation {
        width: 140px;
    }

    .floor {
        width: 130px;
    }

    .roof {
        width: 140px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Seismic wave animation for ground */
@keyframes seismicWave {
    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    100% {
        transform: scaleX(3);
        opacity: 0;
    }
}

.seismic-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    background: var(--danger);
    border-radius: 2px;
    transform-origin: center;
    opacity: 0;
}

.seismic-wave.active {
    animation: seismicWave 1s ease-out infinite;
}