:root {
    --bg-color: #000000;
    --surface-color: #0a0a0a;
    --primary-color: #ffffff;
    --primary-variant: #e0e0e0;
    --secondary-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.home-page {
    background-color: transparent;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    /* Adjust height to fit navbar */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: #000000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.2s;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

.btn-transparent {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-transparent:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Accounts for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(98, 0, 234, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #b0b0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    /* Reduced from 400px */
    max-height: 80vh;
    /* Prevent it from overflowing vertically */
    object-fit: contain;

    border-radius: 30px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--surface-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    text-align: center;
}

.showcase-img {
    margin-top: 50px;
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

/* Footer & Pages */
/* Slim Footer */
footer {
    padding: 20px 0;
    background: var(--surface-color);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links-inline {
    display: flex;
    gap: 20px;
}

.footer-links-inline a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links-inline a:hover {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    footer .container {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

/* Page Specific: Privacy, Terms, Contact */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background: radial-gradient(circle at center top, rgba(98, 0, 234, 0.1), transparent);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.page-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Contact Form */
/* Back Button Styles */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.back-btn:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.contact-section-title {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.contact-section-title h2 {
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #0a0a0a;
    /* Darker card background */
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: white;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes content down */
    font-size: 0.95rem;
}

.card-actions {
    margin-bottom: 15px;
}

.card-actions.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-card {
    display: block;
    text-align: center;
    background: #1a1a1a;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
    border: 1px solid var(--glass-border);
}

.btn-card:hover {
    background: #252525;
    transform: translateY(-2px);
}

.btn-card.full-width {
    width: 100%;
}

.card-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation later */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image {
        display: none;
        /* Hide or adjust for mobile */
    }
}

/* FAQ Section */
/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #000;
    /* Deep black as per image */
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    /* Reset margin */
}

.faq-question i {
    color: #fff;
    transition: transform 0.3s;
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: var(--glass-border);
    /* Keep it subtle or highlight? Image shows just expanded */
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Turns plus to x */
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Legal Pages Redesign */
.legal-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.legal-hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-section {
    margin-bottom: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.legal-section p,
.legal-section ul li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 20px;
}

.legal-callout {
    background: #0a0a0a;
    border-left: 4px solid white;
    padding: 30px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 60px;
}

.legal-callout h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.legal-callout p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Developer Card Styles */
.developer-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s, border-color 0.3s;
}

.developer-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.developer-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--glass-border);
}

.developer-info {
    flex: 1;
}

.developer-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.developer-realname {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.developer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: background 0.3s, transform 0.2s;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #252525;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

.developer-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Developer Card */
@media (max-width: 768px) {
    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .developer-socials {
        justify-content: center;
    }
    
    .avatar-img {
        width: 100px;
        height: 100px;
    }
}
