/* Premium Design System for LyntroAI */
:root {
    --bg-color: #04060a;
    --primary-color: #eab308;
    --primary-hover: #ca8a04;
    --primary-glow: rgba(234, 179, 8, 0.15);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark-muted: #475569;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(9, 13, 22, 0.6);
    --chat-ai-bg: #eab308;
    --chat-user-bg: #111827;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Radial Glow Effects */
.radial-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, rgba(4, 6, 10, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    display: flex;
    align-items: center;
    background-color: rgba(4, 6, 10, 0.7);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-version {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    font-weight: 500;
    margin-left: 2px;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #04060a;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--border-hover);
}

.btn-nav {
    padding: 8px 16px;
    border-radius: 6px;
    gap: 8px;
    font-size: 0.85rem;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
}

.btn-nav:hover .arrow-icon {
    transform: translateX(3px);
}

/* Hero Section */
.hero-section {
    padding: 180px 24px 80px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-main);
}

.text-highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.white-text {
    color: var(--text-main);
    font-weight: 600;
}

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

.btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 8px;
}

.arrow-left {
    margin-right: 6px;
}

/* Live Engine Preview Section */
.preview-section {
    padding: 20px 24px 60px;
    position: relative;
    z-index: 10;
}

.preview-container {
    max-width: 1000px;
    margin: 0 auto;
}

.preview-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.chat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.chat-column {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 280px;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    scrollbar-width: none; /* Hide scrollbar for columns */
}

.chat-column::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.chat-column:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chat-bubbles-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bubble {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
    word-wrap: break-word;
    position: relative;
}

.bubble-ai {
    background-color: var(--chat-ai-bg);
    color: #04060a;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-badge {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(4, 6, 10, 0.6);
    text-transform: uppercase;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.bubble-user {
    background-color: var(--chat-user-bg);
    color: var(--text-muted);
    align-self: flex-start;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
}

/* Typing Indicator */
.typing-indicator-bubble {
    align-self: flex-start;
    background-color: var(--chat-user-bg);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 12px;
}

.typing-dots span {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.3;
    } 40% { 
        transform: scale(1);
        opacity: 1;
    }
}

.preview-footer {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    font-weight: 500;
    margin-top: 12px;
}

.preview-footer-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Stats Section */
.stats-section {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    position: relative;
}

.stats-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 24px;
}

.stats-card:not(:first-child) {
    border-left: 1px solid var(--border-color);
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stats-number.highlight-blue {
    color: var(--primary-color);
}

.stats-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    letter-spacing: 0.08em;
    line-height: 1.3;
}

/* Pricing Section */
.pricing-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    margin-top: 8px;
    color: var(--text-main);
}

.pricing-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pricing-note {
    border-left: 2px solid var(--primary-color);
    padding: 14px 18px;
    background-color: rgba(234, 179, 8, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.pricing-note strong {
    color: var(--text-main);
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card-elite {
    border-color: rgba(234, 179, 8, 0.3);
    background-color: rgba(234, 179, 8, 0.03);
}

.pricing-card-elite:hover {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.08);
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.pricing-tier-elite {
    color: var(--primary-color);
}

.pricing-plan {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.pricing-commitment {
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.price-total {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    font-weight: 500;
}

.pricing-features li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--text-dark-muted);
    font-weight: 700;
}

.pricing-features li.feature-highlight {
    color: var(--text-main);
    font-weight: 600;
}

.pricing-features li.feature-highlight::before {
    color: var(--primary-color);
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    font-size: 0.9rem;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 700px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    margin-top: 8px;
    color: var(--text-main);
}

.contact-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-card-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
    max-width: 320px;
}

.contact-card:hover {
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.07);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact-card-icon svg {
    width: 18px;
    height: 18px;
}

.contact-card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-dark-muted);
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.contact-card-handle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-card-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-top: 4px;
}

.contact-card-link:hover {
    color: #fde047;
    letter-spacing: 0.02em;
}

.contact-note {
    border-left: 2px solid var(--primary-color);
    padding: 14px 18px;
    background-color: rgba(234, 179, 8, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
}

.contact-note strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    background-color: rgba(4, 6, 10, 0.9);
    position: relative;
    z-index: 10;
}

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

.footer p {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

/* Fade In Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.delay-3 {
    animation-delay: 1.2s;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .chat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chat-column {
        height: 240px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }
    
    .stats-card:nth-child(even) {
        border-left: 1px solid var(--border-color);
    }
    
    .stats-card:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 0 16px;
    }
    
    .nav {
        gap: 16px;
    }
    
    .nav-link {
        display: none; /* Hide standard links on tiny screens for simplicity */
    }
    
    .nav-link:last-of-type {
        display: inline-block; /* Keep Log in */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }
    
    .stats-card {
        padding: 0;
        border-left: none !important;
    }
}
