/* ================================
   VARIABLES & RESET
   ================================ */

:root {
    --primary-color: #E4AA2E;
    --primary-dark: #c99425;
    --primary-light: #f0c04e;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f1419;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #ff4444;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================================
   UTILITIES
   ================================ */

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

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Icons */
.icon-svg {
    width: 60px;
    height: 60px;
    color: var(--text-dark);
}

.check-icon {
    color: var(--success-color);
    font-weight: bold;
    margin-right: 8px;
    font-size: 20px;
}

.cross-icon {
    color: var(--error-color);
    font-weight: bold;
    margin-right: 8px;
    font-size: 20px;
}

/* ================================
   HEADER / NAVIGATION
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

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

.logo {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

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

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

.language-toggle {
    display: flex;
    gap: 8px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

.conversation-animation {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.conversation-bubbles {
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.conversation-bubbles::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

/* Conversation bubble styling */
.conversation-bubbles > div {
    font-size: 14px;
    line-height: 1.4;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

/* ================================
   PROBLEM SECTION
   ================================ */

.problem-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problem-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    margin-bottom: 24px;
}

.problem-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ================================
   KAIA SECTION
   ================================ */

.kaia-section {
    padding: 100px 0;
}

.kaia-intro {
    text-align: center;
    margin-bottom: 60px;
}

.kaia-icon-wrapper {
    margin-bottom: 32px;
}

.kaia-icon {
    width: 120px;
    height: 120px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(228, 170, 46, 0.25));
}

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

.kaia-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.kaia-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.kaia-card-icon {
    margin-bottom: 24px;
}

.kaia-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.kaia-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ================================
   SOLUTION SECTION
   ================================ */

.solution-section {
    padding: 100px 0;
}

.solution-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.solution-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.solution-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    flex-shrink: 0;
}

.solution-upwing {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(228, 170, 46, 0.05) 0%, rgba(228, 170, 46, 0.02) 100%);
}

.solution-upwing .solution-list li::before {
    background: var(--primary-color);
}

.solution-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-svg {
    width: 80px;
    height: 80px;
}

.architecture-diagram {
    margin-top: 60px;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.arch-box {
    text-align: center;
    flex-shrink: 0;
}

.arch-box-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.arch-box:hover .arch-box-icon {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.arch-box-icon-kaia {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(228, 170, 46, 0.08) 0%, rgba(228, 170, 46, 0.02) 100%);
    box-shadow: 0 4px 20px rgba(228, 170, 46, 0.2);
}

.arch-box-kaia h4 {
    color: var(--primary-dark);
}

.arch-box h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.arch-box p {
    font-size: 13px;
    color: var(--text-light);
}

.arch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================================
   HOW IT WORKS
   ================================ */

.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.workflow-visualization {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    align-items: start;
}

.workflow-step {
    grid-column: span 1;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.workflow-step:nth-child(2) { animation-delay: 0.1s; }
.workflow-step:nth-child(3) { animation-delay: 0.2s; }
.workflow-step:nth-child(4) { animation-delay: 0.3s; }
.workflow-step:nth-child(5) { animation-delay: 0.4s; }
.workflow-step:nth-child(6) { animation-delay: 0.5s; }
.workflow-step:nth-child(7) { animation-delay: 0.6s; }

.workflow-step[data-step] {
    grid-column: span 2;
}

.workflow-connector {
    grid-column: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.workflow-connector::after {
    content: '';
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-light) 100%);
    position: absolute;
    top: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

.step-icon {
    margin-top: 20px;
    opacity: 0.6;
}

.step-icon .icon-svg {
    width: 50px;
    height: 50px;
}

.workflow-animation {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 300px;
}

#workflowCanvas {
    width: 100%;
    height: 340px;
}

/* ================================
   USE CASES
   ================================ */

.use-cases {
    padding: 100px 0;
}

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

.use-case-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    margin-bottom: 24px;
}

.use-case-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.use-case-card > p {
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.6;
}

.use-case-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.use-case-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-medium);
}

.use-case-features li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* ================================
   COMPARISON SECTION
   ================================ */

.comparison-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 60px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--text-dark);
    color: var(--bg-white);
}

.comparison-table th {
    padding: 24px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table .upwing-column {
    background: var(--primary-color);
    color: var(--text-dark);
}

.competitor-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.competitor-subtitle {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 20px 24px;
    font-size: 15px;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.upwing-cell {
    background: linear-gradient(135deg, rgba(228, 170, 46, 0.08) 0%, rgba(228, 170, 46, 0.03) 100%);
    font-weight: 500;
}

.comparison-summary {
    display: flex;
    justify-content: center;
}

.summary-card {
    background: var(--bg-white);
    padding: 40px 60px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.summary-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.summary-card p {
    font-size: 20px;
    color: var(--text-medium);
    font-weight: 500;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features-section {
    padding: 100px 0;
}

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

.feature-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

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

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

.feature-icon {
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #2a2f3a 100%);
    color: var(--bg-white);
}

.cta-content {
    text-align: center;
    margin-bottom: 60px;
}

.cta-title {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 20px;
    color: var(--bg-white);
}

.cta-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.demo-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.demo-form {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(228, 170, 46, 0.1);
}

.form-success {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.success-icon {
    margin-bottom: 24px;
}

.success-icon .icon-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.form-success h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 18px;
    color: var(--text-medium);
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pricing-card > p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-visual {
        order: -1;
    }

    .conversation-animation {
        height: 450px;
        margin-bottom: 40px;
    }

    .solution-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-arrow,
    .arch-arrow {
        transform: rotate(90deg);
    }

    .arch-flow {
        gap: 16px;
    }

    .workflow-visualization {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .workflow-step {
        grid-column: span 1 !important;
    }

    .workflow-connector {
        grid-column: span 1;
        height: 40px;
    }

    .workflow-connector::after {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-light) 100%);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        gap: 16px;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    .comparison-table {
        min-width: 800px;
    }

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

    .pricing-card {
        padding: 40px 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    /* Conversation animation mobile fixes */
    .conversation-animation {
        height: 420px;
    }

    .conversation-bubbles {
        padding: 15px 8px !important;
    }

    .conversation-bubbles > div {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

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

    .nav {
        height: 70px;
    }

    .logo {
        height: 28px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .problem-grid,
    .features-grid,
    .kaia-capabilities {
        gap: 24px;
    }

    .problem-card,
    .feature-card,
    .kaia-card {
        padding: 24px;
    }

    .kaia-icon {
        width: 80px;
        height: 80px;
    }

    /* Extra small screens - conversation animation */
    .conversation-animation {
        height: 380px;
    }

    .conversation-bubbles {
        gap: 10px !important;
    }

    .conversation-bubbles > div {
        font-size: 12px !important;
        padding: 8px 14px !important;
    }

    .hero {
        padding-bottom: 60px;
    }
}

/* ================================
   LOADING & TRANSITION STATES
   ================================ */

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .header,
    .nav-toggle,
    .hero-background,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section-title {
        page-break-after: avoid;
    }

    .comparison-table {
        page-break-inside: avoid;
    }
}
