/* Modern White/Bluish Theme with Glassmorphism */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --primary-blue: #007bff;
    --primary-dark: #0056b3;
    --text-primary: #333333;
    --text-secondary: #666666;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 123, 255, 0.05) 0%, transparent 20%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
}

/* Header Styles - Top Left Logo */
header {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
}

.logo img {
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

/* Floating Navbar - Vertical Left Dock */
nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    padding: 20px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-blue);
    background: #ffffff;
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Tooltips - Right Side */
nav ul li a::after {
    content: attr(title);
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translateY(-50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

nav ul li a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 100px;
    /* Top padding for logo, bottom for nav */
    width: 100%;
}

/* Page Content Typography */
.page-content {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.page-content ul {
    margin-bottom: 2rem;
}

.page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-text {
    font-size: 1.3rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question::after {
    content: '\f078';
    /* FontAwesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(248, 249, 250, 0.5);
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

/* Form Styles */
.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.waitlist-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.waitlist-form form {
    display: flex;
    gap: 10px;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    transition: all 0.3s;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.waitlist-form button {
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.waitlist-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 123, 255, 0.3);
}

/* Messages */
#message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

#message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

#message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Features Section */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 80px;
    /* Space for navbar */
}

/* Responsive Design for Mobile Readability */
@media (max-width: 768px) {

    /* Adjust main content padding to account for fixed navbar */
    main {
        padding: 100px 1rem 100px 80px;
        /* Left padding increased for navbar */
    }

    /* Adjust font sizes for mobile */
    .hero h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 2rem 1rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    /* Ensure form elements stack on very small screens if needed, 
       but keep side-by-side if space permits. 
       Let's keep them side-by-side as per "desktop feel" request, 
       but ensure they fit. */
    .waitlist-form {
        padding: 1rem;
    }

    .waitlist-form input {
        width: 100%;
        /* Allow flex to handle width */
    }
}