/* ============================================
   DKM AUTOMOTIVE - PREMIUM DESIGN
   ============================================ */

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

:root {
    --primary: #0B1120;
    --secondary: #1a2332;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gold: #fbbf24;
    --success: #10b981;
    --light: #f8fafc;
    --text: #e2e8f0;
    --text-dark: #94a3b8;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #0B1120 0%, #1a2332 50%, #0B1120 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: floatSubtle 30s infinite ease-in-out;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2563eb 0%, transparent 70%);
    top: -300px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1e40af 0%, transparent 70%);
    bottom: -250px;
    right: -150px;
    animation-delay: 10s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: 20s;
}

@keyframes floatSubtle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-bottom: 1px solid var(--accent);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: opacity 0.3s;
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

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

/* ============================================
   HERO SECTION - WOW FACTOR
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.glitch {
    position: relative;
    color: #ffffff;
    font-weight: 800;
}

.gradient-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-md);
    animation: pulse-shadow 3s infinite;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
    }
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    animation: none;
}

.cta-button.secondary {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Stats - Premium Redesign */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--glass);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.05);
}

.stat-icon-new {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid var(--accent);
    border-radius: 16px;
    color: var(--accent);
    transition: all 0.4s;
}

.stat-item:hover .stat-icon-new {
    transform: scale(1.1) rotate(5deg);
    background: rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.stat-icon-new svg {
    width: 28px;
    height: 28px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Floating shapes in hero - minimal */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.06;
    animation: floatMinimal 25s infinite ease-in-out;
}

.shape-a {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 5%;
    left: 10%;
}

.shape-b {
    width: 350px;
    height: 350px;
    background: var(--accent-light);
    bottom: 10%;
    right: 15%;
    animation-delay: 10s;
}

.shape-c {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    right: 25%;
    animation-delay: 20s;
}

@keyframes floatMinimal {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

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

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

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    height: 1px;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, var(--glass-border) 20%, var(--accent) 50%, var(--glass-border) 80%, transparent 100%);
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

/* ============================================
   SECTIONS
   ============================================ */
.about,
.products,
.contact {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    transition: color 0.3s;
}

.about-card:hover h3 {
    color: var(--accent-light);
}

.about-card p {
    color: var(--text-dark);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   PRODUCTS - PREMIUM CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    padding: 3rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.product-card:hover .card-glow {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--accent);
    background: rgba(37, 99, 235, 0.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.product-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    transition: all 0.4s;
}

.product-card:hover .product-icon-wrapper {
    transform: scale(1.1);
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
}

.product-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.product-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-info,
.contact-form-placeholder {
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.contact-info h3,
.contact-form-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

.email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.email-link::before {
    content: '→';
    position: absolute;
    right: -25px;
    opacity: 0;
    transition: all 0.3s;
}

.email-link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--accent);
    transform: translateX(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.email-link:hover::before {
    right: -30px;
    opacity: 1;
}

.contact-form-placeholder p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.markets,
.partnership {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.markets h4,
.partnership h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.markets ul {
    list-style: none;
}

.markets li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.markets li:last-child {
    border-bottom: none;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: rgba(10, 14, 39, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.footer-legal p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin: 0.3rem 0;
    opacity: 0.8;
}

.footer-links {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

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

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

.footer-links .separator {
    color: var(--text-muted);
    margin: 0 1rem;
}

.cookie-notice {
    text-align: center;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.cookie-notice p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-notice a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
}

.cookie-notice a:hover {
    color: var(--accent-light);
    border-bottom-style: solid;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 0.9;
    visibility: visible;
}

.scroll-top:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-top svg {
    color: white;
}

/* ============================================
   RESPONSIVE - ENHANCED
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .about,
    .products,
    .contact {
        padding: 5rem 0;
    }

    .about-grid,
    .products-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .about-card,
    .product-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-icon-new {
        width: 50px;
        height: 50px;
    }

    .stat-icon-new svg {
        width: 24px;
        height: 24px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-detail {
        font-size: 0.7rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .gradient-text {
        font-size: 1.3rem;
    }
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}
