:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-blue: #2e3192;
    --accent-gray: #6d6e71;
    --accent-gold: #ffd700;
    --accent-primary: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --accent-1: #19e003; /* or Malzeme Seçimi */
    --accent-2: #ffd700; /* For Mühendislik Hesapları */
    --accent-3: #00d4ff; /* For Kalite Kontrol */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Glassmorphism Effects */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.glass-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(46, 49, 146, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-card.rounded {
    border-radius: 35px;
}

.accent-1 {
    --accent: var(--accent-1);
}

.accent-2 {
    --accent: var(--accent-2);
}

.accent-3 {
    --accent: var(--accent-3);
}



/* Video Hero Section */
.video-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    background: #f2f1f8;
    margin-top: 96px;
}

.video-hero video {
    width: 70%;
    height: 70%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media (max-width: 768px) {
    .video-hero {
        min-height: 50vh;
        margin-top: 56px;
    }

    .video-hero video {
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 480px) {
    .video-hero {
        min-height: 40vh;
        margin-top: 56px;
    }

    .video-hero video {
        width: 90%;
        height: 90%;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1a2e 50%, var(--bg-secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.btn-modern {
    padding: 1rem 2rem;
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.btn-modern:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

/* Floating Elements */
.floating-element {
    animation: advancedFloat 6s ease-in-out infinite;
}

@keyframes advancedFloat {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-20px) rotateZ(2deg); }
    50% { transform: translateY(-10px) rotateZ(0deg); }
    75% { transform: translateY(-15px) rotateZ(-2deg); }
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}

.section .container {
    max-width: 1400px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 212, 255, 0.1);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Story Section */
.story-section {
    background: var(--secondary-bg);
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    will-change: box-shadow;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(46, 49, 146, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.product-icon svg,
.product-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-card h4,
.product-card p,
.product-card a {
    position: relative;
    z-index: 2;
}


.glass-card img,
.product-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Stats Section */
.stats-section {
    background: var(--primary-bg);
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card:hover {
    transform: translateY(-5px) translateX(3px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--accent-blue);
    color: var(--text-primary);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: var(--text-primary);
    margin-bottom: 2rem;
}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3D Card Effects (Only for non-product cards) */
.card-3d:not(.product-card) {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.card-3d:not(.product-card):hover {
    transform: rotateY(12deg) rotateX(6deg) translateZ(25px);
}

/* Futuristic Cursor */
.futuristic-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #2e3192, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
    opacity: 0;
}

.futuristic-cursor.active {
    opacity: 1;
}

.futuristic-cursor::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(46, 49, 146, 0.3);
    border-radius: 50%;
    animation: cursorPulse 2s infinite;
}

@keyframes cursorPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 49, 146, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(109, 110, 113, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(46, 49, 146, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-2%, -1%) rotate(1deg); }
    66% { transform: translate(1%, -2%) rotate(-1deg); }
}

/* Interactive Particles */
.interactive-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #2e3192;
    border-radius: 50%;
    opacity: 0;
    animation: particleLife 4s infinite;
}

@keyframes particleLife {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* Holographic Effects */
.holographic {
    position: relative;
    background: linear-gradient(45deg, transparent 30%, rgba(46, 49, 146, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: holographicShimmer 3s ease-in-out infinite;
}

@keyframes holographicShimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Glitch Effects for Sections */
.glitch-section {
    position: relative;
    overflow: hidden;
}

.glitch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 49, 146, 0.03), transparent);
    animation: glitchScan 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes glitchScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Neon Text Effects */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 3px #2e3192,
        0 0 6px #2e3192;
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Production Chain Section */
.step-badge {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.step-badge .no {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--accent);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-copy {
    font-size: 1rem;
    color: var(--text-secondary);
}

.icon svg {
    stroke: var(--accent);
}

/* Story Section Specific Text Styling */
.story-section .lead {
    font-family: 'Poppins', sans-serif;
}

/* Responsive Styles */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        text-align: center;
    }

    .floating-element {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-icon {
        width: 60px;
        height: 60px;
    }

    .product-icon svg,
    .product-icon img {
        width: 40px;
        height: 40px;
    }
}
