/* ========================================
   JAPANDI DESIGN SYSTEM — Prism AI Triage
   Japanese minimalism + Scandinavian warmth
   ======================================== */

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Design Tokens === */
:root {
    /* Clean naturals — healthcare calm */
    --bg-primary:    #F4F6F7;   /* cool linen */
    --bg-secondary:  #EAEEEF;   /* soft sage-grey */
    --bg-card:       #FAFBFB;   /* clean rice paper */
    --bg-elevated:   #FFFFFF;

    /* Text — teal-charcoal family */
    --text-primary:  #1C2B2E;   /* deep teal-charcoal */
    --text-secondary:#56696D;   /* muted teal-grey */
    --text-tertiary: #8A9EA2;   /* faded sea glass */

    /* Accent — Prism brand blue */
    --accent:        #0086C4;   /* brand healthcare blue */
    --accent-soft:   rgba(0, 134, 196, 0.08);
    --accent-hover:  #006FA3;   /* deeper trust blue */

    /* Borders */
    --border:        #D5DBDD;
    --border-light:  #E5EAEB;

    /* Shadows — cool-tinted */
    --shadow-sm:     0 2px 8px rgba(28, 43, 46, 0.04);
    --shadow-md:     0 8px 30px rgba(28, 43, 46, 0.06);
    --shadow-lg:     0 20px 60px rgba(28, 43, 46, 0.08);

    /* Radius */
    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;

    /* Transitions */
    --ease-out:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-soft:     cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-ui:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:     'Literata', Georgia, 'Times New Roman', serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-soft);
    color: var(--text-primary);
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   "morning light through rice paper"
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children in grids */
.philosophy-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.philosophy-card.reveal:nth-child(3) { transition-delay: 0.24s; }

.team-member.reveal:nth-child(2) { transition-delay: 0.1s; }
.team-member.reveal:nth-child(3) { transition-delay: 0.2s; }
.team-member.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.4s var(--ease-soft),
                box-shadow 0.4s var(--ease-soft),
                padding 0.4s var(--ease-soft);
}

.navbar.scrolled {
    background: rgba(244, 246, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-light);
    padding: 14px 0;
}

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

.logo-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-title {
    font-family: var(--font-ui);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--text-primary);
}

.logo-subtitle {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    line-height: 1;
}

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

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease-soft);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-soft);
}

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

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

.nav-links a.nav-cta {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    color: var(--bg-primary);
}

.nav-links a.nav-cta::after {
    display: none;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 14px 36px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.35s var(--ease-soft),
                transform 0.35s var(--ease-soft),
                box-shadow 0.35s var(--ease-soft);
    text-decoration: none;
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 14px 36px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.35s var(--ease-soft);
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--accent-soft);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-ui);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.hero-title em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
    color: var(--accent-hover);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 600px;
}

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

/* Hero Visual Area */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    height: 520px;
    justify-self: center;
}

/* Decorative ensō circles */
.hero-ornament {
    position: absolute;
    inset: 0;
    color: var(--accent);
    pointer-events: none;
    z-index: 1;
    animation: gentle-rotate 60s linear infinite;
}

.hero-ornament svg {
    width: 100%;
    height: 100%;
}

@keyframes gentle-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Ambient Glow */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(0, 134, 196, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 5s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Chat Bubbles */
.hero-chat-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0,0,0,0.02);
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 240px;
    opacity: 0;
    z-index: 2;
    animation: float-up 0.8s var(--ease-soft) forwards;
}

.hero-chat-bubble p {
    margin: 0;
}

.hero-chat-bubble.patient {
    right: 5%;
    border-bottom-right-radius: 4px;
}

.hero-chat-bubble.ai {
    left: 14%;
    display: flex;
    flex-direction: column;
    background: rgba(244, 246, 247, 0.95);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(9, 30, 66, 0.04);
}

.hero-chat-bubble.ai::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 24px;
    border-bottom-left-radius: 4px;
    background: linear-gradient(135deg, var(--accent-hover), transparent);
    z-index: -1;
    opacity: 0.15;
}

.chat-avatar {
    position: absolute;
    bottom: -4px;
    left: -52px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: transparent;
    z-index: 3;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Specific message positioning and timing */
.msg-1 {
    top: 5%;
    animation-delay: 0.2s;
}

.msg-2 {
    top: 25%;
    margin-left: 0;
    animation-delay: 1.2s;
}

.msg-3 {
    top: 50%;
    animation-delay: 2.2s;
}

.msg-4 {
    top: 72%;
    margin-left: 0;
    animation-delay: 3.2s;
}

/* Typing Indicator */
.hero-chat-bubble.typing {
    display: flex;
    justify-content: center;
    padding: 16px 20px;
    align-items: center;
}

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

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-blink 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

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

/* Chat Input Bar */
.hero-chat-input {
    position: absolute;
    bottom: -2%;
    left: 10%;
    right: 10%;
    background: #ffffff;
    border-radius: 100px;
    padding: 10px 12px 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    opacity: 0;
    z-index: 2;
    animation: float-up 0.8s var(--ease-soft) forwards;
    animation-delay: 4.2s;
}

.hero-chat-input span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.hero-chat-send {
    width: 36px;
    height: 36px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: default;
    transition: transform 0.2s var(--ease-soft);
}

.hero-chat-send:hover {
    transform: scale(1.05);
}

@keyframes float-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
    display: flex;
    justify-content: center;
    padding: 0 clamp(20px, 4vw, 48px);
}

.divider-line {
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: var(--border);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}

.section-kicker {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-ui);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-title em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
}

.section-description {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */
.philosophy-section {
    padding: 100px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 44px 36px;
    transition: border-color 0.4s var(--ease-soft),
                box-shadow 0.4s var(--ease-soft),
                transform 0.4s var(--ease-soft);
}

.philosophy-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 28px;
}

.philosophy-card h3 {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ========================================
   DEMO SECTION
   ======================================== */
.demo-section {
    padding: 100px 0;
}

.demo-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* Demo Tabs */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.demo-tab {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 10px 28px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-soft);
}

.demo-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.demo-tab.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* ========================================
   CONTACT MODAL
   ======================================== */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 43, 46, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-soft);
}

.contact-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s var(--ease-soft);
}

.contact-modal-overlay.open .contact-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s var(--ease-soft);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color 0.25s var(--ease-soft),
                box-shadow 0.25s var(--ease-soft);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.pageclip-form .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ========================================
   VIDEO OVERLAY
   ======================================== */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 14px 28px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper:hover .video-overlay {
    background: rgba(30, 41, 59, 0.9);
    transform: translate(-50%, -50%) scale(1.03);
}


/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: 100px 0;
}

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

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.4s var(--ease-soft),
                box-shadow 0.4s var(--ease-soft),
                transform 0.4s var(--ease-soft);
}

.team-member:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease-soft);
}

.team-member:hover .member-image img {
    transform: scale(1.04);
}

.member-info {
    padding: 28px 24px;
}

.member-info h3 {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.contact-info a {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    transition: color 0.3s var(--ease-soft);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-info a:hover {
    color: var(--accent-hover);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0 120px;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
}

.cta-kicker {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--font-ui);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.footer-logo {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.footer-tagline {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease-soft);
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* ========================================
   PRIVACY POLICY PAGE
   ======================================== */
.privacy-section {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 72px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.privacy-title {
    font-family: var(--font-ui);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-family: var(--font-ui);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.privacy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.privacy-meta span:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background: var(--text-tertiary);
    border-radius: 50%;
    margin-left: 26px;
}

.privacy-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* Table of contents style section numbering */
.policy-block {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 48px 52px;
    margin-bottom: 20px;
    transition: border-color 0.35s var(--ease-soft),
                box-shadow 0.35s var(--ease-soft);
}

.policy-block:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.policy-block h2 {
    font-family: var(--font-ui);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.policy-block h3 {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--accent-hover);
}

.policy-block p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.policy-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
}

.policy-block ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.policy-block ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.policy-block code {
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.84rem;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.policy-block strong {
    color: var(--text-primary);
    font-weight: 500;
}

.policy-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.policy-table thead th {
    background: var(--bg-secondary);
    padding: 14px 24px;
    text-align: left;
    font-family: var(--font-ui);
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-table tbody td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

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

.policy-table tbody tr:hover {
    background: var(--accent-soft);
}

.contact-block {
    background: var(--bg-secondary);
    padding: 24px 28px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    border: 1px solid var(--border-light);
}

.contact-block p {
    margin-bottom: 6px;
}

.contact-block a {
    color: var(--accent);
    font-weight: 500;
    transition: color 0.3s var(--ease-soft);
}

.contact-block a:hover {
    color: var(--text-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-visual {
        max-width: 380px;
        height: 380px;
    }

    .hero-ornament {
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 14px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-content {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .logo-nav {
        width: 100%;
        justify-content: center;
    }

    .logo-nav img {
        height: 44px;
    }

    .nav-links {
        gap: 20px;
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid var(--border-light);
    }

    .nav-links a {
        font-size: 0.76rem;
    }

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

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

    .hero-visual {
        display: none;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .navbar {
        padding: 14px 0;
    }

    .nav-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .philosophy-section,
    .demo-section,
    .team-section,
    .cta-section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-card:last-child {
        max-width: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .member-image {
        height: auto;
        aspect-ratio: 4/5;
    }

    .privacy-section {
        padding-top: 140px;
        padding-bottom: 72px;
    }

    .policy-block {
        padding: 28px 24px;
    }

    .privacy-meta {
        flex-direction: column;
        gap: 6px;
    }

    .privacy-meta span::after {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        justify-content: center;
    }

    .video-overlay {
        padding: 10px 20px;
        gap: 8px;
        font-size: 0.8rem;
    }

    .video-overlay svg {
        width: 16px;
        height: 16px;
    }

    .demo-tabs {
        gap: 6px;
    }

    .demo-tab {
        padding: 8px 18px;
        font-size: 0.76rem;
    }

    .contact-modal {
        padding: 32px 24px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .logo-nav img {
        height: 38px;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .philosophy-card {
        padding: 32px 24px;
    }
}
