:root {
    --ink: #102b32;
    --muted: #5d7378;
    --deep: #0d6670;
    --aqua: #e8f6f5;
    --foam: #f8fcfc;
    --coral: #d66745;
    --line: #d7e9e9;
}

@font-face {
    font-family: "Playpen Sans Arabic";
    src: url("../fonts/landing/PlaypenSansArabic-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

* { box-sizing: border-box; }

html { background: var(--foam); }

body {
    margin: 0;
    color: var(--ink);
    background: var(--foam);
    font-family: "Playpen Sans Arabic", Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.95;
}

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

.section-shell { width: min(calc(100% - 32px), 1080px); margin: 0 auto; }

.hero {
    position: relative;
    display: grid;
    min-height: min(610px, 84svh);
    align-content: center;
    padding: 72px 6vw 104px;
    overflow: hidden;
}

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.eyebrow {
    display: inline-flex;
    padding: 5px 12px;
    color: var(--deep);
    border: 1px solid #c9e7e7;
    border-radius: 999px;
    background: var(--aqua);
    font-size: .74rem;
    font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin: 17px 0 10px;
    color: var(--ink);
    font-size: clamp(2.65rem, 8.4vw, 5.25rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.06em;
}

h1 strong { color: var(--deep); font-weight: inherit; }

.hero p {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(.96rem, 2.4vw, 1.18rem);
    font-weight: 600;
    line-height: 2;
}

.hero::after {
    position: absolute;
    right: 6vw;
    bottom: 60px;
    z-index: 1;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: var(--coral);
    box-shadow: 98px 0 0 #9bd8d6, 196px 0 0 #d7efee;
    content: "";
}

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-one { top: -200px; left: -130px; width: 420px; height: 420px; background: radial-gradient(circle, #bfeae8 0, rgba(191, 234, 232, 0) 70%); }
.hero-orb-two { bottom: -295px; left: 12%; width: 540px; height: 540px; border: 1px solid #c8e9e7; box-shadow: 0 0 0 35px rgba(214, 242, 240, .55), 0 0 0 70px rgba(226, 247, 246, .62); }

.carpet-mark {
    position: absolute;
    top: 50%;
    left: clamp(18px, 7vw, 96px);
    z-index: 1;
    width: min(24vw, 230px);
    aspect-ratio: 1;
    transform: translateY(-44%) rotate(15deg);
    border: 2px solid rgba(17, 131, 144, .27);
    border-radius: 44% 44% 35% 35%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(220, 244, 243, .55));
    box-shadow: inset 0 0 0 17px rgba(255, 255, 255, .5), 0 18px 45px rgba(13, 102, 112, .1);
}

.carpet-mark::before, .carpet-mark::after { position: absolute; border: 1px solid rgba(17, 131, 144, .25); border-radius: 50%; content: ""; }
.carpet-mark::before { inset: 22%; }
.carpet-mark::after { inset: 36%; border-color: rgba(214, 103, 69, .45); }
.carpet-mark span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.carpet-mark span:nth-child(1) { top: 17%; right: 47%; }
.carpet-mark span:nth-child(2) { right: 24%; bottom: 23%; background: var(--deep); }
.carpet-mark span:nth-child(3) { bottom: 32%; left: 22%; background: var(--deep); }

.wave { height: 74px; overflow: hidden; line-height: 0; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-down { position: relative; z-index: 3; margin-top: -74px; }
.wave-down path { fill: var(--aqua); }
.wave-up { background: var(--aqua); }
.wave-up path { fill: var(--foam); }

.quick-contact-section { position: relative; z-index: 4; margin-top: -21px; padding-bottom: 10px; background: var(--aqua); }

.quick-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    min-height: 74px;
    padding: 15px 26px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: linear-gradient(135deg, #102f37, #0b5962);
    box-shadow: 0 16px 32px rgba(8, 61, 67, .2);
    font-size: .88rem;
    font-weight: 900;
}

.quick-contact::before, .quick-contact::after { position: absolute; z-index: 0; width: 160px; height: 54px; border: 1px solid rgba(156, 224, 221, .2); border-radius: 50%; content: ""; }
.quick-contact::before { right: -35px; bottom: -33px; }
.quick-contact::after { top: -30px; left: -30px; }
.quick-contact > * { position: relative; z-index: 1; }
.quick-contact a { color: #d8f6f4; direction: ltr; }
.quick-contact a:last-child { padding: 5px 12px; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .1); direction: rtl; }

.stats-section { padding: 34px 0 70px; background: var(--aqua); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat-card { display: grid; justify-items: center; gap: 1px; padding: 24px 18px; text-align: center; border: 1px solid #cee9e8; border-radius: 22px; background: rgba(255, 255, 255, .74); box-shadow: 0 10px 25px rgba(10, 100, 105, .05); }
.stat-symbol { color: var(--coral); font-size: 1rem; }
.stat-number { direction: ltr; color: var(--deep); font-size: clamp(1.85rem, 6vw, 2.7rem); font-weight: 900; line-height: 1.25; letter-spacing: -.04em; }
.stat-card > span:last-child { color: var(--muted); font-size: .82rem; font-weight: 700; }

.features-section { padding: 72px 0 82px; }
.section-heading { max-width: 610px; margin: 0 auto 32px; text-align: center; }
.section-heading h2 { margin: 15px 0 0; color: var(--ink); font-size: clamp(1.55rem, 4.6vw, 2.45rem); font-weight: 900; line-height: 1.55; letter-spacing: -.035em; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; padding: 24px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 43, 50, .045); }
.feature-card::before { position: absolute; top: 0; right: 22px; left: 22px; height: 2px; background: linear-gradient(90deg, transparent, #b8e3e1, transparent); content: ""; }
.feature-card::after { position: absolute; bottom: -40px; left: -38px; width: 90px; height: 90px; border-radius: 50%; background: var(--aqua); content: ""; }
.feature-number { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 15px; color: var(--deep); border-radius: 12px; background: var(--aqua); font-size: .9rem; font-weight: 900; }
.feature-card h3 { position: relative; z-index: 1; margin-bottom: 8px; color: var(--ink); font-size: 1rem; font-weight: 900; line-height: 1.7; }
.feature-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .86rem; line-height: 2; }

.wave-contact { margin-bottom: -1px; }
.wave-contact path { fill: var(--deep); }
.contact-section { width: 100%; max-width: none; padding: 54px max(16px, calc((100% - 1080px) / 2)) calc(64px + env(safe-area-inset-bottom)); background: var(--deep); }
.contact-card { position: relative; max-width: 690px; margin: 0 auto; overflow: hidden; text-align: center; color: #fff; }
.contact-ripple { position: absolute; top: 50%; left: 50%; width: 480px; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .02); }
.contact-quote { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; font-size: clamp(1.1rem, 3.2vw, 1.55rem); font-weight: 900; line-height: 1.9; }

@media (max-width: 760px) {
    .section-shell { width: min(calc(100% - 24px), 1080px); }
    .hero { min-height: 69svh; padding: 68px 4px 76px; }
    .hero p { max-width: 92%; font-size: .93rem; }
    .hero::after { right: 4px; bottom: 38px; transform: scale(.8); transform-origin: right; }
    .carpet-mark { top: 72%; left: -25px; width: 150px; opacity: .8; }
    .hero-orb-two { left: 45%; }
    .wave { height: 56px; }
    .wave-down { margin-top: -56px; }
    .quick-contact-section { margin-top: -16px; padding-bottom: 8px; }
    .quick-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; padding: 15px 13px; border-radius: 18px; font-size: .77rem; text-align: center; }
    .quick-contact span, .quick-contact a:last-child { grid-column: 1 / -1; }
    .quick-contact a:last-child { justify-self: center; }
    .quick-contact::before { right: -63px; }
    .quick-contact::after { left: -62px; }
    .stats-section { padding: 27px 0 52px; }
    .stat-card { padding: 19px 10px; border-radius: 18px; }
    .stat-card > span:last-child { font-size: .75rem; }
    .features-section { padding: 58px 0 64px; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 20px 18px; border-radius: 18px; }
    .feature-card p { font-size: .84rem; }
    .contact-section { padding: 45px 20px calc(52px + env(safe-area-inset-bottom)); }
    .contact-quote { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
