:root {
    --bg-color: #0b1121;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #38bdf8;
    --accent: #818cf8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Outfit', sans-serif;
    --nav-height: 80px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(129, 140, 248, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 17, 33, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

/* Layout Utilities */
main {
    min-height: calc(100vh - var(--nav-height) - 100px);
    padding-top: var(--nav-height);
}

.page-container {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.page-header h1 {
    font-size: 3.5rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.badge.glow {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Contact Page Layout */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    background: rgba(37, 99, 235, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.info-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.info-item p, .info-item a {
    color: var(--text-secondary);
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.submit-btn {
    width: 100%;
}

/* Terms Page Layout */
.document-section {
    max-width: 900px;
}

.text-content h2 {
    margin-top: 2.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
}

.text-content h2:first-of-type {
    margin-top: 0;
}

.text-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-content address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin: 1.5rem 0;
}

.last-updated {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.6) !important;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    padding: 4rem 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: center;
}

/* Animations & Effects */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.bg-blobs {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0; 
    pointer-events: none;
}
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
    border-radius: 50%;
}
.blob-1 { background: var(--primary); width: 40vw; height: 40vw; top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { background: var(--secondary); width: 50vw; height: 50vw; bottom: -20%; right: -10%; animation-delay: -5s; }
.blob-3 { background: var(--accent); width: 30vw; height: 30vw; top: 40%; left: 60%; animation-delay: -10s; }
@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(10vw, 5vw) scale(1.2) rotate(45deg); }
}

.glow-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--primary-glow);
    border-color: rgba(56, 189, 248, 0.5);
}

.icon-glow {
    animation: pulse-glow 3s infinite alternate;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(255,255,255,0.1); }
    100% { box-shadow: 0 0 20px var(--primary-glow); border-color: rgba(56, 189, 248, 0.4); }
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(11, 17, 33, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        z-index: 99;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
