/*
Theme Name: Panelino Landing
Theme URI: https://panelino.ir
Author: Panelino
Author URI: https://panelino.ir
Description: قالب تک‌صفحه‌ای اختصاصی و مدرن لندینگ پیج معرفی و فروش افزونه پنل کاربری پنلینو با استایل الهام‌گرفته از fara-panel.ir
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: panelino-landing
Tags: landing-page, one-column, custom-colors, custom-menu, full-width-template, rtl-language-support
*/

@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #4f46e5;
  --primary-rgb: 79, 70, 229;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --secondary: #06b6d4;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --dark-bg: #090d16;
  --dark-card: #111827;
  --body-bg: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 15px 35px rgba(79, 70, 229, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.75;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography & Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }
.fw-black { font-weight: 900; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.section-tag.dark-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #a5b4fc;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.35;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.45);
  color: #fff;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.site-header.scrolled .logo-text {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
}

.site-header.scrolled .nav-link {
  color: #334155;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
  transition: var(--transition);
}

.site-header.scrolled .menu-toggle {
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 90px;
  background: linear-gradient(145deg, #090d16 0%, #111827 40%, #1e1b4b 80%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
  top: -100px;
  left: 10%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  bottom: 50px;
  right: 5%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e0e7ff;
}

.hero-badge-pill {
  background: var(--accent);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-preview-wrapper {
  position: relative;
  margin-top: 20px;
  z-index: 2;
}

.hero-mockup-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-mockup-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  display: block;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  padding: 12px 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.fb-1 {
  top: 15%;
  right: -30px;
  animation-delay: 0s;
}

.floating-badge.fb-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: 2s;
}

.fb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}

.fb-1 .fb-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.fb-2 .fb-icon {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.fb-text h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.fb-text span {
  font-size: 0.8rem;
  color: #94a3b8;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Highlights 3-Card Row */
.highlights-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding-bottom: 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.highlight-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.highlight-card:nth-child(1) .highlight-icon-box {
  background: #eef2ff;
  color: var(--primary);
}

.highlight-card:nth-child(2) .highlight-icon-box {
  background: #ecfdf5;
  color: #10b981;
}

.highlight-card:nth-child(3) .highlight-icon-box {
  background: #fff7ed;
  color: var(--accent);
}

.highlight-card:hover .highlight-icon-box {
  transform: scale(1.08) rotate(5deg);
}

.highlight-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Demos & Discount Section */
.demos-section {
  padding: 90px 0;
  background-color: #ffffff;
  position: relative;
}

.discount-banner-box {
  max-width: 620px;
  margin: 0 auto 50px;
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}

.discount-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.discount-icon {
  width: 44px;
  height: 44px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.discount-texts h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.discount-texts span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.discount-code-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coupon-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--primary);
  user-select: all;
}

.copy-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  background: var(--primary-hover);
}

.copy-btn.copied {
  background: #10b981;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.demo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.demo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.demo-thumbnail {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #f1f5f9;
}

.demo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.demo-card:hover .demo-thumbnail img {
  transform: scale(1.05);
}

.demo-badge-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.demo-body {
  padding: 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-main);
}

.demo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Feature Deep Dive Sections */
.deepdive-section {
  padding: 100px 0;
  position: relative;
}

.deepdive-section:nth-child(even) {
  background-color: #f1f5f9;
}

.deepdive-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.deepdive-row.reversed {
  flex-direction: row-reverse;
}

.deepdive-col-text {
  flex: 1;
}

.deepdive-col-visual {
  flex: 1;
}

.deepdive-col-text h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.35;
}

.deepdive-col-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
}

.check-icon {
  width: 26px;
  height: 26px;
  background: #dbeafe;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.visual-mockup-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  border: 6px solid #ffffff;
  transition: var(--transition);
}

.visual-mockup-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(15, 23, 42, 0.2);
}

.visual-mockup-frame img {
  width: 100%;
  display: block;
}

/* Why Panelino 6-Grid */
.why-section {
  padding: 100px 0;
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  background: var(--primary-light);
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA Banner Section */
.cta-section {
  padding: 80px 0 100px;
}

.cta-banner-wrapper {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #3730a3 100%);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(49, 46, 129, 0.4);
}

.cta-banner-wrapper::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
  filter: blur(50px);
}

.cta-banner-wrapper::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  filter: blur(50px);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
}

.cta-text p {
  font-size: 1.15rem;
  color: #e0e7ff;
  max-width: 600px;
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  color: var(--primary);
  background: var(--primary-light);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 16px 24px 24px;
  max-height: 500px;
}

/* Footer */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.footer-widget p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .highlights-grid, .demos-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deepdive-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 40px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease;
    z-index: 1001;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    width: 100%;
  }
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-title { font-size: 2.1rem; }
  .hero-desc { font-size: 1rem; }
  .highlights-grid, .demos-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .deepdive-row, .deepdive-row.reversed {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  .cta-text p {
    margin: 0 auto;
  }
}


/* Club Dedicated Section */
.club-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.club-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.club-card-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.club-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
}

.club-card-box.missions-box::before {
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

.club-card-box.rewards-box::before {
  background: linear-gradient(90deg, #f97316, #ec4899);
}

.club-card-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.club-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.missions-box .club-badge-tag {
  background: #eef2ff;
  color: var(--primary);
}

.rewards-box .club-badge-tag {
  background: #fff7ed;
  color: var(--accent);
}

.club-card-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-main);
}

.club-card-header p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.club-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.club-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.task-reward-points {
  background: #dcfce7;
  color: #166534;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
}

.reward-discount-value {
  background: #fee2e2;
  color: #991b1b;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .club-cards-row {
    grid-template-columns: 1fr;
  }
}

/* Two Demos Layout */
.demos-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .demos-grid-two {
    grid-template-columns: 1fr;
  }
}

/* ==================== DEVICE SIMULATOR MODAL ==================== */
.device-simulator-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #090d16;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.device-simulator-modal.active {
  opacity: 1;
  visibility: visible;
}

.simulator-header {
  height: 64px;
  background: #111827;
  border-bottom: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #ffffff;
  flex-shrink: 0;
  z-index: 10;
}

.simulator-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.simulator-badge {
  background: rgba(79, 70, 229, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(79, 70, 229, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.simulator-devices-switcher {
  display: flex;
  align-items: center;
  background: #1f2937;
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
}

.device-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 7px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.device-btn:hover {
  color: #ffffff;
}

.device-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.simulator-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simulator-action-btn {
  background: #1f2937;
  color: #ffffff;
  border: 1px solid #374151;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.simulator-action-btn:hover {
  background: #374151;
  border-color: #4b5563;
}

.simulator-close-btn {
  width: 38px;
  height: 38px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.simulator-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.simulator-canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #090d16;
  overflow: hidden;
  position: relative;
}

.simulator-frame-container {
  background: #ffffff;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

/* Desktop Mode */
.simulator-frame-container.mode-desktop {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* Tablet Mode */
.simulator-frame-container.mode-tablet {
  width: 768px;
  height: 94%;
  max-height: 880px;
  border-radius: 28px;
  border: 12px solid #111827;
}

/* Mobile Mode (True Phone Dimensions) */
.simulator-frame-container.mode-mobile {
  width: 412px;
  height: 94%;
  max-height: 860px;
  border-radius: 40px;
  border: 12px solid #111827;
}

.phone-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #111827;
  border-radius: 20px;
  z-index: 20;
  display: none;
  pointer-events: none;
}

.simulator-frame-container.mode-mobile .phone-notch {
  display: block;
}

.simulator-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  background: #ffffff;
}

.simulator-loader {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  font-weight: 700;
  z-index: 5;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.simulator-loader.hidden {
  opacity: 0;
}

.sim-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 840px) {
  .simulator-devices-switcher {
    display: none;
  }
}


/* Picture and Image Performance Optimizations */
.hero-mockup-card picture,
.demo-thumbnail picture,
.visual-mockup-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.demo-thumbnail picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.demo-card:hover .demo-thumbnail picture img {
  transform: scale(1.05);
}
