:root {
    --brand: #5934fe;
    --brand-dark: #4A2FE6;
    --surface: #F3F1FF;
    --ink: #0B0E14;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    overflow-x: hidden;
    background: #FFFFFF;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

@media (max-width: 768px) {
    .page-container {
        padding: 2rem 1rem;
    }
}

.privacy-page,
.terms-page,
.contact-page {
    background-color: #FAFAFA;
}

.privacy-content,
.terms-content,
.contact-content {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
    padding: 5rem 5rem;
    margin: 4rem auto;
}

@media (max-width: 768px) {

    .privacy-content,
    .terms-content,
    .contact-content {
        padding: 2.5rem 1.5rem;
        margin: 2rem 1rem;
    }
}

.privacy-header,
.terms-header,
.contact-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #F0F0F0;
    text-align: center;
}

.privacy-header h1,
.terms-header h1,
.contact-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    margin-bottom: 0.5rem;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.last-updated {
    color: var(--ink);
    opacity: 0.6;
    font-size: 0.95rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.privacy-content h2,
.terms-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.privacy-content h3,
.terms-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
}

.privacy-content p,
.terms-content p,
.contact-content p {
    margin-bottom: 1rem;
    color: var(--ink);
    opacity: 0.85;
    line-height: 1.75;
    font-size: 1rem;
}

.privacy-content ul,
.terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 0.5rem;
    color: var(--ink);
    opacity: 0.85;
    line-height: 1.6;
    position: relative;
}

.privacy-content strong,
.terms-content strong {
    font-weight: 600;
    color: var(--ink);
    opacity: 1;
}

.privacy-content address {
    font-style: normal;
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 8px;
    border-left: 4px solid var(--brand);
    color: var(--ink);
    opacity: 0.9;
}

.privacy-content address a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.privacy-content address a:hover {
    text-decoration: underline;
}

.back-home {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #F0F0F0;
    text-align: center;
}

.back-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

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

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    opacity: 0.9;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--ink);
    background: #FAFAFA;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: rgba(89, 52, 254, 0.55);
    box-shadow: 0 0 0 4px rgba(89, 52, 254, 0.12);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.form-status {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 1.25rem;
}

.form-status[data-status="success"] {
    color: #0E7A2D;
}

.form-status[data-status="error"] {
    color: #B42318;
}

/* Header */
header {
    background: #FFFFFF;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #F5F5F5;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: #FFFFFF;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

/* Mobile nav toggle button (hidden on desktop) */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--ink);
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-nav {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-nav-secondary {
    background: #F5F5F5;
    color: var(--ink);
}

.btn-nav-secondary:hover {
    background: #E5E5E5;
}

.btn-nav-primary {
    background: var(--brand);
    color: #FFFFFF;
}

.btn-nav-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(89, 52, 254, 0.3);
}

/* Hero Section */
.hero {
    background: #FFFFFF;
    padding: 4rem 2rem 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-block;
    background: var(--brand);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.hero h1 .highlight {
    color: var(--brand);
}

.hero p {
    font-size: 1.25rem;
    color: var(--ink);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

/* App Store style */
.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #000000;
    color: #FFFFFF;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-app-store svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-app-store .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: flex-start;
}

.btn-app-store .store-label {
    font-size: 0.65rem;
    opacity: 0.85;
}

.btn-app-store .store-name {
    font-size: 0.98rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .btn-app-store .store-label {
        display: none;
    }

    .btn-app-store {
        padding: 0.5rem 0.75rem;
    }
}

.btn-primary {
    background: var(--brand);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 52, 254, 0.3);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--ink);
    border: 2px solid #E5E5E5;
}

.btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-white {
    background: #FFFFFF;
    color: var(--brand);
}

.btn-white:hover {
    background: #F5F5F5;
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-avatars {
    display: flex;
    gap: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 {
    background: #FFD700;
}

.avatar-2 {
    background: #FFA500;
}

.avatar-3 {
    background: #90EE90;
}

.trust-text {
    color: var(--ink);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.phone-screen {
    /* Keep a clean white backdrop so screenshot edges/transparency blend in */
    background: #FFFFFF;
    border-radius: 32px;
    overflow: hidden;
    height: 640px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Replace internal phone UI with a screenshot image */
.phone-screen>* {
    display: none;
    background: #FFFFFF;

}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zoom in the screenshot a bit (tweak 1.05–1.25) */
    transform: scale(1.29);
    transform-origin: center;
    /* Optional: "pan" the crop area (x% y%) */
    object-position: 50% 25%;
    display: block;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink);
    background: #FFFFFF;
    z-index: 2;
    position: relative;
}

.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.status-right {
    justify-content: flex-end;
}

.status-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.battery-icon {
    opacity: 0.7;
}

.dynamic-island {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100px;
    height: 28px;
    background: #000000;
    border-radius: 20px;
    z-index: 3;
}

/* Welcome Section */
.welcome-section {
    padding: 1.5rem 1.25rem;
    background: #FFFFFF;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border: 2px solid #E5E5E5;
}

.profile-text {
    flex: 1;
}

.greeting {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.welcome-text {
    font-size: 0.8rem;
    color: var(--ink);
    opacity: 0.6;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-pick-image {
    flex: 1;
    padding: 0.75rem;
    background: var(--brand);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-how-it-works {
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Mobile Metrics Cards */
.mobile-metrics {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.card-body-fat {
    grid-column: 1 / -1;
}

.mobile-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 90px;
    position: relative;
}

.card-icon-top-left {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: var(--brand);
    width: 20px;
    height: 20px;
}

.card-icon-top-right {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
}

.card-body-fat {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    position: relative;
}

.card-visceral-fat {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    position: relative;
}

.card-bmr {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
    position: relative;
}

.card-bone-density {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    position: relative;
}

.card-bone-density-z {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    position: relative;
}

.card-lmi {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    position: relative;
}

.card-fmi {
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
    position: relative;
}

.card-content {
    flex: 1;
    padding-top: 0.5rem;
}

.card-body-fat .card-content {
    padding-left: 1.75rem;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.7rem;
    color: var(--ink);
    opacity: 0.6;
}

.card-status {
    font-size: 0.75rem;
    color: var(--ink);
    opacity: 0.7;
    font-weight: 500;
}

.card-gauge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.gauge-svg {
    position: absolute;
    top: 0;
    left: 0;
}

.gauge-circle {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand);
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bmr-icon {
    background: #F44336;
    color: #FFFFFF;
}

.lmi-icon {
    background: #4CAF50;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
}

.bone-icon {
    width: 24px;
    height: 24px;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0;
    background: #FFFFFF;
    border-top: 1px solid #F5F5F5;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--ink);
    opacity: 0.5;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item.active {
    color: var(--brand);
    opacity: 1;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features {
    background: #F9F9F9;
    padding: 6rem 2rem;
}

.features .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink);
}

.features .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--ink);
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink);
}

.feature-card p {
    color: var(--ink);
    opacity: 0.7;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    background: #FFFFFF;
    padding: 6rem 2rem;
}

.how-it-works-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.how-it-works-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.how-it-works-content p {
    font-size: 1.1rem;
    color: var(--ink);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    color: var(--ink);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.btn-location:hover {
    background: #E8E4FF;
}

.btn-location svg {
    color: var(--brand);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    font-size: 0.9rem;
}

.security-badge svg {
    color: var(--ink);
    opacity: 0.6;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.how-it-works-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: var(--brand);
    opacity: 0.3;
}

.step {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.step-content p {
    color: var(--ink);
    opacity: 0.7;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: var(--brand);
    color: #FFFFFF;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 4rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* Footer */
footer {
    background: #FFFFFF;
    padding: 4rem 2rem 2rem;
}

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

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.footer-column p {
    color: var(--ink);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--ink);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--brand);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icon:hover {
    background: var(--brand);
}

.newsletter-subtitle {
    font-size: 0.9rem;
    color: var(--ink);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #F9F9F9;
    color: var(--ink);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand);
    background: #FFFFFF;
}

.btn-newsletter {
    padding: 0.75rem 1.5rem;
    background: var(--brand);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-newsletter:hover {
    background: var(--brand-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--ink);
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--ink);
    opacity: 0.5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .how-it-works-container {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {

    /* show mobile toggle and hide desktop nav links by default */
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #FFFFFF;
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    /* hide desktop nav buttons on small screens (handled in menu) */
    .nav-buttons {
        display: none;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
        display: block;
    }

    /* touch-friendly buttons and links */
    .btn,
    .btn-nav,
    .btn-app-store,
    .btn-newsletter,
    .nav-toggle {
        min-height: 44px;
        padding: 0.75rem 1rem;
        touch-action: manipulation;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        padding: 2rem 0;
    }

    .app-metrics {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* CTA Section (smaller on mobile) */
    .cta-section {
        padding: 2.75rem 1.25rem;
        margin: 2.5rem 1rem;
        border-radius: 16px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
}