/* Base Styles and Reset */
:root {
    --primary-color: #1e57f7;
    --secondary-color: #7B68EE;
    --accent-color: #FF6B6B;
    --text-color: #333;
    --text-secondary: #666;
    --bg-color: #FAFAFA;
    --card-bg: #FFFFFF;
    --border-color: #EFEFEF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.nav-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav {
    margin-left: auto;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    background-image: radial-gradient(circle, #000000 1px, transparent 1px);
    background-size: 6px 6px; /* Adjust for dot size and spacing */
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.hero .container {
    text-align: center;
    max-width: 800px;
}

.headline {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.2s;
}

.subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease both;
    animation-delay: 0.4s;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(74, 122, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease both;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.waitlist-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.6s;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.waitlist-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 122, 255, 0.2);
}

.waitlist-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.8s;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

.countdown-item .label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Video Section */
.video-section {
    padding: 8rem 0;
    background-color: white;
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transform: translateY(0);
    transition: var(--transition);
}

.video-container.playing .play-button {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.video-element {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.video-container:hover {
    transform: translateY(-10px);
}

.video-placeholder {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.video-container:hover .play-button {
    background-color: var(--primary-color);
    color: white;
}

.video-info {
    position: absolute;
    bottom: -30px;
    right: -20px;
}

.info-pointer {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    animation: fadeInRight 1s ease both;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

.feature-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(74, 122, 255, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background-color: var(--primary-color);
    color: white;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-weight: 500;
    flex: 1;
}

.faq-question .icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    header .container {
        position: relative;
    }

    nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        margin-left: 0;
        background-color: white;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 1.5rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    nav[aria-hidden="false"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .waitlist-form {
        flex-direction: column;
    }
    
    .waitlist-form input {
        border-radius: var(--radius-sm);
        margin-bottom: 1rem;
    }
    
    .waitlist-form .btn {
        border-radius: var(--radius-sm);
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item span {
        font-size: 1.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .video-section,
    .features-section,
    .faq-section {
        padding: 6rem 0;
    }

    .video-wrapper {
        width: 100%;
    }

    .play-button {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
    }
}