/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Logo styling */
.logo-img {
    height: 40px;
    width: auto;
}

.footer .logo-img {
    height: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #14C2E7;
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(20, 194, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 194, 231, 0.4);
    background: #0FC4E5;
}

.btn-outline {
    background: transparent;
    color: #14C2E7;
    border-color: #14C2E7;
}

.btn-outline:hover {
    background: #14C2E7;
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* 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 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #14C2E7;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.gradient-text {
    color: #14C2E7;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

/* Waitlist Section */
section.waitlist-section {
    padding: 80px 0;
    background: #14C2E7 !important;
    background-color: #14C2E7 !important;
    color: white !important;
    text-align: center;
}

.waitlist-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-header {
    margin-bottom: 40px;
}

.waitlist-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.waitlist-description {
    font-size: 1.25rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 32px 0;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.waitlist-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-group input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #14C2E7;
    box-shadow: 0 0 0 3px rgba(20, 194, 231, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-group button {
    padding: 14px 24px;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 194, 231, 0.3);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #888;
    text-align: center;
    margin: 0;
}

/* Success state animation */
.waitlist-form.success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Loading state */
.form-group button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-group button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #14C2E7;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coming Soon Card */
.coming-soon-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.card-header {
    background: #14C2E7;
    color: white;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.card-icon {
    font-size: 3rem;
    color: white;
}

.card-icon i {
    display: block;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.card-content {
    padding: 32px 24px;
}

.card-content p {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #666;
}

.preview-icon {
    font-size: 1.5rem;
    color: #14C2E7;
}

.preview-icon i {
    display: block;
}

/* Chat Preview (keeping for reference) */
.chat-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.chat-header {
    background: #f8f9fa;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e9ecef;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-info {
    flex: 1;
}

.chat-name {
    font-weight: 600;
    color: #1a1a1a;
}

.chat-status {
    font-size: 0.9rem;
    color: #28a745;
}

.chat-messages {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 16px;
    display: flex;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.ai-message .message-content {
    background: #f1f3f4;
    color: #1a1a1a;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #14C2E7;
    transition: transform 0.3s ease;
}

.feature-icon i {
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #14C2E7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(20, 194, 231, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #14C2E7;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(20, 194, 231, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #14C2E7;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(20, 194, 231, 0.3);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.pricing-price {
    margin-bottom: 32px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    margin-bottom: 32px;
}

.feature {
    padding: 8px 0;
    color: #666;
    text-align: left;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #14C2E7;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 1;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-outline {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta .btn-outline:hover {
    background: white;
    color: #14C2E7;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        height: 60px;
        padding: 8px 16px;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        margin-top: 0;
        flex-shrink: 0;
    }

    .nav-logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-img {
        max-height: 32px;
        width: auto;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .waitlist-section {
        padding: 60px 0;
    }
    
    .waitlist-title {
        font-size: 2rem;
        color: white;
    }
    
    .waitlist-description {
        font-size: 1rem;
        color: white;
    }
    
    .waitlist-form {
        padding: 24px;
        margin: 0 20px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group button {
        width: 100%;
    }

    .feature-preview {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 6px 12px;
        height: 50px;
    }

    .logo-img {
        max-height: 28px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .footer-logo {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1.1rem;
    }
}

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

.feature-card,
.pricing-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #14C2E7;
    outline-offset: 2px;
}

/* Loading states */
.btn:active {
    transform: translateY(1px);
}

/* Extra small screens - very aggressive single line */
@media (max-width: 360px) {
    .nav-container {
        padding: 4px 8px;
        height: 45px;
    }

    .logo-img {
        max-height: 24px;
    }

    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .footer-logo {
        justify-content: center;
    }
}
