/* Root Variables */
:root {
    --bg-primary: #050505;
    --bg-secondary: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 20, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.justify-center { justify-content: center; }

/* Background Blobs for Atmosphere */
.blob-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(5,5,5,0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.blob-2 {
    top: 40%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(5,5,5,0) 70%);
}

.blob-3 {
    top: 80%;
    left: 20%;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(5,5,5,0) 70%);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: rgba(255,255,255,0.2);
}

.large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Typography Enhancements */
.gradient-text {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Sections */
section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Feature Sections */
.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.full-width-card {
    padding: 48px;
}

.alt-bg {
    background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.6) 100%);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.feature-list li strong {
    color: var(--text-primary);
}

/* Contact */
.contact-section {
    text-align: center;
    padding-bottom: 80px;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 32px;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Accordion Details */
.glass-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.glass-details:hover {
    background: rgba(255, 255, 255, 0.05);
}

.glass-details summary {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
    list-style: none;
    position: relative;
    user-select: none;
}

.glass-details summary::-webkit-details-marker {
    display: none;
}

.glass-details summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.glass-details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent-purple);
}

.details-content {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    animation: fadeInDown 0.3s ease-out;
}

.details-content ul {
    margin-top: 12px;
    padding-left: 20px;
}

.details-content li {
    margin-bottom: 8px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .nav-links { display: none; }
    .full-width-card { padding: 32px 24px; }
}
