/* =========================================================
   KASHIERK LANDING PAGE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {

    --primary-color: #bd382a;

    --primary-dark: #a52f23;

    --dark-bg: #0f172a;

    --dark-card: #162033;

    --light-bg: #f8fafc;

    --text-main: #1e293b;

    --text-light: #64748b;

    --white: #ffffff;

    --border-color: rgba(255,255,255,0.08);

    --shadow-main:
    0 20px 50px rgba(0,0,0,0.12);

    --font-main:
    'Tajawal', sans-serif;
}

/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: var(--font-main);
}

html {

    scroll-behavior: smooth;
}

body {

    background: var(--white);

    overflow-x: hidden;

    line-height: 1.7;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    padding: 0 20px;
}

.text-center {

    text-align: center;
}

/* =========================================================
   HEADER
   ========================================================= */

.main-header {

    position: fixed;

    top: 0;

    width: 100%;

    height: 72px;

    display: flex;

    align-items: center;

    background:
    rgba(255,255,255,0.92);

    backdrop-filter: blur(12px);

    z-index: 1000;

    border-bottom:
    1px solid rgba(0,0,0,0.05);
}

.header-flex {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;
}

.logo {

    font-size: 28px;

    font-weight: 900;

    color: var(--primary-color);

    letter-spacing: -1px;
}

.btn-primary {

    background: var(--primary-color);

    color: white;

    text-decoration: none;

    padding: 12px 24px;

    border-radius: 50px;

    font-weight: 700;

    transition: 0.3s ease;
}

.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {

    padding-top: 130px;

    background:
    linear-gradient(
        to bottom,
        #fff7f5,
        #ffffff
    );

    text-align: center;
}

.hero h1 {

    font-size: 3rem;

    line-height: 1.3;

    font-weight: 900;

    color: var(--text-main);

    margin-bottom: 18px;
}

.hero-desc {

    max-width: 820px;

    margin: 0 auto;

    font-size: 1.15rem;

    color: var(--text-light);

    margin-bottom: 35px;
}
/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    flex-wrap: wrap;

    margin-bottom: 45px;
}

.primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-color);

    color: white;

    text-decoration: none;

    padding: 15px 34px;

    border-radius: 18px;

    font-weight: 800;

    font-size: 1rem;

    transition: 0.3s ease;

    box-shadow:
    0 14px 35px rgba(189,56,42,0.18);
}

.primary-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-3px);
}

.secondary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 34px;

    border-radius: 18px;

    border: 2px solid #bd382a;

    color: #bd382a;

    text-decoration: none;

    font-weight: 800;

    font-size: 1rem;

    background: white;

    transition: 0.3s ease;
}

.secondary-btn:hover {

    background: #bd382a;

    color: white;

    transform: translateY(-3px);
}
/* =========================================================
   BADGES
   ========================================================= */

.hero-badges {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    margin-bottom: 50px;
}

.badge {

    background:
    rgba(189,56,42,0.08);

    color: var(--primary-color);

    border:
    1px solid rgba(189,56,42,0.1);

    padding: 10px 18px;

    border-radius: 50px;

    font-weight: 700;

    font-size: 0.95rem;
}

/* =========================================================
   PHONE
   ========================================================= */

.phone-container {

    position: relative;

    width: 380px;

    margin: 0 auto -230px;

    z-index: 100;
}

@media (min-width: 768px) {

    .phone-container {

        width: 520px;

        margin-bottom: -320px;
    }
}

.phone-frame {

    width: 100%;

    display: block;

    position: relative;

    z-index: 10;

    filter:
    drop-shadow(
        0 30px 70px rgba(0,0,0,0.2)
    );
}

.screen {

    position: absolute;

    top: 2.1%;

    left: 5.8%;

    width: 88.5%;

    height: 95.7%;

    overflow: hidden;

    border-radius: 45px;

    background: #000;

    z-index: 5;
}

.slider {

    display: flex;

    width: 100%;

    height: 100%;

    transition:
    transform 0.5s ease;
}

.slider img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    flex-shrink: 0;
}

/* =========================================================
   FEATURES
   ========================================================= */

.features {

    background: var(--dark-bg);

    color: white;

    padding: 320px 0 100px;
}

.section-title h2 {

    text-align: center;

    font-size: 2.2rem;

    font-weight: 900;

    margin-bottom: 60px;
}

.features-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;
}

.feature-card {

    background:
    rgba(255,255,255,0.04);

    border:
    1px solid var(--border-color);

    border-radius: 26px;

    padding: 35px 28px;

    transition: 0.35s ease;
}

.feature-card:hover {

    transform: translateY(-10px);

    border-color:
    rgba(189,56,42,0.3);

    background:
    rgba(255,255,255,0.06);
}

.feature-card .icon {

    display: block;

    font-size: 42px;

    margin-bottom: 18px;
}

.feature-card h3 {

    font-size: 1.3rem;

    margin-bottom: 14px;

    font-weight: 800;
}

.feature-card p {

    color: #cbd5e1;

    font-size: 0.96rem;

    line-height: 1.9;
}

/* =========================================================
   WORKFLOW
   ========================================================= */

.workflow-section {

    padding: 100px 0;

    background: white;
}

.workflow-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.workflow-card {

    background: white;

    border-radius: 24px;

    padding: 35px 30px;

    border:
    1px solid rgba(0,0,0,0.04);

    box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

    transition: 0.3s ease;
}

.workflow-card:hover {

    transform: translateY(-8px);
}

.workflow-number {

    width: 60px;

    height: 60px;

    border-radius: 18px;

    background:
    rgba(189,56,42,0.1);

    color: var(--primary-color);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

    font-weight: 900;

    margin-bottom: 20px;
}

.workflow-card h3 {

    font-size: 1.2rem;

    margin-bottom: 14px;

    color: var(--text-main);
}

.workflow-card p {

    color: var(--text-light);

    line-height: 1.9;
}

/* =========================================================
   BUSINESS SECTION
   ========================================================= */

.business-section {

    padding-bottom: 100px;

    background: white;
}

.business-box {

    background:
    linear-gradient(
        135deg,
        #fff7f5,
        #ffffff
    );

    border-radius: 35px;

    padding: 60px 40px;

    border:
    1px solid rgba(189,56,42,0.08);
}

.business-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}

.business-card {

    background: white;

    border-radius: 22px;

    padding: 35px 20px;

    text-align: center;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.05);

    transition: 0.3s ease;
}

.business-card:hover {

    transform: translateY(-8px);
}

.business-card span {

    font-size: 2.4rem;

    display: block;

    margin-bottom: 18px;
}

.business-card h3 {

    font-size: 1.1rem;

    color: var(--text-main);

    font-weight: 800;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {

    padding: 100px 0;

    background: var(--light-bg);
}

.about-box {

    max-width: 950px;

    margin: auto;

    background: white;

    border-radius: 30px;

    padding: 50px;

    box-shadow: var(--shadow-main);
}

.about-box h2 {

    font-size: 2.2rem;

    margin-bottom: 25px;

    color: var(--text-main);

    font-weight: 900;
}

.about-box p {

    font-size: 1.08rem;

    color: var(--text-light);

    margin-bottom: 20px;

    line-height: 2;
}

/* =========================================================
   DOWNLOAD
   ========================================================= */

.download-section {

    padding: 110px 0;

    text-align: center;
}

.download-section h2 {

    font-size: 2.4rem;

    margin-bottom: 18px;

    color: var(--text-main);

    font-weight: 900;
}

.download-section p {

    color: var(--text-light);

    font-size: 1.1rem;

    margin-bottom: 40px;
}

.btn-download-big {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-color);

    color: white;

    text-decoration: none;

    padding: 20px 50px;

    border-radius: 22px;

    font-size: 1.2rem;

    font-weight: 800;

    transition: 0.3s ease;

    box-shadow:
    0 18px 40px rgba(189,56,42,0.25);
}

.btn-download-big:hover {

    transform: scale(1.03);
}
.download-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.download-buttons .btn-download-big {

    min-width: 280px;
}
/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    background: #020617;

    color: #94a3b8;

    text-align: center;

    padding: 35px 0;

    font-size: 0.95rem;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.hidden {

    opacity: 0;

    transform: translateY(40px);

    transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.show {

    opacity: 1;

    transform: translateY(0);
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {

    background: var(--primary-color);

    border-radius: 20px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .hero h1 {

        font-size: 2.1rem;
    }

    .hero-desc {

        font-size: 1rem;
    }

    .section-title h2,
    .about-box h2,
    .download-section h2 {

        font-size: 1.8rem;
    }

    .about-box {

        padding: 35px 25px;
    }

    .business-box {

        padding: 40px 20px;
    }

    .workflow-card,
    .business-card {

        padding: 28px 22px;
    }

    .btn-download-big {

        width: 100%;
    }
   .hero-buttons {

        flex-direction: column;

        width: 100%;
    }

    .hero-buttons a {

        width: 100%;
    }
   .download-buttons {

    flex-direction: column;
}
}
