:root {
    --bg-dark: #030303;
    --text-main: #FFFFFF;
    --text-muted: #8E8E93;
    --accent-primary: #6366F1; /* Brighter indigo */
    --accent-glow: #A5B4FC;
    --card-bg: rgba(255, 255, 255, 0.015);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(99, 102, 241, 0.4); /* Neon accent border on hover */
}

html {
    scroll-behavior: smooth; /* Smooth scroll when clicking 'Initiate Project' */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Premium Glassmorphism */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px; /* Smoother, rounder corners */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 100;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Hero Section Updates */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    filter: blur(80px);
    animation: pulse 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

/* Gradient Text for Premium Agency Vibe */
.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 0%, #A5A5A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15), 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Bento Grid System Capabilities */
.services {
    padding: 10rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

.service-card {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

/* Subtle glow border effect on hover */
.service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

/* Contact Form Upgrades */
.contact {
    padding: 10rem 0;
    border-top: 1px solid var(--card-border);
}

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

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.02);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    background: var(--accent-primary);
    color: var(--text-main);
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #5558DD;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* Animation Delays for organic loading feel */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* New Visual Layout Styles */
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-main); }
.nav-cta { background: rgba(99, 102, 241, 0.15); border: 1px solid var(--accent-primary); padding: 0.5rem 1rem; border-radius: 8px; color: var(--text-main) !important; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; text-align: left; position: relative; z-index: 1; width: 100%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-visual { display: none; } }

.badge { display: inline-block; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3); color: var(--accent-glow); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }

.hero-visual { height: 280px; padding: 1.5rem; display: flex; flex-direction: column; text-align: left; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.terminal-header { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.8rem; margin-bottom: 1rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #FF5F56; } .yellow { background: #FFBD2E; } .green { background: #27C93F; }
.terminal-title { color: var(--text-muted); font-size: 0.8rem; font-family: monospace; margin-left: 0.5rem; }
.code-line { font-family: monospace; font-size: 0.95rem; margin-bottom: 0.5rem; color: #A5A5A5; }
.cmd { color: var(--accent-primary); font-weight: bold; }
.success { color: #27C93F; }
.pulse-bar { width: 8px; height: 18px; background: var(--text-main); display: inline-block; animation: blink 1s infinite; margin-left: 0.5rem; }
@keyframes blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.form-control::placeholder { color: rgba(255, 255, 255, 0.2); }