:root {
    --primary: #3470e4;
    --primary-hover: #295cc4;
    --primary-light: #e8effc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --green: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

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

/* ------------------- Typography & Utilities ------------------- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue { color: var(--primary); }
.text-green { color: var(--green); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 112, 228, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-white {
    background-color: white;
    color: var(--primary);
    border: none;
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-text {
    background-color: transparent;
    color: var(--text-main);
}
.btn-text i { font-size: 24px; color: var(--primary); }
.btn-text:hover { color: var(--primary); }

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.05);
}

/* ------------------- Navbar ------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 32px;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 16px;
}

/* ------------------- Hero Section ------------------- */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 50%),
                radial-gradient(circle at bottom left, #fef08a33, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }

/* Mockup Chat */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.mockup-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
    100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
}

.mockup-header {
    background: #f1f5f9;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.dots span:nth-child(1) { background: #f87171; }
.dots span:nth-child(2) { background: #fbbf24; }
.dots span:nth-child(3) { background: #34d399; }

.mockup-title {
    margin: 0 auto;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}

.mockup-body {
    padding: 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 400px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.in {
    background: white;
    border: 1px solid var(--border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.out {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    position: relative;
}

.chat-message.out.ai {
    background: var(--primary);
    color: white;
}

.chat-message.out.ai i {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    padding: 4px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.typing-indicator {
    background: white;
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}
.typing-indicator span {
    width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

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

/* ------------------- Features Section ------------------- */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-main);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(52, 112, 228, 0.05);
    transform: translateY(-8px);
}

.feature-card .icon-box {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ------------------- How it works ------------------- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-main);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.split-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.benefit-list li i {
    font-size: 24px;
    color: var(--primary);
}

.stats-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.02);
}

.stat-item i {
    font-size: 48px;
}

.stat-item h4 {
    font-size: 32px;
    margin-bottom: 4px;
}

.stat-item span {
    color: var(--text-muted);
    font-weight: 500;
}

/* ------------------- CTA Section ------------------- */
.cta-section {
    padding: 100px 0;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-box h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 24px;
    position: relative;
}

.cta-box p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.cta-buttons {
    position: relative;
}

/* ------------------- Footer ------------------- */
footer {
    background: white;
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* ------------------- Use Cases ------------------- */
.use-cases-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

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

.use-case-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.use-case-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.use-case-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.pricing {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.pricing-header .price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.price .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
}

.price .amount {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    letter-spacing: -1px;
}

.price .period {
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-header .description {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.pricing-body {
    flex: 1;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 15px;
}

.features-list li i {
    color: var(--primary);
    font-size: 20px;
}

.pricing-footer {
    margin-top: auto;
}

.btn-block {
    width: 100%;
    padding: 16px;
}

/* ------------------- Responsive ------------------- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container, .split-layout { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content h1 { font-size: 48px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
