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

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2240;
    --navy-700: #0f2b46;
    --navy-600: #163a5c;
    --navy-500: #1a5276;
    --accent:   #e8703a;
    --accent-light: #f0924f;
    --white:    #ffffff;
    --gray-50:  #f7f8fa;
    --gray-100: #eef0f4;
    --gray-300: #c8cdd8;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --text:     #111827;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.20);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-cta {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* ============================================
   MAIN OFFSET
   ============================================ */
.main {
    margin-top: 68px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 96px 0 80px;
    background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-500) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* subtle dot grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #f0924f 0%, #f5c842 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 50px;
}

.badge-icon { font-size: 1rem; }

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(232,112,58,0.4);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,112,58,0.45);
}

.hero-subtext {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   PHONE MOCKUP
   ============================================ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 260px;
    background: #111;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        0 32px 80px rgba(0,0,0,0.5),
        0 8px 24px rgba(0,0,0,0.3);
    position: relative;
    flex-shrink: 0;
}

/* Dynamic island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(180deg, #0d1117 0%, #0a0f1a 100%);
    border-radius: 34px;
    height: 520px;
    overflow: hidden;
    position: relative;
}

/* Each screen fills the phone exactly */
.pscreen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 44px 16px 20px;
    overflow: hidden;
}

/* Banner */
.phone-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #166534;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.phone-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

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

.phone-banner-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.phone-banner-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    line-height: 1;
}

.phone-banner-icon {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

/* Caller section */
.phone-caller {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding-bottom: 16px;
}

.phone-caller-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.phone-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C2855 0%, #9598CE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 0 0 4px rgba(149,152,206,0.2);
}

.phone-caller-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.phone-caller-number {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}

.phone-caller-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 50px;
}

/* Quick action buttons */
.phone-quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 20px;
}

.phone-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
}

.phone-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-quick-icon svg {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.85);
}

.phone-quick-btn span {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* Decline / Join buttons */
.phone-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.phone-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

.phone-action-btn svg {
    width: 28px;
    height: 28px;
}

.phone-action-btn span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
}

.phone-action-btn.decline svg {
    background: #ef4444;
    border-radius: 50%;
    padding: 14px;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px rgba(239,68,68,0.4);
}

.phone-action-btn.join svg {
    background: #22c55e;
    border-radius: 50%;
    padding: 14px;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px rgba(34,197,94,0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    padding: 96px 0;
    background: var(--white);
}

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

.problem-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
}

.problem-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.problem-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 96px 0;
    background: var(--gray-50);
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy-700);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.65;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gray-300);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(232,112,58,0.12) 0%, rgba(245,200,66,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 96px 0;
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* connector line between steps */
.steps-container::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(232,112,58,0.35);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: 96px 0;
    background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-600) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.trust-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.trust-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.trust-text > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.trust-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(232,112,58,0.2);
    border: 1px solid rgba(232,112,58,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent-light);
    margin-top: 1px;
}

.trust-visual-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.trust-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.trust-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   BUILT FOR SECTION
   ============================================ */
.built-for {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.built-for-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.built-for-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s ease;
}

.built-for-card:hover {
    box-shadow: var(--shadow-md);
}

.built-for-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.built-for-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-700);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 96px 0;
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy-700);
    margin-bottom: 16px;
    line-height: 1.2;
}

.final-cta-content p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 36px;
    line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.07);
}

.footer-bottom {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10,22,40,0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: var(--gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.modal-close:hover { background: var(--gray-300); }

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232,112,58,0.12) 0%, rgba(245,200,66,0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.modal-content > p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.6;
}

#waitlistForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#email {
    padding: 14px 18px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    color: var(--text);
}

#email::placeholder { color: var(--gray-300); }

#email:focus { border-color: var(--navy-700); }

.btn-submit {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.success-message {
    color: #16a34a;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px;
    background: #f0fdf4;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
}

.hidden { display: none !important; }

/* ============================================
   SHARED BUTTON ALIASES (legacy compat)
   ============================================ */
.cta-button { 
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(232,112,58,0.35);
    font-family: inherit;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,112,58,0.4);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--navy-700);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 360px;
        gap: 48px;
    }

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

    .trust-content {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 72px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-title { font-size: 2.4rem; }

    .hero-badges { justify-content: center; }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual { order: -1; }

    .phone-mockup { width: 230px; }

    .phone-screen { height: 460px; }

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

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

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

    .steps-container::before { display: none; }

    .trust-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .trust-list li { text-align: left; }

    .section-title { font-size: 1.9rem; }

    .final-cta-content h2 { font-size: 2rem; }

    .logo-img { height: 38px; }

    .nav-cta { display: none; }
}

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

    .hero-title { font-size: 1.9rem; }

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

    .section-title { font-size: 1.65rem; }

    .features, .how-it-works, .trust, .final-cta { padding: 72px 0; }

    .feature-card, .step-card { padding: 24px 20px; }

    .final-cta-content h2 { font-size: 1.7rem; }

    .modal-content { padding: 36px 24px; }

    .phone-mockup { width: 210px; }

    .phone-screen { height: 420px; }
}

/* ============================================
   IN-PHONE SCREENS
   ============================================ */

/* Transcript screen header */
.ps-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ps-header-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-timer { color: #4ade80; }

.ps-header-sub {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

.ps-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-join-btn {
    background: #166534;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

.ps-back-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Analysis panel */
.ps-analysis {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    flex-shrink: 0;
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.ps-analysis.expanded {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.ps-analysis-toggle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(transparent, rgba(13,17,23,0.95));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
    cursor: pointer;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 2;
}

.ps-analysis.expanded .ps-analysis-toggle {
    position: sticky;
    background: rgba(13,17,23,0.9);
    height: 24px;
    padding-bottom: 2px;
}

.ps-analysis-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ps-analysis-row.two-col {
    flex-direction: row;
    gap: 12px;
}

.ps-analysis-row.two-col > div { flex: 1; }

.ps-analysis-label {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ps-analysis-value {
    font-size: 0.7rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ps-confidence {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.5);
}

.ps-conf-bar {
    width: 36px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.ps-conf-bar span {
    display: block;
    height: 100%;
    background: #22c55e;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.ps-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ps-dot.blue   { background: #60a5fa; }
.ps-dot.orange { background: #fb923c; }
.ps-dot.purple { background: #a78bfa; }
.ps-dot.sm     { width: 5px; height: 5px; background: #60a5fa; margin-top: 4px; }

.ps-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.ps-signal {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 0.62rem;
    transition: opacity 0.5s ease;
}

.ps-sig-l { color: rgba(255,255,255,0.4); }
.ps-sig-v { color: #fff; font-weight: 500; }

/* Transcript scroll */
.ps-transcript {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.ps-msg { display: flex; flex-direction: column; gap: 2px; }

.ps-msg-meta {
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ps-msg-meta.ai     { color: #60a5fa; }
.ps-msg-meta.caller { color: #fb923c; }
.ps-msg-meta span   { color: rgba(255,255,255,0.3); }

.ps-msg-text {
    font-size: 0.7rem;
    line-height: 1.45;
}
.ps-msg-text.ai     { color: rgba(255,255,255,0.88); }
.ps-msg-text.caller { color: rgba(255,255,255,0.65); }

/* Simple screens (Message / Remind Me) */
.ps-simple-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 0;
    flex-shrink: 0;
}

.ps-back-btn-row {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ps-simple-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 0 8px;
}

.ps-check-icon {
    font-size: 2.2rem;
    color: #4ade80;
}

.ps-remind-icon { font-size: 2.2rem; }

.ps-simple-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.ps-simple-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
}

.ps-msg-bubble {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    font-style: italic;
    width: 100%;
}

.ps-remind-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.ps-remind-opt {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
}

.ps-remind-opt.active {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.3);
    color: #4ade80;
    font-weight: 600;
}

.ps-simple-note {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
}

/* Decline/Join: visual only */
.phone-action-btn {
    opacity: 0.85;
    cursor: default;
}

