:root {
    --ink: #11141b;
    --ink-soft: #2c3340;
    --paper: #fff4e5;
    --cloud: #f6fbff;
    --sun: #ffd166;
    --coral: #ff6b6b;
    --teal: #1fb6a6;
    --sky: #63c5ff;
    --leaf: #8ce0a3;
    --border: rgba(17, 20, 27, 0.12);
    --shadow: 0 18px 40px rgba(17, 20, 27, 0.12);
    --radius: 24px;
    --transition: all 0.3s ease;
    --font-display: 'Bungee', 'Trebuchet MS', sans-serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: linear-gradient(145deg, var(--paper), var(--cloud));
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    background: var(--coral);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(255, 107, 107, 0.35);
}

.btn:hover {
    transform: translateY(-2px);
    background: #ff5252;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--ink);
    color: #ffffff;
}

.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-bottom: 0.75rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--coral);
    border-radius: 999px;
    margin: 1.5rem 0 2rem;
}

.site-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 5rem;
    background: radial-gradient(circle at top, rgba(255, 209, 102, 0.4), transparent 55%),
        linear-gradient(135deg, #fff7ea 0%, #f3f9ff 65%);
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
}

.orb-sun {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--sun), rgba(255, 209, 102, 0));
    top: -60px;
    right: 10%;
}

.orb-wave {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--sky), rgba(99, 197, 255, 0));
    bottom: 10%;
    left: 5%;
    animation-delay: -2s;
}

.orb-pop {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--leaf), rgba(140, 224, 163, 0));
    top: 45%;
    right: 35%;
    animation-delay: -4s;
}

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

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 150px;
    height: 56px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.brand-tag {
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--teal);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--ink);
    transition: var(--transition);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-copy p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stats div {
    background: #ffffff;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(17, 20, 27, 0.08);
    text-align: center;
}

.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
}

.stat-value {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.hero-preview {
    display: grid;
    gap: 1.5rem;
}

.preview-card {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.preview-card.accent {
    background: linear-gradient(135deg, rgba(31, 182, 166, 0.15), rgba(99, 197, 255, 0.25));
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    margin-bottom: 0.8rem;
}

.preview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.preview-card ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.preview-card li {
    padding: 0.4rem 0.6rem;
    background: rgba(255, 209, 102, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
}

.preview-card .answer {
    background: rgba(31, 182, 166, 0.2);
    font-weight: 700;
}

.room-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.mission-section {
    background: #ffffff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.mission-callout {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.25), rgba(255, 107, 107, 0.15));
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 209, 102, 0.5);
}

.mission-callout h3 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.mission-callout ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.mission-callout li {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1rem;
    border-radius: 14px;
}

.modes-section,
.products-section {
    background: var(--cloud);
}

.kloos-section {
    background: #ffffff;
}

.kloos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.kloos-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.kloos-logo {
    width: 160px;
    height: auto;
    margin-bottom: 1rem;
}

.kloos-panel {
    display: grid;
    gap: 1.5rem;
}

.kloos-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.mode-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(17, 20, 27, 0.08);
    transition: var(--transition);
}

.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 20, 27, 0.16);
}

.mode-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(31, 182, 166, 0.15);
    color: var(--teal);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.mode-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.mode-card-title {
    margin-bottom: 0.8rem;
}

.mode-card-logo {
    width: 120px;
    height: auto;
    display: block;
}

.mode-card p {
    color: var(--ink-soft);
    margin-bottom: 1.2rem;
}

.mode-note {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}

.together-section {
    background: linear-gradient(135deg, rgba(99, 197, 255, 0.2), rgba(140, 224, 163, 0.2));
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.ai-section {
    background: #ffffff;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.ai-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.ai-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin: 1.5rem 0 2rem;
}

.ai-list li {
    padding: 0.6rem 1rem;
    background: rgba(255, 209, 102, 0.2);
    border-radius: 12px;
    font-weight: 600;
}

.ai-panel {
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(99, 197, 255, 0.25));
    padding: 2rem;
    border: 1px solid rgba(99, 197, 255, 0.4);
    display: grid;
    gap: 1.5rem;
}

.ai-panel-top, .ai-panel-bottom {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--border);
}

.panel-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
}

.panel-sub {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
}

.contact-section {
    background: var(--cloud);
}

.contact-form {
    max-width: 620px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(31, 182, 166, 0.4);
    border-color: var(--teal);
}

footer {
    background: #0d1117;
    color: #ffffff;
    padding: 3rem 0 2rem;
}

.policy-header {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 20, 27, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: grid;
    gap: 0.4rem;
}

.footer-brand .brand-name {
    color: #ffffff;
}

.footer-links a {
    color: #ffffff;
    margin-left: 1.2rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--sun);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
}

/* Privacy Policy and Terms of Service Pages */
.privacy-policy-section, .terms-section {
    background: var(--cloud);
    padding-top: 40px;
    padding-bottom: 5rem;
}

.privacy-policy-section h1, .terms-section h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.privacy-policy-section .divider,
.terms-section .divider {
    margin: 0 auto 2rem;
}

.policy-content, .terms-content {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.last-updated {
    font-style: italic;
    text-align: right;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.policy-section, .terms-content .terms-section {
    margin-bottom: 2.5rem;
}

.policy-section h2, .terms-content .terms-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.policy-section h3, .terms-content .terms-section h3 {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin: 1.2rem 0 0.8rem;
}

.policy-section ul, .terms-content .terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-section a, .terms-content .terms-section a {
    color: var(--teal);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 10;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 11;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-grid,
    .mission-grid,
    .ai-grid,
    .kloos-grid {
        grid-template-columns: 1fr;
    }

    .hero-preview {
        order: -1;
    }

    .mode-cards,
    .step-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    nav {
        flex-wrap: wrap;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
}

/* Success and Error Messages */
.success-message, .error-message {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 600px;
}

.success-message {
    border-left: 4px solid var(--leaf);
}

.error-message {
    border-left: 4px solid #e34b4b;
}

.success-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.success-icon i {
    color: var(--leaf);
}

.error-icon i {
    color: #e34b4b;
}

.success-message h3, .error-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-message p, .error-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-message .btn, .error-message .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .success-message, .error-message {
        padding: 2rem 1.5rem;
    }

    .success-icon, .error-icon {
        font-size: 2.5rem;
    }

    .success-message h3, .error-message h3 {
        font-size: 1.5rem;
    }

    .success-message p, .error-message p {
        font-size: 1rem;
    }
}
