/* Audit reading surfaces. Spline and carousel motion are intentionally untouched. */
:root { --amk-surface: rgba(255,255,255,.06); --amk-copy: #f0f0f4; --amk-muted: #dedee6; --amk-gold: #f0d68b; }
main { position: relative; z-index: 2; }
#main-content { scroll-margin-top: 92px; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 12px; transform: translateY(-180%); z-index: 20000; padding: 12px 20px; background: #fff; color: #111; border-radius: 10px; font-weight: 700; }
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--amk-gold); outline-offset: 4px; }
.lang-btn { display: inline-block; text-decoration: none; }
.nav-toggle { appearance: none; border: 0; background: transparent; padding: 9px; color: #fff; cursor: pointer; }
.nav { background: rgba(8,8,11,.96) !important; }
.hero-content { overflow: visible; padding: 1.25rem; border-radius: 28px; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero-logo img { height: clamp(145px,16vw,210px); }
.hero-title { font-size: clamp(2rem,4.3vw,3.7rem); line-height: 1.35; }
html[lang="ar"] .hero-title span { font-family: 'Cairo', 'Tajawal', sans-serif !important; }
.hero-start { color: var(--amk-copy); font-size: 1.1rem; margin: 0 auto 1rem; }
.hero-start strong { color: var(--amk-gold); white-space: nowrap; }
.hero-proof { color: var(--amk-muted); }
.hero-actions .btn-secondary { background: #202026; }
.hero-actions .btn { min-width: 0; }
/* Approved glass surfaces: preserve Spline through every card. */
.service-card, .featured-card, .contact-wrapper, .showcase-carousel { background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025)) !important; border-color: rgba(255,255,255,.22) !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.12); }
.contact-item, .contact-item:hover { background: rgba(255,255,255,.055) !important; border-color: rgba(255,255,255,.2) !important; backdrop-filter: blur(12px); }
.service-card { text-align: start; font: inherit; min-width: 0; }
.service-card span.service-card-title { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 1rem; }
.service-card span.service-card-copy { display: block; font-size: 1rem; line-height: 1.8; color: var(--amk-copy); margin: 0 0 1.5rem; }
html[lang="ar"] .service-card-title { font-family: 'Cairo', 'Tajawal', sans-serif !important; }
.service-card .service-hint { color: var(--amk-gold); background: #29251c; border-color: #847141; }
.service-card:hover .service-icon { color: var(--amk-gold); background: #302b20; }
.service-icon, .addon-icon, .contact-icon { color: var(--amk-gold); background: #29251f; }
.services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.section-title { display: table; font-style: normal; width: fit-content; max-width: 100%; margin-inline: auto; background: transparent; padding: .6rem 1.2rem; border-radius: 16px; }
.section-subtitle { display: table; width: fit-content; margin-inline: auto; }
.section-subtitle, .section-description { background: transparent; padding: .6rem 1rem; border-radius: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.9),0 1px 2px #000; }
.section-description { width: fit-content; max-width: 760px; margin-inline: auto; }
.section-link, .footer-links, .case-study-link { color: var(--amk-gold); }
.section-link { text-align: center; margin-top: 1.5rem; }
.section-link a, .case-study-link, .scope-panel a, .form-notice a, .footer-links a { color: var(--amk-gold); text-decoration: underline; text-underline-offset: 5px; }
.case-study-link { display: inline-block; margin-top: 1.25rem; }
.featured-badge, .slide-badge { color: var(--amk-gold); background: #29251f; border-color: #6f603b; }
.slide-badge { display: inline-flex; align-items: center; gap: .5rem; }
.slide-badge svg { width: 19px; height: 19px; }
.demo-label { color: #f6e4b5; border-inline-start: 3px solid var(--amk-gold); padding: .45rem .75rem; font-size: .9rem; line-height: 1.65; background: #272219; border-radius: 6px; margin-bottom: 1rem; }
.pricing-card, .pricing-card-featured { background: linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035)); border-color: rgba(255,255,255,.24); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 40px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.12); }
.pricing-card-featured { border-color: #bba565; }
.pricing-card-title { color: #fff; }
.pricing-card-desc, .pricing-features li, .package-scope, .addon-desc, .addon-note { color: var(--amk-copy); }
.pricing-badge, .pricing-badge.popular, .pricing-badge.featured { color: var(--amk-gold); background: #30291b; }
.price-new, .pricing-card-featured .price-new, .addon-price { color: var(--amk-gold); }
.price-old { color: #b9b9c4; }
.price-currency { color: inherit; opacity: 1; }
.pricing-features li::before { color: var(--amk-gold); background: #30291b; }
.btn-pricing { color: #f8eac3; background: #28231b; border-color: #a89152; }
.btn-pricing-featured { background: #e7cc82; color: #141418; }
.btn-pricing-featured:hover { background: #f4d990; color: #141418; }
.package-scope { font-size: .92rem; line-height: 1.8; margin: 0 0 1.25rem; padding-top: 1rem; border-top: 1px solid #44444c; }
.scope-panel { background: rgba(255,255,255,.06); color: var(--amk-copy); padding: 1.75rem 2rem; margin-top: 2rem; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; line-height: 1.9; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.scope-panel h3 { color: #fff; margin-bottom: .65rem; }
.scope-panel p { margin-bottom: .75rem; }
.currency-switcher { background: #17171c; border: 1px solid #555560; padding: 5px; width: fit-content; margin-inline: auto; border-radius: 30px; }
.currency-btn, .currency-btn:hover { color: #dddde6; background: #25252d; border-color: #62626d; min-height: 44px; }
.currency-btn.active, .currency-btn[aria-pressed="true"] { color: #141418; background: #f1e0ae; border-color: #f1e0ae; box-shadow: inset 0 0 0 1px #fff; }
.addons-grid { max-width: 100%; align-items: stretch; }
.addon-item, .addon-item:hover { background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.22); align-items: flex-start; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.addon-name { color: #fff; }
.addon-desc { line-height: 1.85; }
.addon-period { color: var(--amk-copy); }
.addon-note { font-size: .95rem; line-height: 1.8; max-width: 800px; text-align: center; margin: 1.25rem auto 0; background: transparent; padding: .75rem 1rem; border-radius: 12px; }
.faq-item, .faq-item:hover, .faq-item[open] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.faq-item p { color: var(--amk-copy); }
.form-group input, .form-group textarea { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #bdbdc8; opacity: 1; }
.form-group label { position: static; inset: auto; display: block; transform: none; padding: 0; background: none; pointer-events: auto; opacity: 1; color: #ededf3; }
.form-group input, .form-group textarea { width: 100%; }
.form-notice, #form-status { font-size: .94rem; line-height: 1.8; color: var(--amk-copy); margin-top: .75rem; }
#form-status:empty { display: none; }
.contact-form button[disabled] { cursor: wait; opacity: .7; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer { position: relative; z-index: 2; background: rgba(8,8,12,.4) !important; }
/* Remove intrinsic grid minimums, not overflow visibility or content. */
.container, .hero-content, .services-grid > *, .pricing-grid > *, .contact-wrapper > *, .form-row > *, .addons-grid > *, .featured-card > *, .carousel-slide > *, .addon-info { min-width: 0; }
.contact-text a { overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .services-grid, .addons-grid { grid-template-columns: minmax(0,1fr); }
    .hero { min-height: 100svh; padding: calc(var(--nav-height) + 22px) 1rem 2rem; }
    .hero-content { padding: 1.1rem; }
    .hero-logo img { height: 95px; }
    .hero-logo { line-height: 0; }
    .hero-content .hero-description { padding: 0; }
    .hero-title { font-size: clamp(1.65rem,6vw,2.4rem); }
    .hero-tagline { font-size: .75rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; padding-inline: .9rem; flex: 0 0 auto; }
    .service-card { width: 100%; max-width: 100%; }
    .pricing-card-featured { transform: none; }
    .contact-wrapper { grid-template-columns: minmax(0,1fr); gap: 2rem; }
    .contact-form .form-row { grid-template-columns: minmax(0,1fr); }
    .scope-panel { padding: 1.25rem; }
    .addons-grid { padding: 0; }
    .addon-item { flex-direction: column; align-items: center; }
}
@media (max-width: 360px) {
    .container { padding-inline: 16px; }
    .services-grid { width: 100%; }
    .service-card { padding: 1.4rem; }
    .pricing-card { padding: 1.6rem 1.2rem; }
    .contact-wrapper { padding: 1.4rem 1rem; }
    .form-row { grid-template-columns: minmax(0,1fr); }
    .lang-switch { gap: 5px; }
    .lang-btn { width: 45px; }
    .section-title { font-size: 1.6rem; }
    .slide-browser, .slide-info { min-width: 0; }
}
