﻿/* --- Components --- */

/* --- Benefit Cards --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all .2s ease;
}
.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), 0 0 0 3px var(--primary-light);
    transform: translateY(-3px);
}
.benefit-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.icon-blue { background: var(--primary-light); color: var(--primary); }
.icon-orange { background: var(--accent-light); color: var(--accent); }
.icon-green { background: var(--green-light); color: var(--green); }
.icon-purple { background: #F3F0FF; color: #7C3AED; }
.icon-teal { background: #F0FDFA; color: #0D9488; }
.icon-pink { background: #FFF1F2; color: #E11D48; }

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.benefit-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* --- How it works --- */

.how-section { background: var(--gray-50); }
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}
.how-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: var(--gray-200);
    background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}
.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}
.how-number {
    width: 80px; height: 80px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 0 0 6px var(--primary-light);
}
.how-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.how-step p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* --- Feature Showcase --- */

/* --- Feature Showcase --- */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 72px;
}
.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.feature-showcase-visual {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid #000;
    box-shadow: 0 16px 56px rgba(15,23,42,.28);
    aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--gray-400);
    font-size: 14px;
}
.feature-showcase-visual svg { width: 40px; height: 40px; }
.feature-showcase-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-showcase-visual.is-illustration { aspect-ratio: 16/10; overflow: hidden; }
.feature-showcase-visual.is-illustration svg { width: 100%; height: 100%; display: block; }

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}
.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.feature-check {
    width: 22px; height: 22px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-check svg { width: 12px; height: 12px; color: var(--green); }
.feature-list-item strong { display: block; font-weight: 600; color: var(--dark); font-size: 15px; margin-bottom: 2px; }
.feature-list-item span { font-size: 14px; color: var(--gray-600); }

/* --- Features Grid (full) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all .2s;
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm), 0 0 0 3px var(--primary-light);
    transform: translateY(-2px);
}
.feature-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.feature-card-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}


/* --- Use Cases / Industries --- */
.industries-section { background: var(--gray-50); }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all .2s;
    cursor: default;
}
.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.industry-emoji {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}
.industry-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.industry-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 16px;
}
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary);
}

/* --- Screenshot Section --- */

/* --- Screenshot Section --- */
.screenshot-section { background: var(--dark); padding: 96px 0; }
.screenshot-section .section-title { color: var(--white); }
.screenshot-section .section-subtitle { color: rgba(255,255,255,.6); }
.screenshot-section .section-label { color: #60A5FA; }
.screenshot-section .section-label::before { background: #60A5FA; }
.screenshots-tabs {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.screenshot-tab {
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65);
    cursor: pointer;
    transition: all .15s;
}
.screenshot-tab:hover, .screenshot-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.screenshot-display {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.screenshot-bar {
    background: rgba(255,255,255,.05);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.sbar-dot { width: 11px; height: 11px; border-radius: 50%; }
.sbar-dot.red { background: #FF5F57; }
.sbar-dot.yellow { background: #FFBD2E; }
.sbar-dot.green { background: #28CA41; }
.sbar-url {
    flex: 1;
    height: 26px;
    background: rgba(255,255,255,.07);
    border-radius: 6px;
    margin: 0 12px;
    display: flex; align-items: center; padding: 0 10px;
    font-size: 12px;
    color: rgba(255,255,255,.3);
}
.screenshot-area {
    aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 16px;
    min-height: 320px;
    color: rgba(255,255,255,.3);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.screenshot-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}
.screenshot-area svg { width: 48px; height: 48px; }

/* --- Reseller Banner --- */

/* --- Reseller Banner --- */
.reseller-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    border-radius: var(--radius-xl);
    padding: 64px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
    margin: 0 24px;
}
.reseller-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
}
.reseller-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 40%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.reseller-banner-content { position: relative; z-index: 1; }
.reseller-banner h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.reseller-banner p {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    max-width: 480px;
    line-height: 1.65;
}
.reseller-banner-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}


/* --- Pricing Cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: start;
}
.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all .2s;
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--primary-light);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-tier {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 8px;
}
.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.pricing-card .pricing-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-200);
}
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}
.pricing-feature svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* --- Contact Form --- */

/* --- Contact Form --- */
.contact-section { background: var(--gray-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    margin-top: 56px;
}
.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.contact-info p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-item-icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-item-label { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.contact-item-value { font-size: 15px; color: var(--dark); font-weight: 600; }
.contact-item-value a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}
.contact-item-value a:hover { color: var(--primary); }

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    font-family: var(--font);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.form-check input[type=checkbox] {
    width: 17px; height: 17px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.form-check label {
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1.5;
}
.form-check label a { color: var(--primary); text-decoration: underline; }

/* --- Page Hero (inner pages) --- */

/* --- Reseller Page --- */
.reseller-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.reseller-benefit {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all .2s;
}
.reseller-benefit:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.reseller-benefit-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reseller-benefit-icon svg { width: 24px; height: 24px; }
.reseller-benefit h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.reseller-benefit p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.comparison-table th {
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
}
.comparison-table th:first-child {
    text-align: left;
    background: var(--dark);
    border-radius: var(--radius) 0 0 0;
}
.comparison-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--dark); }
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table tr:hover td { background: var(--primary-light); }
.check-yes { color: var(--green); font-size: 18px; }
.check-no { color: var(--gray-300); font-size: 18px; }
.check-text { font-size: 13px; font-weight: 600; color: var(--primary); }

/* --- Notification / Alert --- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.alert-success { background: var(--green-light); color: #15803D; border: 1px solid #BBF7D0; }
.alert-info { background: var(--primary-light); color: #1D4ED8; border: 1px solid #BFDBFE; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

/* --- Footer --- */

/* --- Lightbox / Screenshot Modal --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    cursor: zoom-out;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 80px rgba(0,0,0,.4);
    transform: scale(.92);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
    cursor: default;
}
.lightbox.open img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,.25);
}

/* Full-width section screenshot placeholder */
.section-screenshot {
    margin-top: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 2px solid #000;
    box-shadow: 0 16px 56px rgba(15,23,42,.28);
    aspect-ratio: 16/7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--gray-400);
    font-size: 14px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}
.section-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.section-screenshot svg { width: 48px; height: 48px; opacity: .4; }
.section-screenshot[data-lightbox] { cursor: zoom-in; transition: box-shadow .2s ease, transform .2s ease; }
.section-screenshot[data-lightbox]:hover { box-shadow: 0 8px 32px rgba(26,108,244,.18); transform: translateY(-2px); }

/* Clickable screenshot indicators */
.feature-showcase-visual[data-lightbox],
.screenshot-area[data-lightbox],
.hero-screenshot-placeholder[data-lightbox] {
    cursor: zoom-in;
    transition: box-shadow .2s ease, transform .2s ease;
}
.feature-showcase-visual[data-lightbox]:hover,
.screenshot-area[data-lightbox]:hover {
    box-shadow: 0 8px 32px rgba(26, 108, 244, .18);
    transform: translateY(-2px);
}

/* ── SVG Illustration Tooltip ───────────────────────────────────────────────── */
.svg-tooltip {
    position: relative;
}
.svg-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(15, 23, 42, .88);
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    z-index: 10;
}
.svg-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Contact form validation --- */
.input-error { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; }
.field-error { color: #BE123C; font-size: 13px; margin-top: 4px; }

