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

html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.heading,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.section-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

h1, .hero h1 {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.section-label {
    font-family: 'Inter', sans-serif;
}

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

a {
    color: #7c3aed;
    text-decoration: none;
}

a:hover {
    color: #9333ea;
}

/* Stars canvas */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Content overlay on top of stars */
.content {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Banner */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.topbar-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.topbar-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a0a0f;
}

.btn-topbar {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.3rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    background: #0a0a0f;
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-topbar:hover {
    background: #1a1a1a;
}

@media (max-width: 700px) {
    .topbar-text {
        display: none;
    }
    .topbar-logo {
        height: 32px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: white;
    color: #0a0a0f;
    border: 1px solid rgba(0,0,0,0.08);
    min-width: 180px;
}

.btn-primary:hover {
    background: #f0f0f0;
}

/* (btn-report and btn-outline removed) */

/* Section base */
.section {
    padding: 5rem 0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Topbar logo link */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
}

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

.hero h1 em {
    font-style: normal;
    color: rgba(255,255,255,0.55);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    flex: 1;
    min-width: 180px;
    justify-content: center;
    text-align: center;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.scroll-indicator:hover {
    color: rgba(255,255,255,0.7);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* Phone number in hero (inline) */
.hero p .phone-inline {
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.hero p .phone-inline:hover {
    color: #7c3aed;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s;
}

.service-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-icon {
    width: 100%;
    padding: 0.75rem 0;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Showcase / What I've Built */
.showcase {
    text-align: center;
}

.showcase .section-title {
    text-align: center;
}

.showcase .section-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.collage-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.collage-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Story */
.story {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    width: 100%;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.08);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: white;
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

.story p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact section */
.contact {
    text-align: center;
    padding: 5rem 0;
}

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: white;
}

.contact p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.contact-number:hover {
    color: #7c3aed;
}

.contact-hint {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.contact-hint a {
    color: white;
    font-weight: 600;
}

.contact-hint a:hover {
    color: #7c3aed;
}

/* Form page specific */
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.form-page .container {
    max-width: 560px;
}

.form-page h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-align: center;
    color: white;
}

.form-page .form-intro {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.form-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: white;
    background: rgba(255,255,255,0.06);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    background: rgba(255,255,255,0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

.hint {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.35rem;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.3);
}

.success-state {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-state.show {
    display: block;
}

.success-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.success-state p {
    color: rgba(255,255,255,0.6);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 0.85rem;
}

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

footer a:hover {
    color: white;
}

footer img {
    display: inline;
    vertical-align: middle;
}

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

    .hero-image {
        aspect-ratio: 16 / 10;
        max-height: 400px;
    }

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

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

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

    .contact-number {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.7rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .phone-number {
        font-size: 1.3rem;
    }

    .nav-links .btn {
        display: none;
    }

    .logo-img {
        height: 48px;
    }
}

/* Report preview on assessment page */
.report-preview {
    padding: 5rem 0;
}

.report-preview h2 {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

.preview-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

.preview-score {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    flex-shrink: 0;
}

.preview-score-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Noto Serif', Georgia, serif;
    color: white;
    line-height: 1;
}

.preview-score-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.35);
}

.preview-business-name {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.preview-business-location {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.preview-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

.preview-cat-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cat-dot.pass { background: #22c55e; }
.cat-dot.warn { background: #eab308; }
.cat-dot.fail { background: #ef4444; }

.preview-cat-name {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.preview-cat-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.preview-cat-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.preview-cat-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #6366f1);
    border-radius: 2px;
}

.preview-checks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

.preview-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.check-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.check-mark.pass { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.check-mark.fail { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.check-mark.warn { background: rgba(234, 179, 8, 0.12); color: #eab308; }

.preview-check-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.preview-check-detail {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}

.preview-priority {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

.preview-priority-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.priority-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.priority-badge.high {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.priority-badge.med {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
}

.preview-footer {
    text-align: center;
}

.preview-footer .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
}
