@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink-navy);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink-navy);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { color: var(--slate); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--mist {
    background: var(--mist);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--trust-blue);
    background: rgba(30, 90, 168, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head p {
    font-size: 1.1rem;
    margin-top: 16px;
}

.section-head--center {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
}

/* الظهور عند السكرول */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}



/* ===== صفحة ابدأ تجربتك ===== */
.trial-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.trial-card__head {
    background: linear-gradient(135deg, var(--trust-blue), var(--ink-navy-soft));
    padding: 34px 32px 26px;
}

.trial-card__seam {
    border-top: 2px dashed var(--border-soft);
    margin: 0 32px;
    position: relative;
}

.trial-card__seam::before,
.trial-card__seam::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--ink-navy);
    border-radius: 50%;
    top: -12px;
}

.trial-card__seam::before { left: -44px; }
.trial-card__seam::after { right: -44px; }

.trial-card__body {
    padding: 30px 32px 34px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .trial-card { max-width: 100%; }
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-navy);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--ink-navy);
    background: var(--mist);
    transition: border-color .2s ease, background .2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--trust-blue);
    background: var(--white);
}

.form-control::placeholder {
    color: var(--slate-light);
}
