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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0F1419;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo-image {
    width: 48px;
    height: 48px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.logo-container h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 40px 0 36px;
    min-height: 80vh;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    min-height: 400px;
}

.hero-visual .logo-image {
    width: 320px;
    height: 320px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.hero-visual .logo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(111, 255, 233, 0.4);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #ffffff;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #00D4E6 0%, #6FFFE9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8892B0;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
}

/* Waitlist Form */
.waitlist-form {
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 212, 230, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.waitlist-form h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

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

.form-group input[type="email"] {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid rgba(136, 146, 176, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(15, 20, 25, 0.6);
    color: #ffffff;
    transition: all 0.2s ease;
}

.form-group input[type="email"]::placeholder {
    color: #8892B0;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #00D4E6;
    box-shadow: 0 0 0 3px rgba(0, 212, 230, 0.1);
    background: rgba(15, 20, 25, 0.8);
}

.btn-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #ffffff;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    font-size: 0.9rem;
    color: #8892B0;
    text-align: center;
}

/* Browser Mockup - Hide in new design */
.browser-mockup {
    display: none;
}

/* Collaboration Demo Animation */
.collaboration-demo {
    display: flex;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Mobile Animation - Hidden on Desktop */
.mobile-animation {
    display: none;
}

.chat-interface {
    flex: 2;
    background: rgba(15, 20, 25, 0.9);
    border: 1px solid rgba(0, 212, 230, 0.3);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 212, 230, 0.1);
    border-bottom: 1px solid rgba(0, 212, 230, 0.2);
}

.chat-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.online-users {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0F1419;
    animation: pulse 2s infinite;
}

.user-avatar.user-1 {
    background: linear-gradient(135deg, rgba(0, 212, 230, 0.6) 0%, rgba(111, 255, 233, 0.6) 100%);
    animation-delay: 0s;
}

.user-avatar.user-2 {
    background: linear-gradient(135deg, rgba(111, 255, 233, 0.6) 0%, rgba(0, 212, 230, 0.6) 100%);
    animation-delay: 0.5s;
}

.user-count {
    font-size: 0.8rem;
    color: #8892B0;
    font-weight: 500;
}

.chat-messages {
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    position: relative;
    max-width: 85%;
}

.user-message {
    align-self: flex-end;
}

.ai-message {
    align-self: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(0, 212, 230, 0.7) 0%, rgba(111, 255, 233, 0.7) 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    background: rgba(136, 146, 176, 0.15);
    color: #ffffff;
    border-bottom-left-radius: 4px;
}

.typing-animation {
    animation: typing 3s infinite;
}

.prompt-input-area {
    padding: 20px;
    border-top: 1px solid rgba(0, 212, 230, 0.2);
}

.input-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.collaborative-input {
    flex: 1;
    background: rgba(136, 146, 176, 0.1);
    border: 1px solid rgba(0, 212, 230, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.input-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #ffffff;
}

.user-1-text {
    color: rgba(0, 212, 230, 0.8);
}

.user-2-text {
    color: rgba(111, 255, 233, 0.8);
}

.cursor-blink {
    animation: blink 1s infinite;
}

.user-1-cursor {
    color: rgba(0, 212, 230, 0.8);
}

.send-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, rgba(0, 212, 230, 0.6) 0%, rgba(111, 255, 233, 0.6) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 212, 230, 0.4);
}

.send-icon {
    color: #0F1419;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Shared Cursors */
.shared-cursor {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.cursor-1 {
    top: -30px;
    right: 50px;
    animation: float 2s ease-in-out infinite;
}

.cursor-2 {
    top: -35px;
    right: 20px;
    animation: float 2s ease-in-out infinite reverse;
}

.cursor-label {
    background: rgba(0, 212, 230, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.cursor-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0, 212, 230, 0.8);
}

.cursor-2 .cursor-label {
    background: rgba(111, 255, 233, 0.8);
}

.cursor-2 .cursor-label::after {
    border-top-color: rgba(111, 255, 233, 0.8);
}

/* Side Chat */
.side-chat {
    flex: 1;
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(136, 146, 176, 0.3);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    max-height: 340px;
    display: flex;
    flex-direction: column;
}

.side-chat-header {
    padding: 16px;
    background: rgba(136, 146, 176, 0.1);
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.side-chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.private-message {
    font-size: 0.8rem;
    animation: slideIn 0.5s ease-out;
}

.private-message:nth-child(1) {
    animation-delay: 1s;
}

.private-message:nth-child(2) {
    animation-delay: 3s;
}

.private-message .author {
    color: #8892B0;
    font-weight: 600;
    margin-bottom: 2px;
}

.private-message .content {
    color: #ffffff;
    line-height: 1.3;
}

.side-chat-input {
    padding: 16px;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
}

.side-chat-input input {
    width: 100%;
    background: rgba(136, 146, 176, 0.1);
    border: 1px solid rgba(136, 146, 176, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #ffffff;
}

.side-chat-input input::placeholder {
    color: #8892B0;
}

.side-chat-input input:focus {
    outline: none;
    border-color: #00D4E6;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 230, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 230, 0);
    }
}

@keyframes typing {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Mouse Cursors */
.mouse-cursor {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.cursor-pointer {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cursor-name {
    background: rgba(15, 20, 25, 0.9);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(0, 212, 230, 0.3);
    margin-top: 4px;
}

.cursor-alex {
    animation: alexCursorMove 8s ease-in-out infinite;
}

.cursor-blake {
    animation: blakeCursorMove 10s ease-in-out infinite;
    animation-delay: 2s;
}

/* Alex's cursor movement pattern */
@keyframes alexCursorMove {
    0% {
        opacity: 0;
        transform: translate(150px, 100px);
    }
    10% {
        opacity: 1;
        transform: translate(150px, 100px);
    }
    25% {
        opacity: 1;
        transform: translate(200px, 180px);
    }
    40% {
        opacity: 1;
        transform: translate(180px, 250px);
    }
    55% {
        opacity: 1;
        transform: translate(220px, 280px);
    }
    70% {
        opacity: 1;
        transform: translate(160px, 200px);
    }
    85% {
        opacity: 1;
        transform: translate(120px, 150px);
    }
    95% {
        opacity: 0;
        transform: translate(100px, 120px);
    }
    100% {
        opacity: 0;
        transform: translate(100px, 120px);
    }
}

/* Blake's cursor movement pattern */
@keyframes blakeCursorMove {
    0% {
        opacity: 0;
        transform: translate(300px, 200px);
    }
    15% {
        opacity: 1;
        transform: translate(300px, 200px);
    }
    30% {
        opacity: 1;
        transform: translate(250px, 150px);
    }
    45% {
        opacity: 1;
        transform: translate(320px, 120px);
    }
    60% {
        opacity: 1;
        transform: translate(280px, 260px);
    }
    75% {
        opacity: 1;
        transform: translate(350px, 220px);
    }
    90% {
        opacity: 0;
        transform: translate(380px, 180px);
    }
    100% {
        opacity: 0;
        transform: translate(380px, 180px);
    }
}

/* Features Section */
.features {
    padding: 36px 0;
    background: rgba(15, 20, 25, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    margin: 24px 0;
    /* border: 1px solid rgba(136, 146, 176, 0.1); */
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 36px;
    color: #ffffff;
}

.section-title .gradient-text {
    background: linear-gradient(135deg, #00D4E6 0%, #6FFFE9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(136, 146, 176, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 212, 230, 0.2);
    border-color: rgba(0, 212, 230, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 230, 0.3));
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-card p {
    color: #8892B0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Use Cases Section */
.use-cases {
    padding: 36px 0;
}

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

.use-case {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(15px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(136, 146, 176, 0.2);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 230, 0.3);
}

.use-case h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.use-case p {
    color: #8892B0;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 120px 0;
    background: rgba(0, 212, 230, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    margin: 80px 0;
    border: 1px solid rgba(0, 212, 230, 0.2);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 230, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    color: #8892B0;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form .form-group {
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input[type="email"] {
    background: rgba(15, 20, 25, 0.8);
    border-color: rgba(0, 212, 230, 0.3);
    color: #ffffff;
}

.cta-form input[type="email"]:focus {
    border-color: #00D4E6;
    box-shadow: 0 0 0 3px rgba(0, 212, 230, 0.2);
}

.cta-form .btn-primary {
    background: linear-gradient(135deg, #00D4E6 0%, #6FFFE9 100%);
    color: #0F1419;
    box-shadow: 0 8px 25px rgba(0, 212, 230, 0.4) !important;
}

.cta-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 230, 0.6) !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
    color: #8892B0;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.chrome-store-link {
    display: inline-block;
    transition: all 0.2s ease;
}

.chrome-store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.chrome-store-badge {
    height: 48px;
    width: auto;
    border-radius: 8px;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.chrome-store-badge:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Success and Error Messages */
.success-message {
    background: linear-gradient(135deg, #6FFFE9 0%, #00D4E6 100%);
    color: #0F1419;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(111, 255, 233, 0.4);
}

.error-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: 16px;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        gap: 60px;
    }
    
    .hero-visual .logo-image {
        width: 280px;
        height: 280px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 40px 0 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .mobile-animation {
        display: block;
        margin: 20px 0;
    }
    
    .hero-visual .logo-image {
        width: 240px;
        height: 240px;
    }

    .form-group {
        flex-direction: column;
        gap: 16px;
    }

    .btn-primary {
        width: 100%;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .features, .use-cases, .cta {
        padding: 24px 0;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    /* Mobile Animation Styling */
    .mobile-animation .collaboration-demo {
        flex-direction: row;
        gap: 0;
        max-width: 100%;
        margin: 0 auto;
        transform: scale(0.85);
    }

    .mobile-animation .chat-interface {
        flex: 1;
    }

    .mobile-animation .side-chat {
        display: none;
    }

    .mobile-animation .chat-messages {
        min-height: 120px;
        padding: 12px;
    }

    .mobile-animation .chat-header {
        padding: 12px 16px;
    }

    .mobile-animation .prompt-input-area {
        padding: 12px;
    }

    .mobile-animation .collaborative-input {
        min-height: 36px;
        padding: 8px 12px;
    }

    .mobile-animation .input-text {
        font-size: 0.8rem;
    }

    .mobile-animation .send-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-animation .shared-cursor {
        display: none;
    }
}

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

    .logo {
        gap: 12px;
    }

    .logo-image {
        width: 64px;
        height: 64px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero-visual .logo-image {
        width: 200px;
        height: 200px;
    }

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

    .waitlist-form {
        padding: 32px 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
} 