/* === 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;
}

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;
}

.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;
    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;
    border-radius: 8px;
}

.store-badge-img-wide {
    height: 40px;
    width: auto;
}

/* === 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 a {
    color: #60a5fa;
}

.legal-section a:hover {
    color: #93bbfc;
    text-decoration: underline;
}

/* === Error page === */

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* === Responsive === */

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features, .about, .pricing, .cta-section {
        padding: 4rem 0;
    }
}
