* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    line-height: 1.6;
}

a {
    color: #0f766e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.header-inner {
    min-height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    height: 58px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    position: relative;
}

.main-nav a:hover {
    color: #14b8a6;
    text-decoration: none;
}

.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 3px;
    border-radius: 999px;
    background: #14b8a6;
}

.mobile-nav-toggle {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Buttons */
.btn,
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.btn-primary,
.nav-btn {
    background: #14b8a6;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(20, 184, 166, 0.24);
}

.btn-primary:hover,
.nav-btn:hover {
    background: #0f766e;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

/* Main */
.site-main {
    padding: 36px 0 48px;
}

/* Hero */
.hero-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 44px;
    margin-bottom: 30px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #14b8a6;
}

.hero-title {
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #0f172a;
}

.hero-text {
    margin: 0 0 28px;
    max-width: 680px;
    font-size: 19px;
    line-height: 1.7;
    color: #475569;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Setup complete page buttons */
.hero-actions.setup-actions {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-actions.setup-actions .btn,
.hero-actions.setup-actions .btn-primary,
.hero-actions.setup-actions .btn-outline {
    background: #14b8a6 !important;
    color: #ffffff !important;
    border: 1px solid #14b8a6 !important;
    text-decoration: none !important;
}

.hero-actions.setup-actions .btn:hover,
.hero-actions.setup-actions .btn-primary:hover,
.hero-actions.setup-actions .btn-outline:hover {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Demo card */
.sales-demo-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.sales-demo-top {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.sales-demo-stat {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.sales-demo-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.sales-demo-number {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}

.sales-stars {
    color: #fbbf24;
    font-size: 18px;
    letter-spacing: 2px;
}

.sales-demo-review {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    margin-top: 10px;
}

.sales-demo-review strong {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
    font-size: 16px;
}

.sales-demo-review span {
    color: #64748b;
    font-size: 14px;
}

/* Sections */
.sales-section {
    margin-bottom: 30px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #14b8a6;
}

.section-title {
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #0f172a;
}

.section-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
}

/* Feature grid */
.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfeff;
    color: #0f766e;
    font-size: 24px;
    margin-bottom: 18px;
}

.feature-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
}

.feature-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
}

/* How it works */
.how-it-works-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #14b8a6;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.step-title {
    margin: 0 0 10px;
    font-size: 22px;
    color: #0f172a;
}

.step-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
}

/* CTA */
.home-cta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
}

.cta-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    color: #ffffff;
}

.cta-text {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

/* Footer */
.site-footer {
    padding: 28px 0;
    margin-top: 36px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    text-align: center;
    color: #64748b;
}

.sales-footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.sales-footer-links a {
    color: #475569;
    font-weight: 600;
}

/* REGISTER / ONBOARDING */

.register-main {
    padding-top: 70px;
    padding-bottom: 70px;
}

.register-page-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.register-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 44px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.register-intro {
    margin-bottom: 30px;
}

.page-title {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #0f172a;
}

.helper-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
}

.register-form {
    margin-top: 24px;
}

.register-form .grid {
    display: grid;
    gap: 18px;
}

.register-form .grid-2 {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.register-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.register-form input,
.register-form select,
.register-form textarea {
    width: 100%;
    display: block;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 16px;
    background: #ffffff;
    transition: 0.2s ease;
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.register-submit {
    width: 100%;
    margin-top: 12px;
    min-height: 58px;
    font-size: 16px;
    font-weight: 800;
}

.register-legal-text {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.register-legal-text a {
    font-weight: 700;
}

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-weight: 600;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Threshold page */

.threshold-preview-card {
    background: linear-gradient(135deg, #ecfeff 0%, #f8fafc 100%);
    border: 1px solid #99f6e4;
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 28px;
}

.threshold-preview-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f766e;
    margin-bottom: 10px;
}

.threshold-preview-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.threshold-preview-text {
    color: #475569;
    font-size: 16px;
}

.threshold-selector {
    display: grid;
    gap: 16px;
}

.threshold-option input {
    display: none;
}

.threshold-box {
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
    background: #ffffff;
    transition: 0.2s ease;
    cursor: pointer;
}

.threshold-option input:checked + .threshold-box {
    border-color: #14b8a6;
    background: #f0fdfa;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.threshold-box:hover {
    border-color: #14b8a6;
}

.threshold-stars {
    font-size: 28px;
    color: #fbbf24;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.threshold-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.threshold-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* Screenshot showcase */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.screenshot-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    min-height: 100%;
}

.screenshot-media {
    height: 390px;
    margin-bottom: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #ecfeff 100%);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
}

.screenshot-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.screenshot-card .feature-title {
    margin-top: 0;
}

/* Pricing showcase */
.pricing-showcase {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.pricing-heading {
    max-width: 900px;
}

.pricing-showcase-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.pricing-card-main,
.pricing-card-side {
    border-radius: 28px;
    overflow: hidden;
}

.pricing-card-main {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    padding: 32px;
}

.pricing-pill {
    display: table;
    margin: 0 auto 30px;
    padding: 10px 24px;
    border: 1px solid #14b8a6;
    border-radius: 999px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 32px;
}

.pricing-label {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    text-align: center;
}

.pricing-price {
    font-size: 70px;
    line-height: 1;
    font-weight: 900;
    color: #0f766e;
    letter-spacing: -3px;
    text-align: center;
}

.pricing-price span {
    font-size: 20px;
    color: #0f172a;
    letter-spacing: 0;
}

.pricing-vat {
    margin-top: 12px;
    text-align: center;
    color: #0f766e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-divider {
    width: 1px;
    height: 120px;
    background: #cbd5e1;
}

.pricing-included-title {
    margin: 0 0 18px;
    font-size: 24px;
    color: #0f172a;
}

.pricing-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.pricing-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.pricing-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-feature-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.pricing-feature-item span {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.pricing-big-button {
    width: 100%;
    min-height: 64px;
    border-radius: 14px;
    background: #0f766e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.pricing-big-button:hover {
    background: #14b8a6;
    color: #ffffff;
    text-decoration: none;
}

.pricing-cancel {
    text-align: center;
    margin-top: 16px;
    color: #475569;
    font-weight: 700;
}

/* Right pricing card */
.pricing-card-side {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: grid;
    grid-template-rows: 1fr auto auto;
    min-height: 100%;
}

.pricing-side-top {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
    padding: 34px;
    position: relative;
    overflow: hidden !important;
}

.pricing-side-top::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    background: rgba(20, 184, 166, 0.28);
    border-radius: 999px;
}

.pricing-side-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.pricing-card-side h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.pricing-card-side p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 17px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.pricing-example-panel {
    background: #ffffff;
    color: #0f172a;
    padding: 30px 34px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-example-panel span {
    display: block;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.pricing-example-panel strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-example-panel div {
    color: #0f766e;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
}

.pricing-example-panel small {
    color: #0f172a;
    font-size: 18px;
}

.pricing-example-panel em {
    display: block;
    color: #0f766e;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 8px;
}

.pricing-side-note {
    margin: 0;
    padding: 24px 34px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    line-height: 1.5;
}

/* Fix pricing house image */
.pricing-side-house {
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    display: block !important;
    margin: 30px auto -34px !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Tablet */
@media (max-width: 1024px) {

    .hero-panel {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .hero-title,
    .page-title {
        font-size: 42px;
    }

    .home-feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-media {
        height: auto;
        min-height: 320px;
    }

    .screenshot-media img {
        width: 100%;
        height: auto;
    }

    .pricing-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 900px) {

    body.nav-open {
        overflow: hidden;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid #d1d5db;
        background: #ffffff;
        font-weight: 700;
        cursor: pointer;
        position: relative;
        z-index: 401;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: 0.2s ease;
        z-index: 350;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 90px 20px 40px;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12);
        transition: right 0.25s ease;
        z-index: 400;
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-right > .nav-btn {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 760px) {
    .pricing-showcase {
        padding: 24px;
        border-radius: 24px;
    }

    .pricing-card-main {
        padding: 24px;
    }

    .pricing-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-divider {
        width: 100%;
        height: 1px;
    }

    .pricing-feature-grid {
        grid-template-columns: 1fr;
    }

    .pricing-price {
        font-size: 56px;
    }

    .pricing-big-button {
        font-size: 18px;
    }

    .pricing-side-top,
    .pricing-example-panel,
    .pricing-side-note {
        padding: 24px;
    }

    .pricing-side-house {
        max-width: 260px !important;
        margin: 24px auto -24px !important;
    }
}

@media (max-width: 640px) {

    .container {
        padding: 0 16px;
    }

    .header-inner {
        min-height: 80px;
    }

    .logo {
        height: 48px;
    }

    .hero-panel,
    .register-card {
        padding: 24px;
        border-radius: 22px;
    }

    .hero-title,
    .page-title {
        font-size: 34px;
    }

    .hero-text,
    .helper-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions.setup-actions {
        align-items: stretch;
    }

    .hero-actions.setup-actions .btn {
        width: 100%;
    }

    .sales-demo-top {
        flex-direction: column;
    }

    .how-it-works-section {
        padding: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .sales-price {
        font-size: 48px;
    }

    .cta-title {
        font-size: 28px;
    }

    .register-form .grid-2 {
        grid-template-columns: 1fr;
    }

    .register-main {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .threshold-preview-title {
        font-size: 26px;
    }

    .threshold-title {
        font-size: 20px;
    }

    .threshold-stars {
        font-size: 24px;
    }

    .screenshot-card {
        padding: 18px;
    }

    .screenshot-media {
        min-height: 220px;
        padding: 12px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .screenshot-media img {
        border-radius: 12px;
    }
}