@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@400;700;800&display=swap');

:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-red: #D93025;
    --accent-red-glow: rgba(217, 48, 37, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Image Overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/background.png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -1;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-color) 80%);
    z-index: -1;
}

/* Redirect Notification */
.redirect-notify {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(217, 48, 37, 0.15);
    border: 1px solid var(--accent-red);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 1000;
    font-family: var(--font-header);
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default, shown by JS */
    animation: slideDown 0.5s var(--transition);
}

.redirect-notify strong {
    color: var(--accent-red);
}

@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 1s var(--transition);
}

.brand-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent-red);
    color: white;
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--accent-red-glow);
}

h1 {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff 40%, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.hero-description {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
}

/* Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
    animation: fadeInUp 1s var(--transition) 0.3s both;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(217, 48, 37, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-title {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 10px 20px var(--accent-red-glow);
}

/* Footer Section */
footer {
    margin-top: 6rem;
    text-align: center;
    color: var(--text-secondary);
    animation: fadeInUp 1s var(--transition) 0.6s both;
}

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

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

@media (max-width: 768px) {
    .container { padding: 2rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
}
