/* CyberNexis ASM landing — asm.html */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.asm-hero {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    padding: 16px;
}

.asm-page-stack {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.asm-page-head {
    padding: 28px 16px 6px;
}

.asm-page-head .asm-logo {
    margin-left: auto;
    margin-right: auto;
}

.asm-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 28px 20px 56px;
}

#waitlist-section {
    scroll-margin-top: 96px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.asm-features-block {
    width: 100%;
}

/* Dar ekran + telefon yatay (genişlik genelde 768px üstü); sadece 768px yetmez */
@media (max-width: 1024px) {
    .asm-content .asm-features-block {
        display: none !important;
    }
}

.asm-content .asm-features-block[hidden] {
    display: none !important;
}

.asm-features-heading {
    font-size: 24px;
    color: #ff3333;
    text-align: center;
    margin: 0 0 20px;
    font-weight: bold;
}

.asm-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.asm-title {
    font-size: 42px;
    color: #ff3333;
    margin-bottom: 15px;
    font-weight: bold;
}

.asm-subtitle {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.asm-description {
    font-size: 16px;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 40px;
}

.asm-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

@media (min-width: 640px) {
    .asm-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.2);
}

.feature-icon {
    font-size: 26px;
    color: #ff3333;
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-title {
    font-size: 13px;
    color: #ff3333;
    margin-bottom: 0;
    font-weight: bold;
    line-height: 1.2;
    flex-shrink: 0;
}

.feature-description {
    color: #ccc;
    line-height: 1.35;
    font-size: 11px;
    margin: 0;
    flex-shrink: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

@media (min-width: 640px) {
    .feature-icon {
        font-size: 28px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-description {
        font-size: 11.5px;
        -webkit-line-clamp: 6;
        line-clamp: 6;
    }
}

.waitlist-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.waitlist-title {
    font-size: 32px;
    color: #ff3333;
    margin-bottom: 15px;
    text-align: left;
}

.waitlist-description {
    font-size: 16px;
    color: #ccc;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.6;
}

.waitlist-form {
    width: 100%;
}

@media (min-width: 769px) {
    #waitlist-section {
        max-width: 880px;
    }

    .waitlist-section {
        padding: 28px 32px 32px;
    }

    .waitlist-title {
        text-align: center;
    }

    .waitlist-description {
        text-align: center;
        max-width: 52rem;
        margin-left: auto;
        margin-right: auto;
    }

    .waitlist-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
        align-items: start;
    }

    .waitlist-form .form-group {
        margin-bottom: 0;
    }

    .waitlist-form .form-group--full {
        grid-column: 1 / -1;
    }

    .waitlist-form > .submit-btn {
        grid-column: 1 / -1;
        margin-top: 6px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #0d0d0d;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.submit-btn {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #cc0000, #aa0000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.4);
}

.success-message {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    display: none;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 200;
    background: rgba(255, 51, 51, 0.2);
    color: #ff3333;
    padding: 10px 20px;
    border: 1px solid #ff3333;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: min(calc(100vw - 32px), 280px);
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.back-btn:hover {
    background: #ff3333;
    color: #fff;
}

@media (max-width: 768px) {
    /*
     * Mobilde fixed geri butonu, kaydırınca tam genişlik CTA / select ile çakışıyordu.
     * Geri linki document flow'da (static) — üstte yer kaplar, hiçbir içerikle binmez.
     */
    html {
        overflow-x: hidden;
    }

    body {
        padding-top: 0;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .back-btn {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: 0.35em;
        margin-top: calc(12px + env(safe-area-inset-top, 0px));
        margin-bottom: 4px;
        margin-left: max(12px, env(safe-area-inset-left, 0px));
        margin-right: 12px;
        max-width: none;
        width: fit-content;
        z-index: auto;
        padding: 8px 14px;
        font-size: 13px;
    }

    .asm-hero {
        padding-top: 4px;
    }

    .asm-page-head {
        padding-top: 4px;
    }

    #waitlist-section {
        max-width: none;
        scroll-margin-top: calc(8px + env(safe-area-inset-top, 0px));
    }

    .asm-content {
        gap: 32px;
        padding: 16px 16px calc(40px + env(safe-area-inset-bottom, 0px));
    }

    .waitlist-form {
        display: block;
    }

    .waitlist-form .form-group {
        margin-bottom: 20px;
    }

    .waitlist-form > .submit-btn {
        margin-top: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .asm-title {
        font-size: 32px;
    }

    .asm-subtitle {
        font-size: 18px;
    }

    .waitlist-section {
        padding: 30px 20px;
    }
}

/* Pricing — kart düzeni (veri: Starter / Professional / Enterprise) */
.asm-pricing-section {
    background: #121214;
    padding: 72px 20px 96px;
    border-top: 1px solid rgba(255, 51, 51, 0.12);
}

.asm-pricing-section--in-hero {
    background: transparent;
    border-top: 1px solid rgba(255, 51, 51, 0.12);
    padding: 22px 16px 28px;
    margin: 0;
}

.asm-pricing-section--in-hero .asm-pricing-heading {
    font-size: 26px;
    margin-bottom: 8px;
}

.asm-pricing-section--in-hero .asm-pricing-lead {
    font-size: 14px;
    margin-bottom: 18px;
}

.asm-pricing-section--in-hero .pricing-billing-toggle {
    margin-bottom: 22px;
}

.asm-pricing-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.asm-pricing-heading {
    font-size: 32px;
    color: #ff3333;
    margin: 0 0 12px;
    font-weight: bold;
    text-align: center;
}

.asm-pricing-lead {
    text-align: center;
    color: #9a9a9e;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.pricing-billing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.pricing-billing-toggle-inner {
    display: inline-flex;
    align-items: stretch;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 2px;
}

.pricing-bill-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.pricing-bill-btn:hover {
    color: #fff;
}

.pricing-bill-btn.is-active {
    background: #e8e8ea;
    color: #121214;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 28px 24px 32px;
    background: #1c1c1f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 51, 0.25);
}

.pricing-card--featured {
    background: linear-gradient(165deg, #2a2528 0%, #1f1c20 45%, #1c1c1f 100%);
    border-color: rgba(255, 51, 51, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 51, 51, 0.12),
        0 24px 48px rgba(255, 51, 51, 0.12),
        0 48px 80px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.pricing-card--featured::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40%;
    transform: translateX(-50%);
    width: 120%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(255, 51, 51, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-card--featured > * {
    position: relative;
    z-index: 1;
}

.pricing-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

.pricing-price-box {
    border-radius: 14px;
    padding: 20px 18px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card--featured .pricing-price-box {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.pricing-price-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pricing-price-main--text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pricing-card--featured .pricing-price-main {
    color: #fff;
}

.pricing-price-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.pricing-card--featured .pricing-price-note {
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card--featured .pricing-cta--light {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    color: #fff;
}

.pricing-card--featured .pricing-cta--light:hover {
    background: linear-gradient(45deg, #cc0000, #aa0000);
    box-shadow: 0 8px 24px rgba(255, 51, 51, 0.35);
}

.pricing-card:focus-visible {
    outline: 2px solid rgba(255, 51, 51, 0.85);
    outline-offset: 2px;
}

.pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pricing-cta--light {
    background: #f4f4f5;
    color: #121214;
}

.pricing-cta--light:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pricing-cta--accent {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    color: #fff;
}

.pricing-cta--accent:hover {
    background: linear-gradient(45deg, #cc0000, #aa0000);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 51, 51, 0.35);
}

.pricing-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pricing-feature {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    justify-items: start;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
}

.pricing-feature:last-child {
    margin-bottom: 0;
}

.pricing-feature > span {
    display: block;
    min-width: 0;
    overflow-wrap: break-word;
    text-align: left;
}

.pricing-feature i {
    margin-top: 2px;
    text-align: center;
    justify-self: center;
    width: 18px;
}

.pricing-feature .fa-check {
    color: #fff;
}

.pricing-feature .fa-xmark {
    color: rgba(255, 255, 255, 0.28);
}

.pricing-feature--highlight {
    color: #ff6b6b;
}

.pricing-feature--highlight .fa-check {
    color: #ff3333;
}

.pricing-feature-paren {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 0.92em;
}

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card--featured {
        order: -1;
    }
}
