:root {
    /* Brand Colors (From Admin) */
    --primary: #a30f36;
    --primary-hover: #8e0d2f;
    --primary-glow: rgba(163, 15, 54, 0.3);
    
    /* Dark Theme Palette */
    --bg-dark: #0a0a0c;
    --bg-card: #151518;
    --bg-glass: rgba(21, 21, 24, 0.7);
    
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Layout Constants */
    --container-max: 1200px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Components */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

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

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section - Centered Layout inspired by Bloxs */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--header-height) 0 4rem 0;
    background-image: 
        linear-gradient(to bottom, rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.95)),
        url('../img/bg-pattern.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.badge-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.25rem;
    background: rgba(163, 15, 54, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
}

.pill-line {
    width: 20px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 700px;
    line-height: 1.5;
}

/* Services */
.services {
    padding: 10rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Process Section */
.process {
    padding: 10rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-step {
    position: relative;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(163, 15, 54, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.process-step:hover .step-number {
    color: var(--primary);
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.process-step p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-color);
    background: #050507;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

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

/* Contact Section */
.contact {
    padding: 10rem 0;
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form .btn-primary {
    justify-content: center;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .nav-links {
        display: none;
    }
    .services, .process, .contact {
        padding: 6rem 0;
    }
    .contact-container {
        padding: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
