/* ============================================
   TeknoMarkt Elektronik - Modern Tech Store CSS
   Color Scheme: #1A1A2E / #E94560 / #16213E
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #E94560 #1A1A2E;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1A2E;
}
::-webkit-scrollbar-thumb {
    background: #E94560;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5a76;
}

::selection {
    background: rgba(233, 69, 96, 0.4);
    color: #fff;
}

body {
    background-color: #1A1A2E;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Neon Glow Effects --- */
.neon-glow {
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.3),
                0 0 30px rgba(233, 69, 96, 0.1);
}

.neon-glow-blue {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3),
                0 0 30px rgba(0, 212, 255, 0.1);
}

.neon-text {
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5),
                 0 0 20px rgba(233, 69, 96, 0.2);
}

.neon-text-blue {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                 0 0 20px rgba(0, 212, 255, 0.2);
}

/* --- Card Styles --- */
.tech-card {
    background: linear-gradient(145deg, #16213E, #1A1A2E);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-card:hover {
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(233, 69, 96, 0.1);
}

.product-card {
    background: linear-gradient(145deg, #16213E, #1A1A2E);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E94560, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    border-color: rgba(233, 69, 96, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(233, 69, 96, 0.08);
}

/* --- Category Card --- */
.category-card {
    background: linear-gradient(160deg, #16213E 0%, #1A1A2E 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(233, 69, 96, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.category-card:hover {
    border-color: rgba(233, 69, 96, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(233, 69, 96, 0.15);
}

.category-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.category-card:hover .icon-wrap {
    transform: scale(1.1) rotate(-3deg);
}

/* --- Hero Section --- */
.hero-gradient {
    background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 40%, #16213E 70%, #1A1A2E 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(233, 69, 96, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* --- Animated Background Grid --- */
.grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Gradient Borders --- */
.gradient-border {
    position: relative;
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #E94560, #00D4FF);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* --- Badge Styles --- */
.badge-sale {
    background: linear-gradient(135deg, #E94560, #ff6b6b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-new {
    background: linear-gradient(135deg, #00D4FF, #0099cc);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Button Styles --- */
.btn-primary {
    background: linear-gradient(135deg, #E94560, #d63a54);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff5a76, #E94560);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #E94560;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    border: 2px solid #E94560;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: #E94560;
    color: white;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
    transform: translateY(-2px);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #A0AEC0;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #E94560, #00D4FF);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* --- Floating Elements Animation --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(233, 69, 96, 0.3); }
    50% { box-shadow: 0 0 25px rgba(233, 69, 96, 0.5); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

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

.shimmer {
    background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* --- Rating Stars --- */
.stars {
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* --- Price Tag --- */
.price-tag {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #E94560;
    font-size: 1.25rem;
}

.price-old {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    color: #718096;
    font-size: 0.875rem;
    text-decoration: line-through;
}

/* --- Form Inputs --- */
.form-input {
    width: 100%;
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #E94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.form-input::placeholder {
    color: #4a5568;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* --- Stats Counter --- */
.stat-card {
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.8), rgba(26, 26, 46, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E94560, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* --- Blog Card --- */
.blog-card {
    background: linear-gradient(145deg, #16213E, #1A1A2E);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.blog-card .blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card .blog-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, #16213E);
}

/* --- Service Card --- */
.service-card {
    background: linear-gradient(145deg, #16213E, #1A1A2E);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E94560, #00D4FF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    border-color: rgba(233, 69, 96, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* --- Campaign Card --- */
.campaign-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
}

.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- Table Styles --- */
.tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tech-table th {
    background: rgba(233, 69, 96, 0.15);
    color: #E94560;
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}

.tech-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: #cbd5e0;
}

.tech-table tr:hover td {
    background: rgba(233, 69, 96, 0.05);
}

/* --- Responsive Fixes --- */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

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

    .btn-primary,
    .btn-outline {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* --- Countdown Timer Style --- */
.countdown-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 60px;
}

.countdown-box .number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.countdown-box .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #A0AEC0;
    letter-spacing: 1px;
}

/* --- Timeline --- */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2rem;
    border-left: 2px solid rgba(233, 69, 96, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E94560;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.timeline-item:last-child {
    border-left-color: transparent;
}


/* ===== Overflow / Tasma Korumasi ===== */
*, *::before, *::after {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

p, li, td, th, a, span, h1, h2, h3, h4, h5, h6, label, blockquote {
    overflow-wrap: break-word;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

pre, code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
