/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    cursor: pointer;
}

.logo-image {
    height: 3rem; /* Increased logo size for better visibility */
    width: auto;
    display: block;
}

.nav-cta {
    background: #22223B;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.nav-cta:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.5s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Individual section delays */
.revolution.scroll-animate {
    transition-delay: 0.2s;
}

.product-intro.scroll-animate {
    transition-delay: 0.4s;
}

.features.scroll-animate {
    transition-delay: 0.6s;
}

.beta-signup.scroll-animate {
    transition-delay: 0.8s;
}

.footer.scroll-animate {
    transition-delay: 1s;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #22223b;
    background: #f3f4f6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: #6366f1;
}

.sell-smarter-gradient {
    background: linear-gradient(135deg, #6366f1, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    padding: 1rem 0 3rem 0;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 8rem;
    transform: translateY(4rem);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
    padding: 0 1rem;
}

.typo {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #22223b;
}

/* Chat Bubbles */
.chat-bubbles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 550px;
    margin: 0 auto;
    margin-top: -2rem;
    padding-bottom: 0.1rem;
    justify-content: flex-end;
    min-height: 50px;
    position: relative;
}

.chat-bubble {
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble.animate-up {
    transform: translateY(-20px);
}

.chat-bubble {
    display: flex;
    max-width: 400px;
    transition: all 0.6s ease;
    position: relative;
}

.chat-bubble.user {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
}

.chat-bubble.app {
    align-self: flex-start;
    margin-right: auto;
    margin-left: 0;
}

.chat-message {
    padding: 0.875rem 1.25rem;
    border-radius: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 280px;
    font-weight: 500;
    text-align: left;
}

.chat-bubble.user .chat-message {
    background: #f8f9fa;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-bottom-right-radius: 0.5rem;
}

.chat-bubble.app .chat-message {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white;
    border-bottom-left-radius: 0.5rem;
}

/* Chat Input Container */
.chat-input-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Chat Input Styling */
.chat-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 1.5rem;
    padding: 0.75rem 0.75rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    padding-bottom: 1rem;
    min-width: 280px;
    margin: 0;
    margin-bottom: 0.5rem; /* Space for error message below */
    /* Form validation styling - keeping for future use */
}

/* Form validation styling - keeping for future use */

.chat-input:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.email-input {
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #374151;
    background: transparent;
    flex: 1;
    min-width: 0;
    width: 100%;
    /* Browser validation styling - keeping for future use */
}

.email-input::placeholder {
    color: #9ca3af;
}

/* Browser validation styling - keeping for future use */

.chat-submit {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-submit:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Chat input error message styling */
.chat-input-container .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: center;
    max-width: 550px;
    width: 100%;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

/* Hero padding-bottom removed - now controlled by main .hero rule */

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: 0 1rem;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    line-height: 1.6;
}

/* Revolution Section */
.revolution {
    background: #ffffff;
}

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

.comparison-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #374151;
}

.comparison-card p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.icon {
    font-size: 2rem;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.old-icon {
    background: #f3f4f6;
    color: #6b7280;
}

.new-icon {
    background: #8b5cf6;
    color: white;
}

.new-way-content {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item span {
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Product Introduction */
.product-intro {
    text-align: center;
    padding: 3rem 0;
}

.product-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc, #f1f5f9);
    width: calc(100% - 2rem);
    max-width: 1232px;
    min-height: 400px;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    background: #6366f1;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-icon::before {
    content: '✨';
    background: linear-gradient(135deg, #06b6d4, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.product-card h2 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 800;
    line-height: 1.1;
}

.subheadline {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
}

.blurb {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features .section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.features .section-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    padding: 1.5rem;
    background: white;
    border-radius: 5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-bullet .feature-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-bullet span {
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
}

/* Beta Signup */
.beta-signup {
    background: white;
    padding: 4rem 0;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    position: relative;
}

.checkbox input {
    margin-top: 0.25rem;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox input:checked + .checkmark {
    background: #22223B;
    border-color: #22223B;
}

.checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.signup-button {
    background: #22223B;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
}

.signup-button:hover {
    background: #171717;
    transform: translateY(-2px);
    opacity: 0.9;
}

.footnote {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Footer */
.footer {
    background: white;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.footer .company {
    font-weight: 700;
    color: #6366f1;
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo-image {
        height: 2.5rem;
    }
    
    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 1rem 0 2rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 3rem);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .chat-bubbles {
        padding: 0.5rem !important;
        gap: 1rem !important;
        margin-top: -0.5rem !important; /* Reduced from -2rem to prevent overlap */
    }
    
    .chat-message {
        max-width: 250px;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .chat-input {
        padding: 0.6rem 0.6rem;
        border-radius: 1.25rem;
    }
    
    .email-input {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .chat-submit {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .chat-input-container {
        margin-top: 0.5rem !important; /* Changed from -1rem to positive margin to prevent overlap */
        margin-bottom: 1.5rem !important;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding: 0 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        width: calc(100% - 2rem);
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
        margin: 0 auto;
        max-width: none;
    }
    
    .product-card h2 {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }
    
    .subheadline {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .blurb {
        font-size: 1rem;
    }
    
    .features-list {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature-bullet {
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 2rem;
    }
    
    .feature-bullet .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .feature-bullet span {
        font-size: 0.95rem;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .comparison-card {
        padding: 2rem 1.5rem;
    }
    
    .signup-form {
        padding: 0 0.5rem;
    }
    
    .form-group input {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .signup-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 1rem 0 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .chat-bubbles {
        padding: 0.25rem !important;
        gap: 0.75rem !important;
        margin-top: -1rem !important; /* Reduced from -3rem to prevent overlap */
    }
    
    .chat-message {
        max-width: 220px;
        font-size: 0.85rem;
        padding: 0.6rem 0.875rem;
    }
    
    .chat-input {
        padding: 0.5rem 0.5rem;
        border-radius: 1rem;
    }
    
    .email-input {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .chat-submit {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .chat-input-container {
        margin-top: 0.5rem !important; /* Changed from -2rem to positive margin to prevent overlap */
        margin-bottom: 1rem !important;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .product-card {
        width: calc(100% - 1.5rem);
        padding: 1.5rem 1rem;
        border-radius: 1.25rem;
        margin: 0 auto;
        max-width: none;
    }
    
    .product-card h2 {
        font-size: 1.75rem;
    }
    
    .subheadline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .blurb {
        font-size: 0.95rem;
    }
    
    .features-list {
        gap: 0.75rem;
    }
    
    .feature-bullet {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 1.5rem;
    }
    
    .feature-bullet .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .feature-bullet span {
        font-size: 0.9rem;
    }
    
    .comparison-card {
        padding: 1.5rem 1rem;
    }
    
    .form-group input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .signup-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .chat-message {
        max-width: 200px;
        font-size: 0.8rem;
    }
    
    .chat-bubbles {
        margin-top: 0 !important; /* Ensure no negative margin on very small screens */
    }
    
    .chat-input-container {
        margin-top: 1rem !important; /* Ensure proper spacing on very small screens */
    }
    
    .feature-bullet {
        padding: 0.875rem;
        gap: 0.5rem;
    }
    
    .feature-bullet .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .feature-bullet span {
        font-size: 0.85rem;
    }
}
