/* 
* Enkapro.net - Premium Tech Styles
* Theme: Red & Black
*/

:root {
    --primary-color: #e60000;
    --primary-glow: #ff0000;
    --primary-dark: #8a0000;
    --bg-color: #030303;
    --card-bg: #0a0a0a;
    --border-color: #222;
    --text-color: #ffffff;
    --text-muted: #888;
    --font-main: 'Outfit', sans-serif;
    --grid-line: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    animation: pulse-glow 10s infinite alternate;
}

.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(100, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse-glow 15s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(230, 0, 0, 0.6);
    transform: translateY(-2px);
    border-color: #ff3333;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(230, 0, 0, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Main Layout for Center Focus */
.main-content {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Space for header */
}

/* Services Section - Streamlined */
.services {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 20px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
}

/* Feature Classes */
.col-span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

/* Styles */
.bento-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
    background: #0f0f0f;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-icon-lg {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: -10px;
    right: -10px;
    transition: all 0.4s ease;
}

.bento-card:hover .card-icon-lg {
    color: rgba(230, 0, 0, 0.2);
    transform: scale(1.1) rotate(-10deg);
}

.card-icon-sm {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

/* Feature Hints */
.feature-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.main-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    background: #020202;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    text-align: center;
    padding-top: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 100px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .col-span-2,
    .row-span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .mobile-hide {
        display: none;
    }

    .section-header h1 {
        font-size: 2rem;
    }
}