/* === SignalButton Landing Page === */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0e27;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    outline: none;
}

a {
    color: #60a5fa;
    transition: color 0.2s;
}

a:hover {
    color: #93bbfc;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Hero === */

.hero {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(96, 165, 250, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 2rem;
    background: rgba(96, 165, 250, 0.08);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    outline: none;
}

.hero-title:focus,
.hero-title:focus-visible {
    outline: none;
    box-shadow: none;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-stores {
    margin-top: 3rem;
}

.hero-stores-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.store-icon {
    font-size: 1.2rem;
}

.hero-logo {
    max-width: 180px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.store-badge-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.store-badge-img {
    height: 40px;
    width: auto;
    }

.store-badge-img-wide {
    height: 40px;
    width: auto;
}

.badge-coming-soon {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* === Sections === */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === Features === */

.features {
    padding: 6rem 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(15, 20, 50, 1) 30%, rgba(15, 20, 50, 1) 70%, rgba(10, 14, 39, 0) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* === About / Steps === */

.about {
    padding: 6rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* === Pricing === */

.pricing {
    padding: 6rem 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(15, 20, 50, 1) 30%, rgba(15, 20, 50, 1) 70%, rgba(10, 14, 39, 0) 100%);
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.pricing-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 2rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-value {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.pricing-cents {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* === CTA Section === */

.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin: 0 auto;
}

/* === Legal Pages === */

.legal-page {
    padding: 8rem 0 4rem;
}

.legal-container {
    max-width: 800px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.legal-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section li {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.legal-section h1, h2, h3, h4, h5, h6 {
    outline: none;
}

a {
    color: #60a5fa;
}

.legal-section a:hover {
    color: #93bbfc;
    text-decoration: underline;
}

/* === Content Pages (Solutions / Blog) === */

.content-page {
    padding: 8rem 0 4rem;
}

.content-container {
    max-width: 800px;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.content-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.content-section ul, .content-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.content-section a:hover {
    color: #93bbfc;
    text-decoration: underline;
}

.content-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px;
    text-align: center;
}

.content-cta h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.content-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.content-highlight {
    background: rgba(96, 165, 250, 0.06);
    border-left: 3px solid #60a5fa;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.content-highlight p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/* === Blog === */

.blog-index {
    padding: 8rem 0 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.3);
}

.blog-card-tag {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h3 a:hover {
    color: #60a5fa;
}

.blog-card-excerpt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.blog-post {
    padding: 8rem 0 4rem;
}

.blog-post-container {
    max-width: 800px;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.blog-post-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.blog-post-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post-body p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-post-body ul, .blog-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post-body li {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.blog-post-body blockquote {
    background: rgba(96, 165, 250, 0.06);
    border-left: 3px solid #60a5fa;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.blog-post-body blockquote p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    font-style: italic;
}

.blog-post-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px;
    text-align: center;
}

.blog-post-cta h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.blog-post-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.blog-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-related h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-title {
        font-size: 1.8rem;
    }
}

/* === Error page === */

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}


/* === App Screenshots === */

.screenshots {
    padding: 5rem 0;
}

/* === Carousel Custom Overrides (over Bootstrap defaults) === */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(96, 165, 250, 0.4);
    border-radius: 50%;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(96, 165, 250, 0.5);
    border: none;
    opacity: 0.4;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #60a5fa;
}

#screenshotCarousel {
    max-width: 400px;
    margin: 2.5rem auto 0;
}

.screenshot-slide {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.screenshot-slide img {
    display: block;
    max-height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: 20px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Responsive === */

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 4rem;
    }

    #screenshotCarousel {
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features, .about, .pricing, .cta-section {
        padding: 4rem 0;
    }
}
