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

:root {
    --bg-dark: hsl(224, 71%, 4%);
    --bg-deep: hsl(222, 47%, 7%);
    --bg-card: rgba(13, 20, 38, 0.55);
    --bg-card-hover: rgba(22, 33, 62, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary: hsl(217, 91%, 60%);
    --primary-glow: rgba(37, 99, 235, 0.4);
    --primary-hover: hsl(217, 91%, 68%);
    --accent: hsl(263, 90%, 65%);
    --accent-glow: rgba(139, 92, 246, 0.4);
    --accent-green: hsl(142, 71%, 45%);
    --accent-orange: hsl(27, 96%, 61%);
    --accent-red: hsl(350, 89%, 60%);
    
    --text-main: hsl(210, 40%, 98%);
    --text-muted: hsl(215, 20%, 65%);
    --text-sub: hsl(215, 15%, 50%);
    
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    position: relative;
}

/* Background Space Nebula Glows */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Global Layout & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--glow-shadow);
    padding: 32px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.15);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 550;
    font-family: var(--font-sans);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(217, 91%, 50%) 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
    filter: brightness(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, hsl(263, 90%, 55%) 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6);
    filter: brightness(1.05);
}

/* Navigation Header */
header {
    background: rgba(8, 12, 24, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

header .logo span {
    font-weight: 350;
    color: var(--text-muted);
}

header ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

header ul li a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

header ul li a:hover, header ul li a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Footer Section */
footer {
    background: hsl(224, 71%, 2%);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

/* Forms Input Elements */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

select.form-control option {
    background-color: var(--bg-deep);
    color: var(--text-main);
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.widget-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-shadow);
    cursor: pointer;
    transition: var(--transition-smooth);
    color: white;
}

.widget-whatsapp {
    background: #25d366;
    color: #fff;
}
.widget-whatsapp:hover {
    background: #1ebc5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.scroll-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.widget-chat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.widget-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 28px;
    height: 20px;
    z-index: 110;
}

.mobile-nav-toggle span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: var(--text-main);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition-smooth);
}

.mobile-nav-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-nav-toggle span:nth-child(2) {
    top: 8px;
}

.mobile-nav-toggle span:nth-child(3) {
    top: 16px;
}

.mobile-nav-toggle.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
    left: -40px;
}

.mobile-nav-toggle.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Responsive Grid layouts */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .mobile-nav-toggle {
        display: block;
    }
    header ul {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(8, 12, 24, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 99;
    }
    header ul.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    header ul li {
        width: 100%;
        text-align: center;
    }
    header ul li a {
        display: block;
        padding: 14px 24px;
        width: 100%;
        font-size: 1.05rem;
    }
    header ul li a.btn {
        width: calc(100% - 48px);
        margin: 8px auto;
        padding: 10px 20px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
