/* ═══════════════════════════════════════════════════════
   WEBDEV.CSS — Ghosxt Web Development Page
   Follows the --ghosxt- design system from main.css
   ═══════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────── */
.webdev-hero-section {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--ghosxt-white);
}

.webdev-hero-container {
    padding: 5rem 0;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.webdev-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.webdev-hero-badge {
    background: var(--ghosxt-white);
    display: flex;
    border: 1px solid var(--ghosxt-black);
    width: fit-content;
}

.webdev-hero-badge .badge-container {
    display: flex;
    gap: 5px;
    padding: .375rem;
    align-items: center;
}

.webdev-hero-badge .badge-lines:first-child { border-right: 1px solid var(--ghosxt-black); }
.webdev-hero-badge .badge-lines:last-child  { border-left: 1px solid var(--ghosxt-black); }

.webdev-hero-badge .badge-line {
    margin-top: 3px;
    height: 1px;
    width: 10px;
    border-bottom: 1px solid var(--ghosxt-black);
}

.webdev-hero-badge-text {
    color: var(--ghosxt-black);
    font-size: 1rem;
    font-family: var(--font-family-2);
}

.webdev-hero-badge i {
    display: flex;
    align-items: center;
    color: var(--ghosxt-black);
}

.webdev-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ghosxt-red-0);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.webdev-hero-title .title-black {
    color: var(--ghosxt-black);
}

.webdev-hero-subtitle {
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.75;
}

.webdev-hero-cta-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.webdev-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ghosxt-red-0);
    color: var(--ghosxt-white);
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--ghosxt-black);
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 100;
}

.webdev-hero-btn-primary:hover {
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.3);
    transform: translateY(-2px);
    color: var(--ghosxt-white);
}

.webdev-hero-btn-primary i { display: flex; font-size: 1rem; }

.webdev-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--ghosxt-black);
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.webdev-hero-btn-secondary:hover { opacity: 0.6; color: var(--ghosxt-black); }
.webdev-hero-btn-secondary i { display: flex; font-size: 0.9rem; }

/* Right stat cluster */
.webdev-hero-right {
    display: flex;
    justify-content: center;
}

.webdev-stat-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 440px;
}

.webdev-stat-card {
    background: var(--ghosxt-white);
    border: 1px solid var(--ghosxt-black);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-main {
    grid-column: span 2;
    background: var(--ghosxt-black);
    color: var(--ghosxt-white);
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.stat-main-img {
    grid-column: span 2;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.stat-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.stat-main-img:hover img {
    transform: scale(1.03);
}

.stat-wide {
    grid-column: span 2;
}

.stat-label {
    font-family: var(--font-family-2);
    font-size: 0.8rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-main .stat-label { color: var(--ghosxt-white); opacity: 0.7; }

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ghosxt-red-0);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-sub {
    font-family: var(--font-family-2);
    font-size: 0.85rem;
    color: var(--ghosxt-white);
    opacity: 0.75;
}

.stat-value-sm {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    line-height: 1.1;
}

.stat-value-sm span {
    font-size: 0.8rem;
    font-family: var(--font-family-2);
    font-weight: 400;
    opacity: 0.6;
}

.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px dashed var(--ghosxt-black);
    border-radius: 20px;
    padding: 0.25rem 0.625rem;
    font-size: 0.78rem;
    font-family: var(--font-family-2);
    font-weight: 600;
    color: var(--ghosxt-black);
    white-space: nowrap;
}

.stat-pill i { display: flex; font-size: 0.75rem; }

/* ── PORTFOLIO SECTION ─────────────────────────────────── */
.portfolio-section {
    padding: 0 24px;
    display: flex;
    justify-content: center;
    background: var(--ghosxt-white);
}

.portfolio-outer {
    padding: 5rem 0;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.portfolio-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
}

.portfolio-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--ghosxt-red-0);
    line-height: 1.2;
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    opacity: 0.75;
    line-height: 1.6;
    max-width: 600px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--ghosxt-white);
    border: 1px solid var(--ghosxt-black);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.08);
}

.portfolio-card-image {
    aspect-ratio: 1 / 1;
    background-image:
        linear-gradient(rgba(0,0,0,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--ghosxt-black);
    font-size: 3rem;
    color: var(--ghosxt-red-0);
    overflow: hidden;
    position: relative;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-card-content {
    padding: 1.5rem;
}

.portfolio-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    margin-bottom: 0.5rem;
}

.portfolio-card-desc {
    font-size: 0.9rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.portfolio-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.portfolio-card-tech span {
    background: var(--ghosxt-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-family-2);
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
}

.portfolio-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ghosxt-red-0);
    color: var(--ghosxt-white);
    text-decoration: none;
    font-family: var(--font-family-2);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    border: 1px solid var(--ghosxt-black);
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.portfolio-card-btn i {
    display: flex;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.portfolio-card-btn:hover {
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.portfolio-card-btn:hover i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
    CALCULATOR SECTION
   ═══════════════════════════════════════════════════════════ */

.calc-web-section {
    padding: 0 24px;
    display: flex;
    justify-content: center;
    background: var(--ghosxt-white);
}

.calc-web-outer {
    padding: 5rem 0;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.calc-web-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
}

.calc-web-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ghosxt-red-0);
    line-height: 1.1;
}

.ipad-home-bar.calc-web-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ghosxt-red-0);
    line-height: 1.1;
}

.calc-web-subtitle {
    font-size: 1.1rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    opacity: 0.75;
    line-height: 1.6;
    max-width: 600px;
}

/* ── iPAD FRAME ─────────────────────────────────────────── */
.ipad-frame-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.ipad-frame {
    position: relative;
    width: 100%;
    max-width: 1300px;
    border: 1.5px solid var(--ghosxt-black);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}

/* ── SIDE BUTTONS ────────────────────────────────────────── */
.ipad-side-btn {
    position: absolute;
    background: var(--ghosxt-black);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.ipad-side-btn.power {
    right: -3px;
    top: 70px;
    width: 3px;
    height: 36px;
    border-radius: 0 2px 2px 0;
}

.ipad-side-btn.vol-up {
    left: -3px;
    top: 55px;
    width: 3px;
    height: 26px;
    border-radius: 2px 0 0 2px;
}

.ipad-side-btn.vol-down {
    left: -3px;
    top: 88px;
    width: 3px;
    height: 26px;
    border-radius: 2px 0 0 2px;
}

/* ── TOP BEZEL ───────────────────────────────────────────── */
.ipad-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1.25rem 0.65rem 1.5rem;
    background: var(--ghosxt-black);
    border-bottom: 1px solid var(--ghosxt-black);
    position: relative;
    z-index: 4;
}

.ipad-top-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ipad-brand {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ghosxt-white);
    font-family: var(--font-family-2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ipad-status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ipad-status-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ghosxt-white);
    letter-spacing: 0.04em;
    font-family: var(--font-family-2);
}

.ipad-status-icons svg {
    width: 13px;
    height: 13px;
    fill: var(--ghosxt-white);
}

/* ── SCREEN ──────────────────────────────────────────────── */
.ipad-screen {
    position: relative;
}

/* ── URL BAR ─────────────────────────────────────────────── */
.ipad-url-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: var(--ghosxt-white);
    border-bottom: 1px solid var(--ghosxt-black);
    position: sticky;
    top: 0;
    z-index: 10;
}

.ipad-url-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ipad-url-dot:nth-child(1),
.ipad-url-dot:nth-child(2),
.ipad-url-dot:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, var(--ghosxt-red-0), var(--ghosxt-red-2));
    border-color: var(--ghosxt-red-2);
}


.ipad-url-text {
    flex: 1;
    height: 22px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    background: var(--ghosxt-gray);
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 0.68rem;
    font-family: var(--font-family-2);
    color: var(--ghosxt-black);
    opacity: 0.5;
    letter-spacing: 0.01em;
    user-select: none;
}

/* ── CONTENT AREA (no scroll) ────────────────────────────── */
.ipad-content-area {
    padding: 26px 16px;
}

/* ── HOME BAR ────────────────────────────────────────────── */
.ipad-home-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    background: var(--ghosxt-white);
    border-top: 1px solid var(--ghosxt-black);
}

.ipad-home-bar-pill {
    width: 100px;
    height: 4px;
    background: var(--ghosxt-black);
    border-radius: 10px;
    opacity: 0.2;
}

/* ── CALCULATOR BODY ─────────────────────────────────────── */
.calc-web-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.calc-web-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── CARDS ───────────────────────────────────────────────── */
.calc-web-card {
    background: var(--ghosxt-white);
    border: 1px solid var(--ghosxt-black);
    border-radius: 8px;
    overflow: hidden;
}

.calc-web-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.875rem;
    border-bottom: 1px dashed var(--ghosxt-black);
    background: var(--ghosxt-white);
}

.calc-web-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.calc-web-card-title i {
    display: flex;
    font-size: 0.75rem;
    color: var(--ghosxt-red-0);
}

/* ── PROJECT SELECTOR ────────────────────────────────────── */
.project-selector {
    padding: 0.5rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-option {
    display: flex;
    cursor: pointer;
}

.project-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.project-option-inner {
    width: 100%;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-option input:checked ~ .project-option-inner {
    background: var(--ghosxt-red-0);
}

.project-option input:checked ~ .project-option-inner em { color: var(--ghosxt-white); }

.project-option input:checked ~ .project-option-inner .project-option-name,
.project-option input:checked ~ .project-option-inner .project-option-price,
.project-option input:checked ~ .project-option-inner .project-option-desc {
    color: var(--ghosxt-white);
}

.project-option-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-check {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.55rem;
    background: var(--ghosxt-white);
    color: transparent;
    transition: all 0.15s ease;
}

.project-check i {display: flex;}

.project-option input:checked ~ .project-option-inner .project-check {
    background: var(--ghosxt-black);
    color: var(--ghosxt-white);
}

.project-option-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex: 1;
    gap: 6px;
    flex-wrap: wrap;
}

.project-option-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-popular-badge {
    font-size: 0.55rem;
    font-weight: 700;
    background: var(--ghosxt-black);
    color: var(--ghosxt-white);
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-option-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ghosxt-black);
}

.project-option-price em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 400;
    font-family: var(--font-family-2);
    color: var(--ghosxt-black);
    opacity: 0.5;
    margin-left: 3px;
}

.project-option-desc {
    font-size: 0.68rem;
    font-family: var(--font-family-2);
    color: var(--ghosxt-black);
    opacity: 0.5;
    line-height: 1.4;
    padding-left: 24px;
}

/* ── ADD-ONS ─────────────────────────────────────────────── */
.addon-web-list {
    padding: 0.5rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-web-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    padding: 0.38rem 0.625rem;
    cursor: pointer;
    transition: border-color 0.12s ease;
    gap: 8px;
}

.addon-web-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.addon-web-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.addon-web-check {
    width: 15px;
    height: 15px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.55rem;
    color: transparent;
    background: var(--ghosxt-white);
    transition: all 0.12s ease;
}

.addon-web-check i { display: flex; }

.addon-web-item:has(input:checked) .addon-web-check {
    background: var(--ghosxt-black);
    border-color: var(--ghosxt-black);
    color: var(--ghosxt-white);
}

.addon-web-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.addon-web-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    line-height: 1.3;
}

.addon-web-price {
    font-size: 0.65rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    opacity: 0.4;
}

.addon-web-price em {
    font-style: normal;
    font-size: 0.6rem;
}

.maintenance-item {
    border-color: rgba(0, 0, 0, 0.28);
}

/* ── RIGHT PANEL ─────────────────────────────────────────── */
.calc-web-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cost result */
.result-web-card {
    background: var(--ghosxt-white);
    border: 1px solid var(--ghosxt-black);
    border-radius: 8px;
    overflow: hidden;
}

.result-web-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.875rem;
    border-bottom: 1px dashed var(--ghosxt-black);
}

.result-web-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.result-web-card-title i {color: var(--ghosxt-red-0);}

.result-web-main-number {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 0.75rem 0.875rem 0.5rem;
}

.result-web-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    line-height: 1;
}

.result-web-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    letter-spacing: -0.04em;
    line-height: 1;
}

.result-web-per {
    font-size: 0.78rem;
    font-family: var(--font-family-2);
    color: var(--ghosxt-black);
    opacity: 0.4;
    align-self: flex-end;
    padding-bottom: 3px;
}

.result-web-breakdown {
    padding: 0 0.875rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin-top: 2px;
}

.breakdown-web-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family-2);
    font-size: 0.75rem;
    color: var(--ghosxt-black);
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
}

.breakdown-web-row:last-child { border-bottom: none; }

.breakdown-web-row-total {
    font-weight: 700;
    padding-top: 0.4rem;
    border-bottom: none;
    margin-top: 3px;
}

.breakdown-web-label { color: var(--ghosxt-black); opacity: 0.65; }
.breakdown-web-value { font-weight: 700; color: var(--ghosxt-black); }

/* Package comparison */
.pricing-web-card {
    background: var(--ghosxt-white);
    border: 1px solid var(--ghosxt-black);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-web-card-header {
    padding: 0.5rem 0.875rem;
    border-bottom: 1px dashed var(--ghosxt-black);
}

.pricing-web-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-web-card-title i { display: flex; font-size: 0.78rem; color: var(--ghosxt-red-0); }

.pricing-web-table-wrap {
    padding: 0.625rem 0.875rem;
    overflow-x: auto;
}

.pricing-web-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.pricing-web-table th,
.pricing-web-table td {
    padding: 0.38rem 0.375rem;
    text-align: left;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.pricing-web-table th {
    font-weight: 700;
    font-family: var(--font-family-2);
    text-transform: uppercase;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    color: var(--ghosxt-black);
    opacity: 0.55;
}

.feature-web-name { font-weight: 600; font-family: var(--font-family-2); }
.check-yes { color: #22c55e; font-size: 0.9rem; }
.check-no  { color: rgba(0, 0, 0, 0.18); font-size: 0.9rem; }

/* CTA card — black strip */
.calc-web-cta-card {
    background: var(--ghosxt-black);
    border: 1px solid var(--ghosxt-black);
    border-radius: 8px;
    padding: 0.875rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.calc-web-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc-web-cta-text strong {
    font-size: 0.82rem;
    color: var(--ghosxt-white);
    font-family: var(--font-family-2);
    font-weight: 700;
}

.calc-web-cta-text span {
    font-family: var(--font-family-2);
    font-size: 0.7rem;
    color: var(--ghosxt-white);
    opacity: 0.5;
    line-height: 1.4;
}

.calc-web-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ghosxt-red-0);
    color: var(--ghosxt-white);
    font-family: var(--font-family-2);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.4);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.calc-web-cta-btn:hover {
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
    color: var(--ghosxt-white);
}

.calc-web-cta-btn i { display: flex; }

/* ── ANIMATION ───────────────────────────────────────────── */
@keyframes numFlash {
    0%   { opacity: 0.3; transform: scale(0.97); }
    100% { opacity: 1;   transform: scale(1); }
}

.result-web-amount.updating {
    animation: numFlash 0.25s ease forwards;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .calc-web-body { grid-template-columns: 1fr; }
    .calc-web-right { position: static; }
}

@media (max-width: 968px) {
    .webdev-hero-container { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; }
    .webdev-hero-title { font-size: 2.75rem; }
    .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .portfolio-title { font-size: 2rem; }
    .calc-web-cta-card { flex-direction: column; align-items: flex-start; }
    .ipad-content-area { padding: 12px; }
    .ipad-side-btn { display: none; }
}

@media (max-width: 640px) {
    .webdev-hero-title { font-size: 2rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .webdev-stat-cluster { grid-template-columns: 1fr; }
    .stat-main { grid-column: span 1; }
    .stat-wide { grid-column: span 1; }
    .result-web-amount { font-size: 2rem; }
    .pricing-web-table { font-size: 0.6rem; }
    .pricing-web-table th { font-size: 0.54rem; padding: 0.4rem 0.25rem; }
    .pricing-web-table td { padding: 0.4rem 0.25rem; }
    .feature-web-name { font-size: 0.6rem; }
    .check-yes, .check-no { font-size: 0.75rem; }
    .ipad-frame { border-radius: 12px 12px 8px 8px; }
}

.footer-visible { display: flex !important; }


/* FAQ SECTION */
.faq-section {
    padding: 0 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.faq-container {
    padding: 5rem 0;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

.faq-title {
    font-size: 3rem;
    font-weight: 500;
    color: var(--ghosxt-black);
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    line-height: 1.6;
    max-width: 700px;
}

.faq-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--ghosxt-white);
    border: 1px dashed var(--ghosxt-black);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: var(--ghosxt-white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    color: var(--ghosxt-black);
    transition: all 0.3s ease;
    line-height: 1.5;
}

.faq-question:hover {
    background: var(--ghosxt-gray);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--ghosxt-red-0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-item.active .faq-question {
    border-bottom: 1px dashed black;
    transition: all 0.3s ease;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--ghosxt-black);
    font-family: var(--font-family-2);
    line-height: 1.6;
    opacity: 0.85;
}

/* RESPONSIVE STYLES */
@media (max-width: 968px) {
    .faq-container {
        padding: 3rem 0;
        gap: 2rem;
    }

    .faq-title {
        font-size: 2.5rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1.15rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .faq-section {
        min-height: auto;
    }

    .faq-container {
        padding: 2rem 0;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 0.95rem;
    }

    .faq-items {
        gap: 0.75rem;
    }

    .faq-item {
        border-radius: 15px;
    }

    .faq-question {
        padding: 1.125rem 1.25rem;
        font-size: 1.1rem;
    }

    .faq-icon {
        font-size: 1.35rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.125rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-container {
        padding: 1.5rem 0;
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .faq-subtitle {
        font-size: 0.9rem;
    }

    .faq-items {
        gap: 0.625rem;
    }

    .faq-item {
        border-radius: 12px;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }
}