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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #1a2642 0%, #0a0f1c 50%, #000000 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 168, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 168, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 255, 168, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -25%;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.main {
    position: relative;
    z-index: 2;
    padding: 80px 0 120px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 64px;
    font-weight: 400;
}

.email-capture {
    margin-top: 64px;
}

.email-capture-form {
    max-width: 600px;
    margin: 0 auto;
}

.email-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.email-capture-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.email-capture-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.typing-placeholder {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-family: inherit;
    z-index: 1;
}

.email-capture-input:focus + .typing-placeholder,
.email-capture-input:not(:placeholder-shown) + .typing-placeholder {
    display: none;
}

.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline;
    animation: blink-cursor 1s infinite;
    color: rgba(255, 255, 255, 0.7);
}

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

.submit-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    min-width: 140px;
    backdrop-filter: blur(10px);
}

.submit-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(20px);
}

.message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.footer {
    position: relative;
    z-index: 2;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    font-style: italic;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-section a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.external-icon {
    font-size: 12px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .chat-input-wrapper {
        margin: 0 16px;
        padding: 12px 16px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .main {
        padding: 60px 0 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-section ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

/* Content pages styling */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-page h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(20px);
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.content-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 12px;
}

.content-section ul {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    line-height: 1.6;
}

.content-section li {
    margin-bottom: 8px;
}

.cta-section {
    text-align: center;
    margin-top: 24px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .content-page {
        padding: 20px;
    }
    
    .content-page h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content-page h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 16px;
    }
}