:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --bg-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(17, 12, 46, 0.1);
    --success-color: #10B981;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
}

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

/* Glass Nav */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

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

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

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

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

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

.nav-links a:not(.cta-button):hover {
    color: var(--primary-color);
}

.nav-links .cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-image {
    position: relative;
    min-height: 500px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px var(--glass-shadow);
    width: 100%;
    max-width: 400px;
}

.hero-image .glass-card {
    position: absolute;
}

.hero-image .glass-card:first-child {
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-image .glass-card:nth-child(2) {
    bottom: 0;
    left: 0;
    z-index: 1;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 2s;
}

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

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
}

.primary-button, .secondary-button, .cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-button, .cta-button {
    background: var(--primary-color);
    color: white;
}

.primary-button:hover, .cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.secondary-button {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.secondary-button:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* Chat Interface */
.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    max-width: 90%;
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 0.95rem;
}

.message.user {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
    margin-left: 2rem;
}

.message.assistant {
    background: white;
    color: var(--text-primary);
    align-self: flex-start;
    margin-right: 2rem;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 0.5rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.icon-circle i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
}

.feature-list li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit-icon i {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-header h3 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
}

.check-icon i {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.benefit-title h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.benefit-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 80px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-card {
        padding: 2rem;
    }
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.workflow {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    padding: 0 1rem;
}

.workflow-step {
    position: relative;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.workflow-step:hover {
    transform: translateY(-5px);
}

.workflow-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: inherit;
    z-index: 1;
}

.step-connector {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
    opacity: 0.3;
}

.workflow-step:last-child .step-connector {
    display: none;
}

.step-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.workflow-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
}

.step-details {
    flex-grow: 1;
}

.step-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-details p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-example {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
}

.step-example .message {
    max-width: 100%;
    margin: 0;
}

.step-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.action-item:nth-child(1) { animation-delay: 0.2s; }
.action-item:nth-child(2) { animation-delay: 0.4s; }
.action-item:nth-child(3) { animation-delay: 0.6s; }

.step-example .message:last-child {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.step-example .message:last-child a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.action-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.action-icon i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.action-status {
    margin-left: auto;
}

.action-status .check-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
}

.action-status .check-icon i {
    width: 16px;
    height: 16px;
}

.action-text {
    flex-grow: 1;
    color: var(--text-primary);
}

.action-status {
    color: #10B981;
    font-weight: bold;
}

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

@media (max-width: 768px) {
    .how-it-works {
        padding: 80px 0;
    }

    .workflow {
        margin-top: 3rem;
    }

    .workflow-step {
        padding: 2rem;
    }

    .step-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .step-details {
        width: 100%;
    }

    .step-connector {
        left: 24px;
        transform: none;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2rem;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    animation: modalSlideIn 0.3s ease forwards;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.close-modal {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

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

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--success-color);
}

.success-icon i {
    width: 100%;
    height: 100%;
}

.success-message h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 0;
}

@keyframes modalSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal {
        align-items: flex-end;
    }

    .modal-container {
        max-width: none;
        border-radius: 16px 16px 0 0;
    }
}

/* Footer */
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    margin-top: 80px;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-cta {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        min-height: 700px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-image {
        min-height: 600px;
    }

    .glass-card {
        max-width: 320px;
    }
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 1rem 40px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }
}

/* Checkbox and Disclaimer */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #64748b;
    font-weight: 400;
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

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

.text-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}
