:root {
    --bg: #050507;
    --card: #101013;
    --card-alt: #15151a;
    --text: #f5f5f7;
    --muted: #9a9aa6;
    --accent: #6c5ce7;
    --accent-glow: rgba(108, 92, 231, 0.25);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

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

.hero {
    position: relative;
    padding: 140px 20px 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    filter: blur(10px);
    z-index: 0;
}

.hero::before {
    top: -120px;
    left: -160px;
}

.hero::after {
    bottom: -160px;
    right: -140px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
}

.hero-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    border: 1px solid var(--border);
    margin-bottom: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    margin-bottom: 32px;
    font-weight: 600;
    font-size: 28px;
    letter-spacing: -0.08em;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 72px);
    margin: 0 0 16px;
    letter-spacing: -0.04em;
}

.hero p.lead {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--muted);
    margin: 0 auto 36px;
    max-width: 640px;
    line-height: 1.6;
}

.hero .cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-weight: 500;
    transition: 0.2s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 120px;
}

.section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
}

.section p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.card {
    background: linear-gradient(145deg, var(--card) 0%, var(--card-alt) 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: calc(var(--radius) - 12px);
    border: 1px solid rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.card p, .card li {
    color: var(--muted);
}

.card ul {
    padding-left: 18px;
    margin: 0;
    list-style: disc;
}

.stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
    margin-top: 60px;
}

.app-preview {
    border-radius: calc(var(--radius) + 10px);
    border: 1px solid var(--border);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.6));
    padding: 32px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-window {
    flex: 1;
    border-radius: calc(var(--radius) - 6px);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--muted);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
}

.preview-window::before {
    content: "";
    display: block;
    width: 60px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 18px;
}

.preview-line {
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.preview-line strong {
    color: var(--text);
    font-weight: 500;
}

.preview-image {
    width: 100%;
    border-radius: calc(var(--radius) - 10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
}

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

.shot-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shot-card img {
    width: 100%;
    border-radius: calc(var(--radius) - 8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-card span {
    color: var(--muted);
    font-size: 14px;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.faq-item + .faq-item {
    margin-top: 18px;
}

.faq-item h4 {
    margin: 0 0 8px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 36px 24px 80px;
    text-align: center;
    color: var(--muted);
}

.footer nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer nav a {
    color: var(--muted);
}

.footer nav a:hover {
    color: #fff;
}

.subpage {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 100px;
}

.subpage h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
}

.subpage p,
.subpage li {
    color: var(--muted);
    line-height: 1.8;
}

.subpage section + section {
    margin-top: 48px;
}

@media (max-width: 640px) {
    .card,
    .faq,
    .app-preview,
    .subpage {
        padding: 24px;
    }

    .hero {
        padding: 120px 16px 80px;
    }
}

/* CTA Badge Updates */
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.badge-subtext {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
    width: 100%;
}

/* Testimonial Section */
.hero-testimonial {
    /* Visual Styles */
    text-align: left;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;

    /* Layout Styles within Grid */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-testimonial .quote {
    font-size: 16px;
    color: var(--text);
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 16px;
}

.hero-testimonial .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-testimonial .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-alt); /* Placeholder color if image missing */
    object-fit: cover;
    flex-shrink: 0;
}

.hero-testimonial .author-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.hero-testimonial .author-info strong {
    color: var(--text);
    font-weight: 600;
}

.hero-testimonial .author-info span {
    color: var(--muted);
}
