*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-main: #020617;
    --bg-alt: #050816;
    --bg-card: #050816;
    --accent1: #8b5cf6; /* purple close to logo */
    --accent2: #0ea5e9; /* cyan close to logo */
    --accent-soft: rgba(99, 102, 241, 0.16);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --radius-lg: 18px;
    --radius-xl: 22px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
    --container-width: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top, #1f2937 0, #020617 55%, #020617 100%);
    color: var(--text-main);
}

/* containers */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* scroll indicator */

#scroll-indicator {
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(to left, var(--accent1), var(--accent2));
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    z-index: 80;
}

/* header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8), transparent);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
    gap: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.brand-logo-img {
    max-width: 26px;
    max-height: 26px;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* nav */

.nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nav-link {
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-link:hover {
    color: var(--text-main);
    background-color: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.nav-link.nav-cta {
    background: linear-gradient(to left, var(--accent1), var(--accent2));
    color: #020617;
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.6);
}

/* menu toggle (mobile) */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: rgba(15, 23, 42, 0.96);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: #e5e7eb;
}

/* hero */

.section.hero {
    position: relative;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(129, 140, 248, 0.3), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(45, 212, 191, 0.25), transparent 55%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2.7rem;
    align-items: center;
}

.hero-content {
    max-width: 36rem;
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin: 0 0 1rem;
}

.hero-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

/* buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: linear-gradient(to left, var(--accent1), var(--accent2));
    color: #020617;
    font-weight: 600;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.6);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.7);
}

.btn.ghost {
    border-color: rgba(51, 65, 85, 0.9);
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--text-main);
}

.btn.ghost:hover {
    background-color: rgba(15, 23, 42, 1);
}

.btn.full-width {
    width: 100%;
}

/* hero stats */

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
}

.hero-stats > div {
    min-width: 120px;
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.02rem;
    font-weight: 600;
}

/* hero side panel */

.hero-panel {
    border-radius: var(--radius-xl);
    padding: 1.7rem 1.8rem;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
    border: 1px solid rgba(129, 140, 248, 0.7);
    box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.hero-panel p {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 0.96rem;
    color: var(--text-muted);
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.hero-list li::before {
    content: "•";
    color: var(--accent2);
    margin-inline-start: 0.3rem;
}

/* sections */

.section {
    padding: 4rem 0;
}

.section-alt {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #020617, #020617 70%, #020617 100%);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
}

/* layouts */

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* info cards */

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-card {
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    background: radial-gradient(circle at top, #020617, #020617 60%, #020617 100%);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-soft);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* cards grid */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
}

.card {
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    background: radial-gradient(circle at top, #020617, #020617 60%, #020617 100%);
    border: 1px solid rgba(55, 65, 81, 0.8);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* strip features */

.strip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.strip-item {
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    background: radial-gradient(circle at top, #020617, #020617 60%, #020617 100%);
    border: 1px solid rgba(55, 65, 81, 0.85);
    box-shadow: var(--shadow-soft);
}

.strip-item h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.strip-item p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* contact */

.contact-section {
    padding-bottom: 4.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.contact-info {
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    background: radial-gradient(circle at top, #020617, #020617 70%);
    border: 1px solid rgba(55, 65, 81, 0.85);
    box-shadow: var(--shadow-soft);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.contact-info a {
    color: var(--accent2);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    background: radial-gradient(circle at top, #020617, #020617 70%);
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-field {
    flex: 1;
    min-width: min(100%, 220px);
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text-main);
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.55);
    background-color: #020617;
}

textarea {
    resize: vertical;
}

/* alerts */

.alert {
    border-radius: 0.8rem;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert.success {
    background: rgba(22, 163, 74, 0.16);
    border: 1px solid rgba(22, 163, 74, 0.7);
    color: #bbf7d0;
}

.alert.error {
    background: rgba(220, 38, 38, 0.16);
    border: 1px solid rgba(220, 38, 38, 0.7);
    color: #fecaca;
}

/* footer */

.footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at top, #020617, #020617 60%);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 2rem;
}

.footer h3,
.footer h4 {
    margin-top: 0;
}

.footer p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.35rem;
}

.footer a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--accent2);
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 0.9rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* scroll animations */

[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition-property: opacity, transform;
    transition-timing-function: ease-out;
    transition-duration: 500ms;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(16px);
}

[data-animate="fade-right"].visible {
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(-16px);
}

[data-animate="fade-left"].visible {
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.97);
}

[data-animate="scale-in"].visible {
    transform: scale(1);
}

/* responsive */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
        gap: 2rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        inset-inline: 1rem;
        top: 64px;
        background: #020617;
        border-radius: 1.1rem;
        border: 1px solid rgba(31, 41, 55, 0.9);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.98);
        padding: 0.7rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        display: none;
        z-index: 60;
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        padding: 0.65rem 0.9rem;
    }

    .section.hero {
        padding-top: 4rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        order: -1;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .strip-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-stats > div {
        flex: 1 1 100%;
    }
}
