/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-gray-dark: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Jura', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #5e5e5e;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ===================================
   Hero Section
   =================================== */

.hero {
    padding: 1.6rem 0 1.6rem;
    background: white;
    color: var(--text-dark);
    margin-top: 4rem;
    overflow: visible;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-content {
    flex: 1;
    max-width: 100%;
    padding-right: 0;
}

.hero-video {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    margin-right: -12rem;
    overflow: visible;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-feature .icon {
    width: 24px;
    height: 24px;
    color: #5A189A;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-label {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.cta-footer {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-footer a {
    color: #5A189A;
    text-decoration: none;
    font-weight: 600;
}

.icon-small {
    width: 16px;
    height: 16px;
    color: #999;
}

.waitlist-form-iframe {
    width: 100%;
    max-width: 500px;
    height: 110px;
    border: none;
    overflow: hidden;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: rgb(137, 13, 148);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: rgb(157, 33, 168);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background-color: transparent;
    color: #5A189A;
    border: 2px solid #5A189A;
}

.btn-secondary:hover {
    background-color: #5A189A;
    color: white;
    transform: translateY(-2px);
}

.phone-video {
    max-width: 750px;
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(5deg) translateY(30px);
}

/* ===================================
   Video Section
   =================================== */

.video-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background-color: var(--bg-gray);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    padding: var(--section-padding);
    background-color: var(--bg-gray);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

/* ===================================
   Use Cases Section
   =================================== */

.use-cases-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #9D4EDD 0%, #5A189A 100%);
    color: white;
}

.use-cases-section .section-title {
    color: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.use-case:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.use-case h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.use-case p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ===================================
   Waitlist Section
   =================================== */

.waitlist-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.waitlist-content {
    max-width: 700px;
    margin: 0 auto;
}

.form-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.form-container .waitlist-form-iframe {
    width: 100%;
    max-width: 500px;
    height: 110px;
    border: none;
    overflow: hidden;
}

.form-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-follow {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-follow p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: var(--section-padding);
    background-color: var(--bg-gray);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-top: 0.5rem;
    opacity: 0.8;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* ===================================
   Animations
   =================================== */

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
    
    .hero-video {
        padding-right: 0;
        margin-right: 0;
        justify-content: center;
        overflow: hidden;
    }
    
    .phone-video {
        max-width: 350px;
        transform: none;
    }
    
    .waitlist-form-iframe {
        max-width: 100%;
    }
    
    .phone-video {
        max-width: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .use-cases-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
}

/* ===================================
   Accessibility
   =================================== */

.icon {
    width: 24px;
    height: 24px;
}

a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

