/* ===================================
   SalesLane Marketing Site
   Shared Styles
   =================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #030b14;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    overflow-x: hidden;
    background: #fbfbfd;
    -webkit-font-smoothing: antialiased;
    animation: fadeIn 0.3s ease-out;
}

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

/* ===================================
   Navigation
   =================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0d2847 0%, #061528 100%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 20px;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.nav-logo {
    align-items: center;
    padding-top: 10px;
    height: 36px;
    opacity: 0.9;
}

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

.nav-link {
    color: #dedee2;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-login {
    display: block;
    background: rgb(22, 90, 192);
    color: rgb(222, 230, 241);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    margin-right: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-login:hover {
    background: #0077ed;
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: rgb(22, 90, 192);
    padding: 2px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-right: -12px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #eef4ff;
    color: rgb(18, 75, 160);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgb(22, 90, 192);
    color: rgb(222, 230, 241);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-dropdown-menu a.active {
    color: #0071e3;
    font-weight: 500;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: white;
    min-height: calc(100vh - 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
    margin-top: 44px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.4;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    width: 240px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
    display: block;
}

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

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dce4ec;
    background: rgba(0, 113, 227, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero .tagline {
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 400;
    color: #86868b;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.hero .description {
    font-size: clamp(17px, 2.5vw, 21px);
    font-weight: 400;
    color: #a1a1a6;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Buttons
   =================================== */

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 12px 22px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
}

.btn-secondary {
    color: #2997ff;
    border: none;
    background: transparent;
}

.btn-secondary:hover {
    text-decoration: underline;
}

/* ===================================
   App Store Badges
   =================================== */

.app-store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.store-badge {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.store-badge img {
    width: auto;
}

.store-badge img[alt*="App Store"] {
    height: 44px;
}

.store-badge img[alt*="Google Play"] {
    height: 64px;
}

/* ===================================
   Sections
   =================================== */

section {
    padding: 80px 20px;
}

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

.section-title {
    text-align: center;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.015em;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(17px, 2.5vw, 21px);
    color: #86868b;
    margin-bottom: 60px;
    font-weight: 400;
}

/* ===================================
   Features Section
   =================================== */

.features {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.features .container {
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: #fbfbfd;
    padding: 48px 32px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.feature-icon {
    position: absolute;
    top: -20px;
    right: 0px;
    font-size: 140px;
    color: rgba(0, 113, 227, 0.04);
    font-weight: 300;
    pointer-events: none;
    line-height: 1;
}

.feature-icon svg {
    width: 120px;
    height: 120px;
    stroke: rgba(0, 113, 227, 0.08);
    stroke-width: 1.5;
    transition: stroke 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: rgba(0, 113, 227, 0.06);
}

.feature-card:hover .feature-icon svg {
    stroke: rgba(0, 113, 227, 0.12);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #86868b;
    line-height: 1.5;
    font-size: 17px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.cta p {
    font-size: clamp(17px, 2.5vw, 21px);
    color: #a1a1a6;
    margin-bottom: 30px;
}

/* ===================================
   Footer
   =================================== */

footer {
    background: #fbfbfd;
    color: #86868b;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.footer-tagline {
    color: #86868b;
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #424245;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0071e3;
}

.footer-copyright {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: #86868b;
    font-size: 12px;
    line-height: 1.5;
}

/* ===================================
   Badge
   =================================== */

.spire-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.1);
    color: #a1a1a6;
    font-size: 14px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.spire-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ===================================
   Product Showcase Section
   =================================== */

.showcase {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    padding: 100px 20px;
    overflow: hidden;
}

.showcase .section-title {
    color: #fff;
}

.showcase .section-subtitle {
    color: #86868b;
}

.device-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin-top: 60px;
}

.device-group {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.device-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.device-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 60px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-frame {
    width: 280px;
    border-radius: 40px;
    background: #000;
    padding: 8px;
}

.phone-frame .device-screenshot {
    border-radius: 32px;
}

.ipad-frame {
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    background: #000;
    padding: 8px;
}

.ipad-frame .device-screenshot {
    border-radius: 16px;
}

.tv-frame {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    background: #1a1a1a;
    padding: 12px 12px 40px 12px;
    position: relative;
}

.tv-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.tv-frame .device-screenshot {
    border-radius: 4px;
}

.device-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.device-caption {
    text-align: center;
    color: #86868b;
    font-size: 17px;
    margin-top: 20px;
    font-weight: 400;
}

.tv-group {
    flex-direction: column;
}

.showcase-section {
    text-align: center;
    width: 100%;
}

.showcase-heading {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.showcase-desc {
    font-size: clamp(15px, 2vw, 19px);
    color: #86868b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.theme-label {
    color: #0071e3;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-disclaimer {
    margin-top: 60px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-disclaimer p {
    color: #6e6e73;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.desktop-frame {
    width: 100%;
    max-width: 1100px;
    border-radius: 12px;
    background: #1a1a1a;
    padding: 8px 8px 8px 8px;
    position: relative;
}

.desktop-frame::before {
    content: '';
    display: block;
    height: 24px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    margin: -8px -8px 8px -8px;
    position: relative;
}

.desktop-frame::after {
    content: '● ● ●';
    position: absolute;
    top: 4px;
    left: 16px;
    font-size: 8px;
    letter-spacing: 4px;
    color: #555;
}

.desktop-frame .device-screenshot {
    border-radius: 0 0 8px 8px;
}

.android-frame {
    border-radius: 24px;
}

.android-frame .device-screenshot {
    border-radius: 16px;
}

.desktop-group {
    width: 100%;
}

/* ===================================
   Platform Badges
   =================================== */

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #86868b;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    color: #fff;
    transform: scale(1.1);
}

.platform-icon {
    font-size: 40px;
}

.platform-icon-svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.platform-badge:hover .platform-icon-svg {
    stroke: #0071e3;
    transform: scale(1.1);
}

.platform-name {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   App Download Page Styles
   =================================== */

.app-download-page {
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1929 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
}

.app-download-container {
    text-align: center;
    max-width: 400px;
}

.app-download-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.app-download-page h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.app-download-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.app-stores {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.store-link {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-link:hover {
    transform: scale(1.05);
}

.store-link img {
    height: 54px;
    width: auto;
}

.store-link img.google-play {
    height: 80px;
}

.app-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 8px 0;
}

.web-app-link {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.web-app-link a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.web-app-link a:hover {
    color: white;
}

.app-loading {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.app-footer {
    margin-top: 48px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.app-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.app-footer a:hover {
    color: white;
}

/* ===================================
   Responsive Styles
   =================================== */

/* Hamburger Menu Button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.nav-login-mobile {
    display: none;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #dedee2;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    nav {
        padding: 0 16px;
    }

    .nav-logo {
        height: 36px;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-login-mobile {
        display: block;
        background: rgb(22, 90, 192);
        color: rgb(182, 205, 235);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        letter-spacing: 1px;
        margin-right: 12px;
        font-weight: 600;
    }

    .nav-links .nav-login {
        /* Hide the one inside hamburger menu; .nav-login-mobile covers this on small screens */
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgb(3, 17, 36);
        backdrop-filter: saturate(280%) blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

    .nav-link {
        font-size: 16px;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }


    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown-toggle::after {
        margin-left: 12px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 8px;
        margin: 8px 0;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: 100%;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 12px 16px;
    }
    .nav-right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }
    .nav-login {
        font-size: 14px;
        padding: 12px 24px;
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        font-size: 14px;
        padding: 12px 24px;
        margin: 16px 0 0 0;
        width: 100%;
        text-align: center;
        height: auto;
        background: #ffffff;
        color: rgb(22, 90, 192);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .logo-image {
        width: 90px;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

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

    .phone-frame {
        width: 200px;
    }

    .phone-group {
        gap: 16px;
    }

    .device-showcase {
        gap: 50px;
    }

    .platform-badges {
        gap: 24px;
    }

    .platform-icon {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .phone-frame {
        width: 160px;
    }

    .tv-frame {
        padding: 6px 6px 30px 6px;
    }
}

/* ===================================
   Page Header (for subpages)
   =================================== */

.page-header {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: white;
    padding: 40px 20px 40px;
    text-align: center;
    margin-top: 44px;
}

.page-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-header p {
    font-size: clamp(17px, 2.5vw, 21px);
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Value Proposition Section
   =================================== */

.value-prop {
    background: #fff;
    padding: 100px 20px;
}

.value-prop .section-subtitle {
    margin-bottom: 28px;
}

.promo-video-embed {
    position: relative;
    max-width: min(900px, 100%);
    margin: 0 auto 48px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    background: #000;
}

.promo-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.value-prop .features-grid {
    margin-top: 0;
}

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

.translation-card {
    background: #fbfbfd;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.translation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.translation-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.translation-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.translation-card p {
    font-size: 15px;
    color: #86868b;
}

/* ===================================
   Personas Section
   =================================== */

.personas {
    background: #fbfbfd;
    padding: 100px 20px;
}

.personas .section-subtitle {
    margin-bottom: 28px;
}

.personas .persona-grid {
    margin-top: 0;
}

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

.persona-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.persona-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.persona-pain {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 16px;
    font-style: italic;
}

.persona-message {
    font-size: 17px;
    color: #0071e3;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 8px;
}

.persona-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.persona-features li {
    font-size: 15px;
    color: #1d1d1f;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 20px;
}

.persona-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34c759;
    font-weight: 600;
}

.persona-features li:last-child {
    border-bottom: none;
}

.persona-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #0071e3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.persona-link:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* ===================================
   Replaces Section
   =================================== */

.replaces {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: white;
    padding: 100px 20px;
}

.replaces .section-title {
    color: #fff;
}

.replaces .section-subtitle {
    color: #86868b;
}

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

.replace-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.replace-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.replace-old {
    color: #ff453a;
    font-size: 15px;
    text-decoration: line-through;
    opacity: 0.8;
}

.replace-arrow {
    color: #86868b;
    font-size: 18px;
}

.replace-new {
    color: #30d158;
    font-size: 15px;
    font-weight: 500;
}

/* ===================================
   Social Proof Section
   =================================== */

.social-proof {
    background: #fbfbfd;
    padding: 100px 20px;
}

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

.proof-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.proof-quote {
    font-size: 17px;
    color: #1d1d1f;
    line-height: 1.6;
    font-style: italic;
}

.proof-note {
    text-align: center;
    font-size: 17px;
    color: #86868b;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Features Page Styles
   =================================== */

.features-cta {
    text-align: center;
    margin-top: 60px;
}

.platform-overview {
    background: #fff;
    padding: 40px 20px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.platform-card {
    background: #fbfbfd;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.platform-card .platform-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.platform-card .platform-icon svg {
    width: 48px;
    height: 48px;
    stroke: #0071e3;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon svg {
    stroke: #0077ed;
    transform: scale(1.1);
}

.platform-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.5;
}

.feature-categories {
    background: #fbfbfd;
    padding: 60px 20px;
}

.feature-category {
    margin-bottom: 60px;
    margin-top: 20px;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.feature-category h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    text-align: center;
}

.category-desc {
    font-size: 17px;
    color: #86868b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-detail {
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-detail h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.feature-detail p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.5;
}

/* Feature Category Header with Icon */
.feature-category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.feature-category-header h2 {
    text-align: left;
    margin-bottom: 8px;
}

.feature-category-header .category-desc {
    text-align: left;
    margin: 0;
    max-width: none;
}

.feature-category-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-category-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-box {
    background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
    border: 1px solid rgba(0, 113, 227, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.highlight-box.full-width {
    grid-column: 1 / -1;
}

.highlight-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.highlight-box p {
    font-size: 15px;
    color: #515154;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #515154;
    line-height: 1.5;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 600;
}

/* Workflow Steps */
.feature-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.workflow-step {
    text-align: center;
    padding: 20px;
    min-width: 140px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0071e3;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.workflow-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.workflow-step p {
    font-size: 13px;
    color: #86868b;
    line-height: 1.4;
}

.workflow-arrow {
    font-size: 24px;
    color: #0071e3;
    font-weight: 300;
}

@media (max-width: 768px) {
    .feature-workflow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* Feature Subsection */
.feature-subsection {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-subsection h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.subsection-desc {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 32px;
}

/* Architecture Table */
.architecture-table {
    overflow-x: auto;
    margin-bottom: 24px;
}

.architecture-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.architecture-table th,
.architecture-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.architecture-table th {
    background: #f5f5f7;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.architecture-table td {
    font-size: 15px;
    color: #515154;
}

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

.architecture-table tr:hover td {
    background: #fbfbfd;
}

/* Responsive Feature Category Header */
@media (max-width: 600px) {
    .feature-category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-category-header h2,
    .feature-category-header .category-desc {
        text-align: center;
    }
    
    .feature-category-icon {
        margin: 0 auto;
    }
}

/* ===================================
   Pricing Page Styles
   =================================== */

.pricing-section {
    background: #fff;
    padding: 80px 20px;
}

.pricing-card-main {
    max-width: 600px;
    margin: 0 auto;
    background: #fbfbfd;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    text-align: center;
}

.pricing-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.pricing-tagline {
    font-size: 17px;
    color: #86868b;
}

.pricing-includes {
    margin-top: 40px;
    text-align: left;
}

.pricing-includes h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    font-size: 15px;
    color: #1d1d1f;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34c759;
    font-weight: 600;
}

.pricing-contact {
    margin-top: 40px;
}

.pricing-note {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 20px;
}

.btn-large {
    font-size: 19px;
    padding: 16px 32px;
}

.pricing-alt {
    font-size: 14px;
    color: #86868b;
    margin-top: 16px;
}

.demo-section {
    background: #fbfbfd;
    padding: 80px 20px;
}

.demo-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.demo-option {
    background: #fff;
    padding: 40px 32px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.demo-option h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.demo-option p {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 24px;
}

.demo-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.demo-badges a {
    display: inline-block;
}

.demo-badges img {
    height: 40px;
    width: auto;
    max-width: 160px;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    background: #fff;
    padding: 80px 20px;
}

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

.faq-item {
    background: #fbfbfd;
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.6;
}

/* ===================================
   About Page Styles
   =================================== */

.about-philosophy,
.about-replaces,
.about-not,
.about-competition,
.about-company {
    padding: 80px 20px;
}

.about-philosophy {
    background: #fff;
}

.about-replaces {
    background: #fbfbfd;
}

.about-not {
    background: #fff;
}

.about-competition {
    background: #fbfbfd;
}

.about-company {
    background: #fff;
}

.philosophy-content h2,
.about-replaces h2,
.about-not h2,
.about-competition h2,
.about-company h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.philosophy-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 40px;
    margin-bottom: 16px;
}

.philosophy-content p,
.about-replaces p,
.about-not p,
.about-competition p,
.about-company p {
    font-size: 17px;
    color: #1d1d1f;
    line-height: 1.7;
    margin-bottom: 20px;
}

.lead {
    font-size: 21px !important;
    font-weight: 500;
    color: #0071e3 !important;
}

.emphasis {
    font-size: 19px !important;
    font-weight: 600;
    color: #1d1d1f !important;
    text-align: center;
    padding: 20px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 12px;
}
.light-emphasis {
    font-size: 19px !important;
    font-weight: 600;
    color: #dedee2 !important;
    text-align: center;
    padding: 20px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 12px;
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.philosophy-list li {
    font-size: 17px;
    color: #1d1d1f;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.comparison-item {
    background: #fbfbfd;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-not .comparison-item {
    background: #fff;
}

.comparison-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 8px;
}

.comparison-item p {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 0;
}

.observation-box {
    background: rgba(0, 113, 227, 0.05);
    padding: 32px;
    border-radius: 16px;
    margin: 32px 0;
}

.observation-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.observation-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.observation-box li {
    font-size: 16px;
    color: #1d1d1f;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.observation-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0071e3;
}

.contact-box {
    background: #fbfbfd;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.contact-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.contact-box a {
    color: #0071e3;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ===================================
   Blog Listing Styles
   =================================== */

.blog-listing {
    background: #fff;
    padding: 60px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    background: #fbfbfd;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
    opacity: 1;
}

.blog-card-content {
    padding: 28px 24px;
}

.blog-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.blog-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #0071e3;
}

.blog-card p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    font-size: 13px;
    color: #a1a1a6;
}

.blog-meta span {
    margin-right: 16px;
}

/* ===================================
   Blog Article Styles
   =================================== */

.blog-article {
    margin-top: 44px;
}

.article-header {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: white;
    padding: 80px 20px 60px;
    margin-top: 44px;
}

.article-header .blog-category {
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 15px;
    color: #86868b;
}

.article-meta span {
    margin-right: 20px;
}

.back-link {
    display: inline-block;
    color: #0071e3;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: underline;
}

.article-hero {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #000;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.article-content {
    background: #fff;
    padding: 60px 20px;
}

.article-content .container {
    max-width: 720px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 48px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-content p {
    font-size: 17px;
    color: #1d1d1f;
    line-height: 1.8;
    margin-bottom: 24px;
}

.article-content .lead {
    font-size: 21px;
    font-weight: 500;
    color: #0071e3;
    margin-bottom: 32px;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 17px;
    color: #1d1d1f;
    line-height: 1.7;
    margin-bottom: 12px;
}

.article-content strong {
    font-weight: 600;
}

.article-content em {
    font-style: italic;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
}

.data-table th {
    background: #fbfbfd;
    font-weight: 600;
    color: #1d1d1f;
}

.data-table td {
    color: #1d1d1f;
}

.article-cta {
    background: rgba(0, 113, 227, 0.05);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
}

.article-cta h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    margin-top: 0;
}

.article-cta p {
    font-size: 17px;
    color: #86868b;
    margin-bottom: 24px;
}

.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    margin-top: 0;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 12px;
}

.related-articles a {
    color: #0071e3;
    text-decoration: none;
    font-size: 16px;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* ===================================
   Active Nav Link
   =================================== */

.nav-link.active {
    color: #0071e3;
    font-weight: 600;
}

/* ===================================
   Responsive - Additional Styles
   =================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px 40px;
    }
    
    .persona-grid,
    .translation-grid,
    .replace-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-box {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header {
        padding: 60px 20px 40px;
    }
    
    .article-content {
        padding: 40px 20px;
    }
    
    .article-cta {
        padding: 28px 20px;
    }
}

/* ===================================
   Role-Specific Pages
   =================================== */

/* Role Hero */
.role-hero {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: #fff;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 44px;
}

.role-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.role-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.role-hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.role-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.role-hero .cta-buttons {
    justify-content: center;
}

/* Pain Points Section */
.role-pain-points {
    background: #f5f5f7;
    padding: 80px 20px;
}

.role-pain-points h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

.role-pain-points:has(.promo-video-embed) h2 {
    margin-bottom: 24px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: #fff0f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pain-icon svg {
    stroke: #c53030;
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 15px;
    color: #515154;
    line-height: 1.6;
}

/* Solutions Section */
.role-solutions {
    background: #fff;
    padding: 80px 20px;
}

.role-solutions h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 12px;
}

.role-solutions .section-subtitle {
    font-size: 17px;
    color: #86868b;
    text-align: center;
    margin-bottom: 48px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-card {
    background: #fbfbfd;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-icon svg {
    stroke: #fff;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.solution-card > p {
    font-size: 15px;
    color: #515154;
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #515154;
}

.solution-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 600;
}

/* Feature Highlight Section */
.role-feature-highlight {
    background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
    padding: 80px 20px;
}

.feature-highlight-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-highlight-text h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.feature-highlight-text > p {
    font-size: 16px;
    color: #515154;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.feature-highlight-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    color: #515154;
}

.feature-highlight-list li:last-child {
    border-bottom: none;
}

.feature-highlight-list li strong {
    color: #1d1d1f;
}

/* Psychology Section */
.role-psychology {
    background: radial-gradient(ellipse at center, #0d2847 0%, #061528 50%, #030b14 100%);
    color: #fff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.role-psychology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.psychology-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.psychology-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    margin-bottom: 16px;
}

.psychology-content .lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
}

.psychology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.psychology-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 28px 24px;
    border-radius: 12px;
    text-align: left;
}

.psychology-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.psychology-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.psychology-content .emphasis {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

/* Role Proof Section */
.role-proof {
    background: #fbfbfd;
    padding: 80px 20px;
}

.role-proof h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

.role-proof .proof-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.role-proof .proof-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.proof-quote {
    font-size: 17px;
    font-style: italic;
    color: #515154;
    line-height: 1.6;
    margin: 0;
}

.proof-quote::before {
    content: "\201C";
    font-size: 48px;
    color: #0071e3;
    line-height: 0;
    display: block;
    margin-bottom: 8px;
}

/* Use Cases Section */
.role-use-cases {
    background: #fff;
    padding: 80px 20px;
}

.role-use-cases h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 48px;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-card {
    background: #f5f5f7;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.use-case-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 14px;
    color: #515154;
    line-height: 1.5;
}

/* Role Page Responsive */
@media (max-width: 768px) {
    .role-hero {
        padding: 80px 20px 60px;
    }
    
    .pain-grid,
    .solution-grid,
    .psychology-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .role-pain-points,
    .role-solutions,
    .role-feature-highlight,
    .role-psychology,
    .role-proof,
    .role-use-cases {
        padding: 60px 20px;
    }
}

/* ===================================
   Docs Pages (sidebar + article)
   =================================== */

.docs-shell {
    background: #fff;
    padding: 60px 20px;
}

.docs-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 64px;
    align-self: start;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 24px;
}

.docs-sidebar-heading {
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.docs-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.docs-nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #424245;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.docs-nav-link:hover {
    background: rgba(0, 113, 227, 0.06);
    color: #0071e3;
}

.docs-nav-link.active {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    font-weight: 600;
}

.docs-article {
    background: transparent;
    padding: 0;
    view-transition-name: docs-article;
}

::view-transition-old(docs-article),
::view-transition-new(docs-article) {
    animation-duration: 220ms;
    animation-timing-function: ease;
}

.docs-article .container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.docs-article h2:first-child,
.docs-article h3:first-child,
.docs-article p:first-child {
    margin-top: 0;
}

.docs-article a {
    color: #0071e3;
    text-decoration: none;
}

.docs-article a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .docs-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .docs-sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 0;
        padding-bottom: 24px;
    }

    .docs-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .docs-nav-link {
        padding: 8px 12px;
        background: #f5f5f7;
    }
}

/* ===================================
   Docs help CTA (bottom of each doc)
   =================================== */

.docs-help-cta {
    margin-top: 64px;
    padding: 28px 28px 28px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(0, 113, 227, 0.02));
    border: 1px solid rgba(0, 113, 227, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.docs-help-cta-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 6px;
}

.docs-help-cta-text p {
    font-size: 15px;
    color: #424245;
    margin: 0;
    line-height: 1.5;
}

.docs-help-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #0071e3;
    color: #fff;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.docs-help-cta-button:hover {
    background: #0077ed;
    transform: translateY(-1px);
}

/* ===================================
   Support page (chat + glass container)
   =================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.support-section {
    position: relative;
    background: #fafafa;
    padding: 80px 20px 100px;
    overflow: hidden;
    isolation: isolate;
}

.support-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.support-bg-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.45), transparent 70%);
}

.support-bg-orb-2 {
    width: 480px;
    height: 480px;
    bottom: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.35), transparent 70%);
}

.support-container {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.support-chat {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 24px 60px rgba(13, 40, 71, 0.12),
        0 4px 12px rgba(13, 40, 71, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 560px;
    max-height: min(78vh, 760px);
}

.support-chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.55);
}

.support-chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #5e5ce6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px rgba(0, 113, 227, 0.25),
        0 4px 10px rgba(13, 40, 71, 0.12);
}

.support-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.support-chat-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.support-chat-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.2;
}

.support-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6e6e73;
    line-height: 1.2;
}

.support-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}

.support-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-msg {
    display: flex;
    max-width: 100%;
}

.support-msg-user {
    justify-content: flex-end;
}

.support-msg-assistant {
    justify-content: flex-start;
}

.support-msg-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d1f;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.support-msg-bubble p {
    margin: 0;
}

.support-msg-bubble p + p {
    margin-top: 8px;
}

.support-msg-bubble a {
    color: inherit;
    text-decoration: underline;
}

.support-msg-user .support-msg-bubble {
    background: linear-gradient(135deg, #0071e3, #0a84ff);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.support-msg-assistant .support-msg-bubble {
    background: rgba(245, 245, 247, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom-left-radius: 6px;
}

.support-msg-typing .support-msg-bubble {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
}

.support-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #86868b;
    opacity: 0.5;
    animation: support-typing-bounce 1.2s infinite ease-in-out;
}

.support-typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.support-typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes support-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.support-chat-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.65);
}

.support-chat-input {
    flex: 1;
    min-width: 0;
    resize: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #1d1d1f;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    max-height: 160px;
    overflow-y: auto;
}

.support-chat-input:focus {
    outline: none;
    border-color: rgba(0, 113, 227, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.support-chat-input:disabled {
    opacity: 0.6;
}

.support-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: #0071e3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.support-chat-send:hover:not(:disabled) {
    background: #0077ed;
}

.support-chat-send:active:not(:disabled) {
    transform: scale(0.96);
}

.support-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.support-fallback {
    margin-top: 18px;
    text-align: center;
    color: #6e6e73;
    font-size: 14px;
}

.support-fallback a {
    color: #0071e3;
    text-decoration: none;
}

.support-fallback a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .support-section {
        padding: 48px 16px 72px;
    }

    .support-chat {
        min-height: 520px;
        max-height: 78vh;
        border-radius: 16px;
    }

    .support-chat-messages {
        padding: 18px 16px;
    }

    .support-msg-bubble {
        max-width: 88%;
        font-size: 14.5px;
    }

    .support-bg-orb-1,
    .support-bg-orb-2 {
        width: 280px;
        height: 280px;
        filter: blur(60px);
    }

    .docs-help-cta {
        padding: 22px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================
   Demo Request Form
   =================================== */

.demo-form-section {
    background: #fbfbfd;
    padding: 60px 20px 100px;
}

.demo-form-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
    max-width: 1080px;
}

.demo-form-intro {
    position: sticky;
    top: 80px;
}

.demo-form-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86868b;
    margin: 0 0 18px;
}

.demo-form-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.demo-form-bullets li {
    font-size: 16px;
    color: #515154;
    line-height: 1.55;
    padding-left: 22px;
    position: relative;
}

.demo-form-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(22, 90, 192);
}

.demo-form-bullets strong {
    color: #1d1d1f;
    font-weight: 600;
}

.demo-form-aside {
    font-size: 15px;
    color: #86868b;
    margin: 0;
    line-height: 1.55;
}

.demo-form-aside a {
    color: rgb(22, 90, 192);
    text-decoration: none;
    font-weight: 500;
}

.demo-form-aside a:hover {
    text-decoration: underline;
}

.demo-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 1px 2px rgba(13, 40, 71, 0.04), 0 8px 32px rgba(13, 40, 71, 0.06);
    transition: opacity 0.2s ease;
}

.demo-form.is-sending {
    opacity: 0.7;
}

.demo-form-status {
    min-height: 0;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.45;
}

.demo-form-status:empty {
    display: none;
}

.demo-form-status-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.demo-form-status-info {
    color: rgb(22, 90, 192);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
}

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

.demo-form-row:last-of-type {
    margin-bottom: 0;
}

.demo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.demo-field-wide {
    grid-column: 1 / -1;
}

.demo-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: 0.005em;
}

.demo-field-required {
    color: rgb(22, 90, 192);
    margin-left: 2px;
}

.demo-field-optional {
    color: #86868b;
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.demo-field input,
.demo-field select,
.demo-field textarea {
    width: 100%;
    max-width: 100%;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    color: #1d1d1f;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.demo-field input:hover,
.demo-field select:hover,
.demo-field textarea:hover {
    border-color: #a8a8ad;
}

.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
    outline: none;
    border-color: rgb(22, 90, 192);
    box-shadow: 0 0 0 4px rgba(22, 90, 192, 0.12);
}

.demo-field textarea {
    resize: vertical;
    min-height: 96px;
    font-family: inherit;
}

.demo-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.demo-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.demo-form-actions {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f1f1f3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.demo-form-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.demo-form-actions .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.demo-form-fineprint {
    font-size: 13px;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

.demo-form-fineprint a {
    color: rgb(22, 90, 192);
    text-decoration: none;
    font-weight: 500;
}

.demo-form-fineprint a:hover {
    text-decoration: underline;
}

/* Success state replaces the form after submit */

.demo-form-success {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(13, 40, 71, 0.04), 0 8px 32px rgba(13, 40, 71, 0.06);
    grid-column: 2 / 3;
}

.demo-form-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 12px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}

.demo-form-success-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #15803d;
    box-shadow: 0 0 8px rgba(21, 128, 61, 0.5);
}

.demo-form-success h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.demo-form-success p {
    font-size: 16px;
    color: #515154;
    line-height: 1.55;
    margin: 0 auto 14px;
    max-width: 460px;
}

.demo-form-success-aside {
    font-size: 14px;
    color: #86868b;
    margin-top: 18px !important;
}

.demo-form-success a {
    color: rgb(22, 90, 192);
    text-decoration: none;
    font-weight: 500;
}

.demo-form-success a:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .demo-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .demo-form-intro {
        position: static;
    }
    .demo-form-success {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .demo-form-section {
        padding: 32px 14px 64px;
    }
    .demo-form,
    .demo-form-success {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .demo-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }
    .demo-field input,
    .demo-field select,
    .demo-field textarea {
        font-size: 16px;
        padding: 12px 14px;
    }
    .demo-field select {
        padding-right: 38px;
    }
    .demo-form-actions {
        margin-top: 22px;
        padding-top: 18px;
    }
    .demo-form-actions .btn {
        padding: 14px 20px;
        font-size: 16px;
    }
    .demo-form-fineprint {
        font-size: 12px;
    }
    .demo-form-success {
        padding: 32px 20px;
    }
    .demo-form-success h2 {
        font-size: 22px;
    }
    .demo-form-success p {
        font-size: 15px;
    }
}

