/* Gamd Official - Premium Software Development Company */
/* Version: 1.0 - Prismatic Emerald Theme */

:root {
    /* Main Colors */
    --clr-primary: #10b981;
    --clr-primary-glow: rgba(16, 185, 129, 0.5);
    --clr-secondary: #0ea5e9;
    --clr-accent: #bef264;
    
    /* Backgrounds */
    --bg-deep: #020617;
    --bg-surface: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-glass: rgba(15, 23, 42, 0.4);
    
    /* Text */
    --txt-main: #f8fafc;
    --txt-muted: #94a3b8;
    --txt-dim: #64748b;
    
    /* Gradients */
    --grad-main: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --grad-surface: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, #020617 100%);
    --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    
    /* Effects */
    --glass-blur: blur(20px);
    --neon-glow: 0 0 20px var(--clr-primary-glow);
    --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--txt-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary);
}

/* --- Navigation --- */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--grad-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--bg-deep);
    box-shadow: var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--txt-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--txt-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--clr-primary) !important;
}

.nav-link.active {
    color: var(--txt-main) !important;
}

.nav-btn {
    background: var(--grad-main);
    color: var(--bg-deep) !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 12px;
    font-weight: 700 !important;
    box-shadow: var(--neon-glow);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--clr-primary-glow);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-viz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.orb-1 { width: 600px; height: 600px; background: var(--clr-primary); top: -10%; right: -5%; }
.orb-2 { width: 500px; height: 500px; background: var(--clr-secondary); bottom: -10%; left: -5%; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.95;
    margin-bottom: 2rem;
}

.text-gradient {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--txt-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* --- Cards & Panels --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* --- Services Grid --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 6rem;
}

.footer-link {
    color: var(--txt-muted);
}

.footer-link:hover {
    color: var(--clr-primary);
}

/* Animations */
[data-aos] {
    transition-duration: 1000ms !important;
}

/* Contact Form Specifics */
.form-card {
    padding: 4rem;
}

.input-field {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.submit-btn {
    width: 100%;
    background: var(--grad-main);
    color: var(--bg-deep);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--neon-glow);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .form-card { padding: 2rem; }
}