:root {
    --bg-dark: #0f0c29;
    --bg-mid: #302b63;
    --bg-light: #24243e;
    --accent-1: #ff8a00;
    --accent-2: #e52e71;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Base Nav styling */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(15, 12, 41, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo span {
    color: var(--accent-1);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background video */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Fades the video smoothly into the dark background */
}

/* Radical vignette overlay to make text highly readable */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15,12,41,0.1) 0%, rgba(15,12,41,0.95) 100%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    color: #dfdfef;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Buttons */
.btn-glow {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border: none;
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(229, 46, 113, 0.4);
    display: inline-block;
    margin: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(229, 46, 113, 0.7);
}

.btn-outline {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    border: 2px solid var(--text-muted);
    color: white;
    padding: 13px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.btn-primary {
    background: white;
    color: var(--bg-dark) !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
}
.btn-primary:hover {
    background: var(--accent-1);
    color: white !important;
}

.pulse-hover:hover {
    animation: ping 1s infinite;
}

@keyframes ping {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 46, 113, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(229, 46, 113, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 46, 113, 0); }
}

/* Services */
.services {
    padding: 120px 50px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 70px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Authentic Glassmorphism Logic */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Reflective edge */
    padding: 50px 30px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.glass-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(229, 46, 113, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Area */
.contact {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    background: var(--bg-dark);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 60px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.glass-panel h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

form input {
    width: 100%;
    padding: 18px 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 1.1rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: 0.3s;
}

form input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 15px rgba(255, 138, 0, 0.3);
}

form button {
    width: 100%;
    margin-top: 10px;
    padding: 20px;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Breakpoints */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    .nav-links { display: none; }
    .glass-nav { padding: 20px; }
    .section-title { font-size: 2.5rem; }
    .glass-card { padding: 30px 20px; }
}
