/* ===================================================================
   Almasader / Estand Landing Page Design System
   Dual-Theme (Dark Mode & Light Mode)
   Brand Colors: Lime (#BED644) & Ocean Teal (#0E9096)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

/* -------------------------------------------------------------------
   Dark Theme (Default)
   ------------------------------------------------------------------- */
:root, [data-theme="dark"] {
    --primary: #BED644;
    --primary-light: #d6eb69;
    --primary-dark: #9eb82f;
    --primary-text: #BED644;
    --primary-glow: rgba(190, 214, 68, 0.35);
    --primary-glow-subtle: rgba(190, 214, 68, 0.12);

    --secondary: #0E9096;
    --secondary-light: #16b9c1;
    --secondary-dark: #096a6f;
    --secondary-glow: rgba(14, 144, 150, 0.4);
    --secondary-glow-subtle: rgba(14, 144, 150, 0.15);

    --bg-dark: #061113;
    --bg-body-gradient: radial-gradient(circle at 50% 0%, #0d2a2f 0%, #061113 70%);
    --bg-surface: #0a1b1e;
    --bg-card: rgba(13, 31, 35, 0.72);
    --bg-card-hover: rgba(18, 43, 49, 0.88);
    --bg-card-solid: #0d2125;

    --header-bg-scrolled: rgba(6, 17, 19, 0.9);

    --border-card: rgba(14, 144, 150, 0.22);
    --border-card-hover: rgba(190, 214, 68, 0.5);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --text-heading: #ffffff;
    --text-body: #cbd5e1;
    --text-muted: #849ca0;
    --text-accent: #BED644;

    --gradient-hero-text: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    --gradient-teal-text: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary) 100%);

    --notice-banner-bg: linear-gradient(135deg, rgba(14, 144, 150, 0.18) 0%, rgba(13, 31, 35, 0.8) 100%);
    --notice-btn-bg: var(--primary);
    --notice-btn-color: #061113;
    --notice-btn-hover: #ffffff;

    --download-card-bg: radial-gradient(circle at 100% 0%, rgba(14, 144, 150, 0.35) 0%, rgba(10, 24, 27, 0.95) 70%);
    --qr-box-bg: rgba(6, 17, 19, 0.82);
    --qr-box-border: var(--border-card-hover);
    --qr-frame-bg: #ffffff;
    --qr-svg-fill: #061113;

    --step-box-bg: #091a1d;
    --step-box-color: var(--primary);

    --store-btn-bg: rgba(13, 31, 35, 0.85);
    --store-btn-border: var(--border-card);
    --store-btn-title: #ffffff;

    --qr-trigger-bg: rgba(255, 255, 255, 0.05);

    --footer-bg: #03090a;
    --footer-bottom-border: rgba(255, 255, 255, 0.06);

    --grid-line-color: rgba(255, 255, 255, 0.02);
    --shadow-card-elevated: 0 15px 35px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --phone-frame-bg: #091719;

    --theme-toggle-bg: rgba(255, 255, 255, 0.08);
    --theme-toggle-border: rgba(255, 255, 255, 0.15);
    --theme-toggle-color: #BED644;
}

/* -------------------------------------------------------------------
   Light Theme
   ------------------------------------------------------------------- */
[data-theme="light"] {
    --primary: #8fa816;
    --primary-light: #a9c720;
    --primary-dark: #6e8412;
    --primary-text: #5f740a;
    --primary-glow: rgba(143, 168, 22, 0.28);
    --primary-glow-subtle: rgba(143, 168, 22, 0.12);

    --secondary: #0E9096;
    --secondary-light: #12a6ad;
    --secondary-dark: #086b70;
    --secondary-glow: rgba(14, 144, 150, 0.25);
    --secondary-glow-subtle: rgba(14, 144, 150, 0.08);

    --bg-dark: #f6fafb;
    --bg-body-gradient: radial-gradient(circle at 50% 0%, #ddf2f3 0%, #f6fafb 65%);
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --bg-card-solid: #ffffff;

    --header-bg-scrolled: rgba(255, 255, 255, 0.94);

    --border-card: rgba(14, 144, 150, 0.16);
    --border-card-hover: rgba(14, 144, 150, 0.45);
    --border-subtle: rgba(14, 144, 150, 0.1);

    --text-heading: #0a1e22;
    --text-body: #334e53;
    --text-muted: #5e7a7f;
    --text-accent: #0E9096;

    --gradient-hero-text: linear-gradient(135deg, #092023 20%, #0E9096 100%);
    --gradient-teal-text: linear-gradient(135deg, #0E9096 0%, #7d960f 100%);

    --notice-banner-bg: linear-gradient(135deg, #e7f7f8 0%, #ffffff 100%);
    --notice-btn-bg: #0E9096;
    --notice-btn-color: #ffffff;
    --notice-btn-hover: #086b70;

    --download-card-bg: radial-gradient(circle at 100% 0%, #d8f3f4 0%, #eef8f8 80%);
    --qr-box-bg: #ffffff;
    --qr-box-border: rgba(14, 144, 150, 0.28);
    --qr-frame-bg: #f4fafb;
    --qr-svg-fill: #0E9096;

    --step-box-bg: #ffffff;
    --step-box-color: var(--secondary);

    --store-btn-bg: #ffffff;
    --store-btn-border: rgba(14, 144, 150, 0.22);
    --store-btn-title: #0a1e22;

    --qr-trigger-bg: #ffffff;

    --footer-bg: #07191c;
    --footer-bottom-border: rgba(255, 255, 255, 0.08);

    --grid-line-color: rgba(14, 144, 150, 0.05);
    --shadow-card-elevated: 0 14px 35px rgba(14, 144, 150, 0.09);
    --shadow-soft: 0 10px 25px -5px rgba(14, 144, 150, 0.08);
    --phone-frame-bg: #0e272b;

    --theme-toggle-bg: rgba(14, 144, 150, 0.08);
    --theme-toggle-border: rgba(14, 144, 150, 0.25);
    --theme-toggle-color: #0E9096;
}

/* -------------------------------------------------------------------
   Global Shared Settings
   ------------------------------------------------------------------- */
:root {
    --font-primary: 'Cairo', 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    direction: rtl;
    text-align: right;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-body);
    transition: background-color 0.35s ease, color 0.35s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-body-gradient);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.4s ease;
}

/* Background Atmosphere */
.ambient-glow-1 {
    position: fixed;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: pulseSlow 8s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    position: fixed;
    top: 40%;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: pulseSlow 12s ease-in-out infinite alternate-reverse;
}

.ambient-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
}

@keyframes pulseSlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(40px, -20px); opacity: 1; }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Section Header Shared */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--secondary-glow-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    color: var(--primary-text);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.gradient-text {
    background: var(--gradient-hero-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-teal {
    background: var(--gradient-teal-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================================================================
   Header & Navbar
   =================================================================== */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 12px 0;
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 66px;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(14, 144, 150, 0.25));
    transition: var(--transition);
}

.main-header.scrolled .brand-logo-img {
    height: 54px;
}

.footer-col-brand .brand-logo-img {
    height: 76px;
    max-height: 80px;
}

/* Dynamic Dark/Light Logo Switching */
.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

[data-theme="light"] .logo-dark {
    display: none !important;
}

[data-theme="light"] .logo-light {
    display: block !important;
}

.brand-fallback {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-name span {
    color: var(--secondary);
}

.brand-badge {
    font-size: 0.72rem;
    color: var(--secondary);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Theme Switcher Button */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--theme-toggle-bg);
    border: 1px solid var(--theme-toggle-border);
    color: var(--theme-toggle-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--secondary-glow-subtle);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.theme-toggle-btn svg {
    transition: transform 0.4s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(20deg);
}

.icon-sun {
    display: none;
}
.icon-moon {
    display: block;
}

[data-theme="light"] .icon-sun {
    display: block;
}
[data-theme="light"] .icon-moon {
    display: none;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: 1px solid rgba(22, 185, 193, 0.4);
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 144, 150, 0.35);
    transition: var(--transition);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 144, 150, 0.55);
    border-color: var(--primary);
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-heading);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.alert-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--secondary-glow-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.alert-pill .pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: blink 2s infinite;
}

.alert-pill span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
}

.alert-pill .pill-badge {
    background: var(--secondary);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

/* App Download Store Badges */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: var(--store-btn-bg);
    border: 1px solid var(--store-btn-border);
    border-radius: var(--radius-md);
    color: var(--text-heading);
    transition: var(--transition);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.store-btn:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px var(--secondary-glow);
}

.store-btn.btn-primary-store {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-color: rgba(94, 234, 212, 0.4);
    color: #ffffff;
}

.store-btn.btn-primary-store .store-btn-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.store-btn.btn-primary-store .store-btn-title {
    color: #ffffff;
}

.store-btn.btn-primary-store:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(14, 144, 150, 0.5);
}

.store-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-btn-icon img,
.store-btn-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.store-btn-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.store-btn-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--store-btn-title);
}

.store-btn:hover .store-btn-title {
    color: var(--secondary);
}

.store-btn.btn-primary-store:hover .store-btn-title {
    color: #ffffff;
}

/* QR Code Trigger Button */
.qr-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--qr-trigger-bg);
    border: 1px dashed var(--border-card-hover);
    border-radius: var(--radius-md);
    color: var(--text-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.qr-trigger-btn:hover {
    background: var(--secondary-glow-subtle);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.qr-trigger-btn svg {
    color: var(--secondary);
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--secondary-glow-subtle);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
}

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

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

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    z-index: 2;
}

.phone-frame {
    position: relative;
    background: var(--phone-frame-bg);
    border-radius: 46px;
    padding: 12px;
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--border-subtle),
        0 0 40px -10px var(--secondary-glow);
    transition: var(--transition);
    overflow: hidden;
}

.phone-frame:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 35px 80px -15px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--secondary),
        0 0 60px -10px var(--secondary-glow);
}

.phone-screen {
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: var(--phone-frame-bg);
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Badges on Mockup */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-card-elevated);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 6s ease-in-out infinite alternate;
}

.floating-card.card-top-left {
    top: 10%;
    right: -30px;
}

.floating-card.card-bottom-right {
    bottom: 15%;
    left: -40px;
    animation-delay: -3s;
}

.card-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-glow-subtle);
    border: 1px solid var(--border-card-hover);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-badge-icon.teal {
    background: var(--secondary-glow-subtle);
    color: var(--secondary);
    border-color: var(--border-card);
}

.card-badge-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.3;
}

.card-badge-text strong {
    font-size: 0.9rem;
    color: var(--text-heading);
    font-weight: 700;
}

.card-badge-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-14px) rotate(1deg); }
}

/* ===================================================================
   Announcement & Transition Notice Banner
   =================================================================== */
.notice-section {
    padding: 30px 0 70px;
}

.notice-banner {
    background: var(--notice-banner-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 44px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.notice-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.notice-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(14, 144, 150, 0.28);
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.notice-content p {
    color: var(--text-body);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.notice-action-btn {
    padding: 12px 28px;
    background: var(--notice-btn-bg);
    color: var(--notice-btn-color);
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 18px var(--secondary-glow);
    transition: var(--transition);
}

.notice-action-btn:hover {
    transform: translateY(-3px);
    background: var(--notice-btn-hover);
    box-shadow: 0 8px 25px rgba(14, 144, 150, 0.4);
}

/* ===================================================================
   Features Section
   =================================================================== */
.features-section {
    padding: 80px 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, var(--secondary-glow-subtle) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-card-elevated);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 144, 150, 0.18) 0%, rgba(190, 214, 68, 0.15) 100%);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.7rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-color: var(--secondary);
    transform: scale(1.08) rotate(-4deg);
    color: #fff;
    box-shadow: 0 8px 20px var(--secondary-glow);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.feature-desc {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.75;
    flex-grow: 1;
}

.feature-tag {
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===================================================================
   How it Works Section
   =================================================================== */
.steps-section {
    padding: 90px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, var(--secondary-glow-subtle) 50%, transparent 100%);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%);
    opacity: 0.35;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
}

.step-number-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--step-box-bg);
    border: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--step-box-color);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px var(--secondary-glow-subtle);
    transition: var(--transition);
}

.step-item:hover .step-number-box {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 35px var(--secondary-glow);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ===================================================================
   Services Showcase Section
   =================================================================== */
.services-section {
    padding: 80px 0;
}

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

.service-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.service-box:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-elevated);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--secondary-glow-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
}

.service-box h4 {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.service-box p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===================================================================
   Master Download Card (With QR Code)
   =================================================================== */
.download-section {
    padding: 80px 0;
}

.download-master-card {
    background: var(--download-card-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card-elevated);
}

.download-master-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.download-info h2 {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    margin-bottom: 18px;
    line-height: 1.3;
}

.download-info p {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 580px;
}

.download-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* QR Card Wrapper */
.qr-scanner-box {
    background: var(--qr-box-bg);
    border: 1px solid var(--qr-box-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-card-elevated);
    backdrop-filter: blur(14px);
}

.qr-code-frame {
    width: 170px;
    height: 170px;
    background: var(--qr-frame-bg);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.qr-code-frame svg,
.qr-code-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.qr-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform var(--transition);
}

.qr-link-wrapper:hover {
    transform: scale(1.05);
}

@keyframes qrPulse {
    0%, 100% { box-shadow: var(--shadow-card-elevated); transform: scale(1); }
    50% { box-shadow: 0 0 35px var(--secondary-glow); transform: scale(1.03); border-color: var(--secondary); }
}

.qr-scanner-box.pulse-highlight {
    animation: qrPulse 1s ease 2;
}

.qr-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.qr-sublabel {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.faq-item.active {
    border-color: var(--secondary);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-elevated);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: var(--text-heading);
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary-glow-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--secondary);
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    background: var(--secondary);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    transition: max-height 0.4s ease-in-out;
}

/* ===================================================================
   Footer
   =================================================================== */
.main-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-brand p {
    color: #94a3b8;
    font-size: 0.96rem;
    line-height: 1.8;
    margin: 18px 0 24px;
    max-width: 340px;
}

.footer-col-brand .brand-name {
    color: #ffffff !important;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-right: 6px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--secondary-glow-subtle);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--footer-bottom-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom strong {
    color: #ffffff;
}

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

.footer-bottom-links a {
    color: #94a3b8;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-desc {
        margin-inline: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats-row {
        justify-content: center;
    }

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

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .steps-timeline::before {
        display: none;
    }

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

    .download-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .download-info p {
        margin-inline: auto;
    }

    .download-actions-row {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        right: 0;
        left: 0;
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-card);
        display: none;
    }

    .nav-menu.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-actions .btn-header-cta {
        display: none;
    }

    .notice-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 24px;
    }

    .notice-icon-box {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-timeline {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .download-master-card {
        padding: 36px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}
