/* 
=============================================================
  Premium SaaS Landing Page — White × Orange Design System
  Style: Clean, Bright, Energetic, Premium
  Fonts: Cairo (Arabic), Outfit (English)
=============================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
    /* ── Orange Brand Palette ── */
    --primary:       #f97316;
    --primary-dark:  #ea580c;
    --primary-light: #fb923c;
    --primary-glow:  rgba(249, 115, 22, 0.25);
    --primary-soft:  rgba(249, 115, 22, 0.09);

    --secondary:     #fdba74;
    --accent:        #22c55e;

    /* ── Background (Warm White) ── */
    --bg-dark:    #ffffff;
    --bg-section: #fff8f3;
    --bg-card:    rgba(255, 255, 255, 0.85);
    --bg-glass:   rgba(249, 115, 22, 0.04);
    --border-glass: rgba(249, 115, 22, 0.15);

    /* ── Text ── */
    --text-main:  #1a0f00;
    --text-muted: #92400e;
    --text-light: #c2855a;

    /* ── Shadows ── */
    --shadow-sm:  0 2px 8px rgba(249, 115, 22, 0.08);
    --shadow-md:  0 8px 24px rgba(249, 115, 22, 0.12);
    --shadow-lg:  0 20px 50px rgba(249, 115, 22, 0.14);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Cairo', 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Warm Background Mesh ── */
.bg-gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(251, 146, 60, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(253, 186, 116, 0.03) 0%, transparent 60%);
}

/* ── Glow Orbs (subtle orange tint) ── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.08;
    animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, 40px) scale(1.15); }
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-vibrant {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Glass Cards (White × Orange) ── */
.glass-card {
    background: #ffffff;
    border: 1.5px solid var(--border-glass);
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ── Buttons ── */
.btn-premium {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    border: none;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary-gradient:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    color: #ffffff;
}

.btn-glass {
    background: #fff;
    border: 2px solid var(--border-glass);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* ── Navbar ── */
.nav-container {
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

.nav-container.scrolled {
    background: rgba(255, 255, 255, 0.96);
    padding: 0.9rem 8%;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.09);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.07) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content { text-align: right; }

.hero-tag {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 0.5rem 1.4rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(249, 115, 22, 0.22);
    display: inline-block;
    letter-spacing: 0.03em;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 3.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.hero-image-container {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-glass);
}

.hero-image-container img {
    width: 100%;
    display: block;
    transform: scale(1.02);
    transition: var(--transition);
}

.hero-image-container:hover img { transform: scale(1); }

/* ── Statistics Bar ── */
.stats-bar {
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 50%, #fff3eb 100%);
    border-top: 1.5px solid var(--border-glass);
    border-bottom: 1.5px solid var(--border-glass);
    padding: 3.5rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249,115,22,0.04), transparent 60%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* ── Section Spacers & Content Blocks ── */
.section-spacer { padding: 8rem 0; }

.content-block {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 10rem;
}

.content-block.reverse { flex-direction: row-reverse; }

.content-text { flex: 1; }
.content-visual { flex: 1; }

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.85rem;
}

.content-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-main);
}

.content-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ── Feature Pills ── */
.feature-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    padding: 0.5rem 1.2rem;
    background: var(--primary-soft);
    border: 1.5px solid rgba(249, 115, 22, 0.2);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    transition: var(--transition);
}

.pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── Step Cards ── */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    background: #ffffff;
    border: 1.5px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 2rem;
    color: #fff;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.step-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* ── Mockup Frames ── */
.mockup-window {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1.5px solid var(--border-glass);
}

.mockup-header {
    background: #f1f5f9;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(249,115,22,0.1);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #27c93f; }

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    padding: 5rem 8%;
}

.bento-item {
    grid-column: span 4;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #ffffff;
    border: 1.5px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.bento-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bento-item.wide { grid-column: span 8; }
.bento-item.tall { grid-row: span 2; }

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 { color: var(--text-main); }
.bento-item p  { color: var(--text-muted); }

/* ── Pricing ── */
.pricing-section {
    padding: 8rem 8%;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    text-align: right;
    position: relative;
    background: #ffffff;
    border: 1.5px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(145deg, #ffffff, #fff8f3);
    box-shadow: 0 12px 40px var(--primary-glow);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    -webkit-text-fill-color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li i { color: var(--primary); }

/* ── CTA Section ── */
.cta-glass {
    background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(251,146,60,0.06)) !important;
    border: 1.5px solid rgba(249,115,22,0.2) !important;
}

/* ── Footer ── */
footer a { transition: var(--transition); }
footer a:hover { color: var(--primary) !important; }

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Container utility */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; }
    .content-block,
    .content-block.reverse { flex-direction: column; gap: 3rem; text-align: center; }
    .feature-pill-list { justify-content: center; }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links { display: none; }
    .bento-grid { grid-template-columns: 1fr; padding: 2rem 5%; }
    .stats-grid { gap: 3rem; }
    .steps-container { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .section-spacer { padding: 5rem 0; }
    .content-block { margin-bottom: 5rem; }
    .hero-section { padding-top: 120px !important; }
}
