/* ============================================
   Kuran App Website — Styles
   Design System: Sage Green, Warm White, Rounded
   ============================================ */

/* CSS Variables */
:root {
    --sage: #7C9A7C;
    --sage-dark: #5C7A5C;
    --sage-light: #E8F0E8;
    --warm-white: #FAFAF8;
    --cream: #F5F5F0;
    --charcoal: #2D2D2D;
    --gray-medium: #6B6B6B;
    --gray-light: #E0E0E0;
    --warning: #D4A574;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-sage: 0 4px 20px rgba(124,154,124,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Amiri', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Text Utilities */
.text-sage { color: var(--sage); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-medium);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--sage);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--sage);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sage);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    text-decoration: none;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
    padding: 14px 28px;
    font-size: 15px;
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sage);
}

.btn-secondary {
    background: var(--sage-light);
    color: var(--sage-dark);
    padding: 14px 28px;
    font-size: 15px;
}

.btn-secondary:hover {
    background: #d8e8d8;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--sage-dark);
    padding: 14px 28px;
    font-size: 15px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.apple-icon {
    margin-right: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--warm-white);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124,154,124,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124,154,124,0.04) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(212,165,116,0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 24px;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sage-light);
    color: var(--sage-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-medium);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--gray-medium);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-light);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--charcoal);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--charcoal);
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--warm-white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

/* Mock Home Screen */
.mock-home {
    padding: 48px 16px 16px;
    font-family: var(--font-sans);
}

.mock-header {
    margin-bottom: 16px;
}

.mock-greeting {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}

.mock-date {
    font-size: 12px;
    color: var(--gray-medium);
    margin-top: 2px;
}

.mock-progress-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 12px;
}

.mock-ring {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.mock-ring-svg {
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.mock-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.mock-ring-text small {
    font-size: 8px;
    font-weight: 500;
    color: var(--gray-medium);
}

.mock-progress-info {
    flex: 1;
}

.mock-progress-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
}

.mock-progress-sub {
    font-size: 10px;
    color: var(--gray-medium);
}

.mock-streak {
    font-size: 10px;
    background: rgba(212,165,116,0.15);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.mock-hadith-card {
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}

.mock-hadith-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 15px solid rgba(255,255,255,0.08);
}

.mock-hadith-icon {
    font-size: 16px;
    opacity: 0.6;
    margin-bottom: 6px;
}

.mock-hadith-text {
    font-size: 11px;
    line-height: 1.5;
    font-style: italic;
}

.mock-hadith-source {
    font-size: 9px;
    text-align: right;
    margin-top: 6px;
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-action-btn {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    top: 60px;
    right: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 80px;
    left: -30px;
    animation-delay: 3s;
}

.float-card-icon {
    font-size: 24px;
}

.float-card-text {
    font-size: 12px;
    color: var(--gray-medium);
    line-height: 1.4;
}

.float-card-text strong {
    color: var(--charcoal);
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--sage);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================
   BISMILLAH DIVIDER
   ============================================ */
.bismillah-divider {
    text-align: center;
    padding: 48px 24px;
    background: var(--warm-white);
}

.bismillah-text {
    font-family: var(--font-arabic);
    font-size: 32px;
    color: var(--sage);
    opacity: 0.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-medium);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--warm-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid rgba(224,224,224,0.5);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-light);
}

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    background: linear-gradient(135deg, var(--sage-light), var(--white));
}

.feature-icon-wrap {
    margin-bottom: 16px;
}

.feature-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-light);
    border-radius: var(--radius-md);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--sage-dark);
    background: var(--sage-light);
    padding: 6px 12px;
    border-radius: 100px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--cream);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    max-width: 280px;
    padding: 32px 24px;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--sage-light);
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.step-visual {
    margin-bottom: 20px;
}

.step-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
    opacity: 0.5;
}

/* ============================================
   SCREENS SHOWCASE
   ============================================ */
.screens {
    padding: 100px 0;
    background: var(--warm-white);
}

.screens-showcase {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.screen-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0.7;
    transform: scale(0.95);
    transition: var(--transition);
    cursor: pointer;
}

.screen-item.active,
.screen-item:hover {
    opacity: 1;
    transform: scale(1);
}

.screen-info {
    text-align: center;
    max-width: 220px;
}

.screen-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.screen-info p {
    font-size: 12px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Small Phone Frame */
.phone-frame-sm {
    width: 200px;
    height: 420px;
    background: var(--charcoal);
    border-radius: 28px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-notch-sm {
    width: 80px;
    height: 20px;
    background: var(--charcoal);
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen-sm {
    width: 100%;
    height: 100%;
    background: var(--warm-white);
    border-radius: 22px;
    overflow: hidden;
}

/* Mock Screen: Home */
.mock-screen-home {
    padding: 32px 12px 12px;
    font-size: 10px;
}

.ms-header { margin-bottom: 10px; }
.ms-greeting { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.ms-date { font-size: 9px; color: var(--gray-medium); }

.ms-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 0;
}

.ms-ring-mini {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ms-ring-mini svg {
    width: 32px;
    height: 32px;
    transform: rotate(-90deg);
}

.ms-prog-title { font-size: 10px; font-weight: 600; color: var(--charcoal); }
.ms-prog-sub { font-size: 8px; color: var(--gray-medium); }

.ms-streak-badge {
    font-size: 9px;
    background: rgba(212,165,116,0.15);
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: auto;
}

.ms-hadith {
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
    border-radius: 10px;
    padding: 10px;
    color: white;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.ms-hadith::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 10px solid rgba(255,255,255,0.08);
}

.ms-hadith-q { font-size: 12px; opacity: 0.5; }
.ms-hadith-t { font-size: 9px; line-height: 1.5; font-style: italic; }

.ms-btn {
    background: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.ms-section-label {
    font-size: 8px;
    font-weight: 700;
    color: var(--gray-medium);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ms-surah-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: var(--cream);
    border-radius: 8px;
    margin-bottom: 4px;
}

.ms-surah-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-arabic);
    font-size: 10px;
    color: var(--sage);
    flex-shrink: 0;
}

.ms-surah-info {
    flex: 1;
    font-size: 10px;
    font-weight: 600;
    color: var(--charcoal);
}

.ms-surah-info small {
    font-size: 8px;
    color: var(--gray-medium);
    font-weight: 400;
}

.ms-surah-pct {
    font-size: 11px;
    font-weight: 700;
    color: var(--sage);
}

/* Mock Screen: Surahs */
.mock-screen-surahs {
    padding: 32px 12px 12px;
}

.ms-nav-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.ms-search {
    background: var(--cream);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 10px;
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.ms-surah-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(224,224,224,0.3);
}

.ms-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(124,154,124,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--sage);
    flex-shrink: 0;
}

.ms-names {
    flex: 1;
    font-size: 10px;
    font-weight: 600;
    color: var(--charcoal);
}

.ms-names small {
    font-size: 8px;
    color: var(--gray-medium);
    font-weight: 400;
    display: block;
}

.ms-ar-name {
    font-family: var(--font-arabic);
    font-size: 14px;
    color: var(--sage);
}

/* Mock Screen: Session */
.mock-screen-session {
    padding: 32px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.ms-session-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.ms-repeat-badge {
    font-size: 10px;
    color: var(--sage);
    background: var(--sage-light);
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ms-ayah-display {
    font-family: var(--font-arabic);
    font-size: 20px;
    color: var(--charcoal);
    text-align: center;
    line-height: 1.8;
    padding: 0 8px;
    margin-bottom: 12px;
    direction: rtl;
}

.ms-ayah-info {
    text-align: center;
    margin-bottom: 16px;
}

.ms-ayah-surah {
    font-size: 11px;
    font-weight: 600;
    color: var(--sage);
}

.ms-ayah-num {
    font-size: 9px;
    color: var(--gray-medium);
}

.ms-next-hint {
    text-align: center;
    margin-bottom: 16px;
}

.ms-next-hint small {
    font-size: 8px;
    color: var(--gray-medium);
}

.ms-next-text {
    font-family: var(--font-arabic);
    font-size: 12px;
    color: var(--gray-medium);
    opacity: 0.5;
    direction: rtl;
}

.ms-progress-bar {
    width: 80%;
    height: 3px;
    background: var(--gray-light);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}

.ms-progress-fill {
    height: 100%;
    background: var(--sage);
    border-radius: 2px;
}

.ms-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.ms-ctrl-btn {
    font-size: 14px;
    color: var(--charcoal);
}

.ms-ctrl-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-sage);
}

.ms-memorize-btn {
    font-size: 11px;
    font-weight: 700;
    color: white;
    background: var(--sage);
    padding: 8px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-sage);
}

/* Mock Screen: Prep */
.mock-screen-prep {
    padding: 32px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.ms-prep-label {
    font-size: 8px;
    font-weight: 700;
    color: var(--gray-medium);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ms-prep-dua {
    background: white;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    margin-bottom: 16px;
    width: 100%;
}

.ms-prep-arabic {
    font-family: var(--font-arabic);
    font-size: 14px;
    color: var(--charcoal);
    line-height: 1.8;
    direction: rtl;
    margin-bottom: 6px;
}

.ms-prep-translation {
    font-size: 8px;
    color: var(--gray-medium);
    line-height: 1.5;
}

.ms-breathing-circle {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
}

.ms-breathing-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(124,154,124,0.2);
    animation: breathe 4s ease-in-out infinite;
}

.ms-breathing-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(124,154,124,0.1);
    animation: breathe 4s ease-in-out infinite;
}

.ms-breathing-text {
    position: absolute;
    font-size: 10px;
    font-weight: 600;
    color: var(--sage);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.ms-prep-config {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 16px;
    width: 100%;
}

.ms-config-item {
    flex: 1;
    text-align: center;
}

.ms-config-item small {
    font-size: 8px;
    color: var(--gray-medium);
    display: block;
    margin-bottom: 4px;
}

.ms-config-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
}

.ms-config-divider {
    width: 1px;
    height: 24px;
    background: var(--gray-light);
}

.ms-bismillah-btn {
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: var(--sage);
    padding: 10px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sage);
    width: 100%;
    text-align: center;
}

/* Screen Dots */
.screen-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.screen-dot.active {
    background: var(--sage);
    width: 28px;
    border-radius: 5px;
}

/* ============================================
   MEMORIZATION ENGINE
   ============================================ */
.memorization {
    padding: 100px 0;
    background: var(--cream);
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.engine-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    border: 1px solid rgba(224,224,224,0.3);
}

.engine-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-light);
}

.engine-icon {
    margin-bottom: 16px;
}

.engine-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.engine-card p {
    font-size: 13px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* State Machine */
.state-machine {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(224,224,224,0.3);
}

.state-machine-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 32px;
}

.state-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.state-node {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid;
}

.state-idle { border-color: var(--gray-light); color: var(--gray-medium); background: var(--cream); }
.state-playing { border-color: var(--sage); color: var(--sage-dark); background: var(--sage-light); }
.state-paused { border-color: var(--warning); color: #8B6914; background: rgba(212,165,116,0.1); }
.state-waiting { border-color: var(--gray-light); color: var(--gray-medium); background: var(--cream); }
.state-complete { border-color: var(--sage); color: var(--white); background: var(--sage); }

.state-arrow {
    font-size: 20px;
    color: var(--gray-light);
    font-weight: 300;
}

/* ============================================
   DESIGN SYSTEM
   ============================================ */
.design-system {
    padding: 100px 0;
    background: var(--warm-white);
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.design-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(224,224,224,0.3);
}

.design-card-full {
    grid-column: span 2;
}

.design-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 24px;
}

/* Color Swatches */
.color-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.color-swatch {
    text-align: center;
}

.swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.swatch-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
}

.swatch-hex {
    display: block;
    font-size: 11px;
    color: var(--gray-medium);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Typography Samples */
.type-samples {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.type-sample {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(224,224,224,0.3);
}

.type-sample:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.type-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.type-arabic {
    font-family: var(--font-arabic);
    font-size: 28px;
    color: var(--charcoal);
    direction: rtl;
    line-height: 1.8;
}

.type-title-lg {
    font-size: 28px;
    font-weight: 600;
    color: var(--charcoal);
}

.type-title-md {
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
}

.type-body {
    font-size: 16px;
    color: var(--charcoal);
}

.type-caption {
    font-size: 14px;
    color: var(--gray-medium);
}

/* Component Showcase */
.component-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-end;
}

.comp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.comp-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-btn-primary {
    background: var(--sage);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comp-btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}

.comp-btn-secondary {
    background: var(--sage-light);
    color: var(--sage-dark);
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comp-btn-secondary:hover {
    background: #d8e8d8;
}

.comp-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-sage);
    padding-left: 3px;
}

.comp-streak {
    font-size: 12px;
    font-weight: 600;
    background: rgba(212,165,116,0.15);
    padding: 6px 10px;
    border-radius: 8px;
}

.comp-ring {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--sage-dark);
    background: var(--sage-light);
    padding: 6px 12px;
    border-radius: 100px;
}

/* ============================================
   ROADMAP / TIMELINE
   ============================================ */
.roadmap {
    padding: 100px 0;
    background: var(--cream);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-light);
    z-index: 1;
}

.timeline-marker.active {
    border-color: var(--sage);
    background: var(--sage);
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(224,224,224,0.3);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
}

.timeline-phase {
    font-size: 11px;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 8px;
}

.timeline-est {
    font-size: 12px;
    font-weight: 600;
    color: var(--sage);
    background: var(--sage-light);
    padding: 4px 10px;
    border-radius: 100px;
}

.roadmap-total {
    text-align: center;
    margin-top: 48px;
}

.roadmap-total-inner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--sage);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sage);
}

.roadmap-total-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.roadmap-total-value {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ============================================
   TECH STACK
   ============================================ */
.tech-stack {
    padding: 100px 0;
    background: var(--warm-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(224,224,224,0.3);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.tech-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.tech-card p {
    font-size: 13px;
    color: var(--gray-medium);
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: var(--warm-white);
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
    border-radius: var(--radius-2xl);
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cta-pattern::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,0.05);
}

.cta-pattern::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 30px solid rgba(255,255,255,0.03);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-family: var(--font-arabic);
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: 40px;
}

.cta-hadith {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.cta-hadith p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 8px;
}

.cta-hadith span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   ANIMATIONS (Scroll Reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .float-card-1 {
        right: 10%;
    }
    
    .float-card-2 {
        left: 10%;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-large {
        grid-column: span 2;
    }
    
    .engine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .design-grid {
        grid-template-columns: 1fr;
    }
    
    .design-card-full {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--warm-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-light);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .float-card {
        display: none;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }
    
    .screens-showcase {
        flex-direction: column;
        align-items: center;
    }
    
    .screen-item {
        opacity: 1;
        transform: scale(1);
    }
    
    .engine-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .state-flow {
        gap: 8px;
    }
    
    .state-node {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .state-arrow {
        font-size: 16px;
    }
    
    .color-swatches {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .component-showcase {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        gap: 32px;
    }
    
    .cta-card {
        padding: 48px 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .bismillah-text {
        font-size: 24px;
    }
    
    .roadmap-total-inner {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .hero-stat-number {
        font-size: 22px;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .screen-dots {
        display: none;
    }
}
