:root {
    /* Premium Dark Theme Palette */
    --bg-dark: #0a0e17;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a8c0;
    --accent-primary: #00f2ea; /* Cyan for "Web3" feel */
    --accent-secondary: #ff0055; /* Magenta pop */
    --gradient-main: linear-gradient(135deg, #00f2ea 0%, #ff0055 100%);
    --gradient-glass: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    
    /* Border Radius */
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 242, 234, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.15), transparent 25%);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 234, 0.3);
}

h2 { font-size: 2.5rem; }
p { color: var(--text-secondary); margin-bottom: var(--spacing-md); }

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Glassmorphism Components */
.glass-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.5);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 242, 234, 0.8);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header */
header {
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--spacing-sm) 0; /* Slightly more compact on scroll */
}

/* Header Right Code (Socials + Auth) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon.small {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon.small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

@media (max-width: 992px) {
    .header-socials {
        display: none; /* Hide header socials on tablet/mobile to save space */
    }
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px; /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
    border-radius: 4px; /* Optional: smooth corners if it's a square block */
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover { color: white; }

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

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

/* Methodology Section */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.methodology-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.detail-box h3 {
    color: var(--accent-primary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.detail-list li::before {
    content: "•";
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Profile Section */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.profile-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    .methodology-details {
        grid-template-columns: 1fr;
    }
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.topic-card {
    text-align: center;
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.topic-card:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* Contact Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-brand {
    text-align: left;
}

.footer-social h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
    text-align: right;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-glass);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.3);
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icon.instagram:hover {
    background: #E1306C; /* Instagram gradient fallback */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand, .footer-social h3 {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}

/* Helper Animation Classes */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Simplified for MVP */
}
