/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Design System Variables */
:root {
  --primary: #22C55E;
  --primary-gradient: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  --primary-light: rgba(34, 197, 94, 0.1);
  --primary-light-hover: rgba(34, 197, 94, 0.15);
  --dark: #000000;
  --dark-light: #111827;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --bg-tertiary: #F3F4F6;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --border-focus: #10B981;
  --success: #10B981;
  --error: #EF4444;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 30px 60px -15px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--dark-light);
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--bg-secondary);
}

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

.max-w-600 {
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: #16A34A;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--border);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--dark);
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--dark);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(34, 197, 94, 0.03) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.hero-stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-light);
}

.hero-stat-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Interactive Dashboard Mockup */
.hero-visual {
  position: relative;
  width: 100%;
}

.dashboard-mockup {
  background-color: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-premium);
  padding: 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.mockup-dots span:nth-child(1) { background-color: #EF4444; }
.mockup-dots span:nth-child(2) { background-color: #F59E0B; }
.mockup-dots span:nth-child(3) { background-color: #10B981; }

.mockup-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.mockup-chart-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.chart-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
}

.chart-value-group {
  text-align: right;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  padding-top: 10px;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}

.chart-bar {
  width: 16px;
  background-color: var(--border);
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  height: 0;
  transition: height 1s ease-out;
}

.chart-bar.active {
  background: var(--primary-gradient);
}

.chart-day {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.mockup-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-item-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.mockup-item-text h4 {
  font-size: 12px;
  font-weight: 600;
}

.mockup-item-text p {
  font-size: 10px;
  color: var(--text-muted);
}

.mockup-item-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-active {
  background-color: var(--primary-light);
  color: var(--success);
}

.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #D97706;
}

.decorative-blob {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-full);
  top: -40px;
  right: -40px;
  z-index: 1;
  animation: float 8s ease-in-out infinite alternate;
}

/* Key Sections Common Header */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* AI Simulator Section */
.simulator-container {
  background-color: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.simulator-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-secondary);
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.tab-btn i {
  font-size: 18px;
}

.tab-btn:hover {
  color: var(--dark);
  background-color: rgba(0, 0, 0, 0.01);
}

.tab-btn.active {
  color: var(--primary);
  background-color: white;
  border-bottom-color: var(--primary);
}

.simulator-body {
  padding: 32px;
}

.simulator-panel {
  display: none;
}

.simulator-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.panel-input-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--border-focus);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234B5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.panel-output-area {
  background-color: var(--dark-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  color: #E5E7EB;
  min-height: 250px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.output-content {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  flex-grow: 1;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  font-weight: bold;
}

.output-copy-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.output-copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Thumbnail Visualizer Layout */
.thumbnail-preview-box {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background-color: var(--bg-tertiary);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.thumbnail-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(21, 128, 61, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
}

.thumbnail-img-placeholder i {
  font-size: 40px;
}

.thumbnail-overlay-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.thumbnail-overlay-text.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Infoproducts Store Section */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.store-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(34, 197, 94, 0.2);
}

.store-card-image {
  width: 100%;
  height: 180px;
  background-color: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.store-card:hover .store-card-image img {
  transform: scale(1.05);
}

.store-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.store-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-light);
}

.store-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.store-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.store-card-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.price-value-free {
  color: var(--success);
}

.store-card-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.store-card-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Sliding Cart/Checkout Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background-color: white;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title i {
  color: var(--primary);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.drawer-close:hover {
  background-color: var(--bg-tertiary);
  color: var(--error);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-empty-state {
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.drawer-empty-state i {
  font-size: 48px;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-light);
  margin-bottom: 4px;
  padding-right: 24px;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-remove {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--error);
}

/* Checkout Form inside Drawer */
.checkout-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 10px;
}

.checkout-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-secondary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 15px;
}

.summary-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.checkout-btn {
  width: 100%;
}

/* Success modal styling */
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 400px;
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-premium);
  z-index: 1100;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.success-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-light);
  color: var(--success);
  font-size: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Earnings Calculator Section */
.calculator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  background-color: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 40px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.range-slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.slider-val-bubble {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--primary);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: var(--shadow-md);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.platform-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.platform-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.platform-option i {
  font-size: 24px;
  color: var(--text-secondary);
}

.platform-option span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.platform-option:hover {
  border-color: var(--text-muted);
  background-color: var(--bg-secondary);
}

.platform-option.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.platform-option.active i {
  color: var(--primary);
}

.platform-option.active span {
  color: var(--primary);
}

.calc-display {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.earnings-label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.earnings-number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  transition: var(--transition);
}

.earnings-number span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.earnings-comparison {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.earnings-comparison strong {
  color: var(--success);
}

/* Pricing Section Toggle */
.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  margin-bottom: 50px;
}

.pricing-toggle-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.pricing-toggle-btn.active {
  background-color: white;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.pricing-discount-badge {
  font-size: 11px;
  background-color: var(--primary-light);
  color: var(--success);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular::after {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.plan-currency {
  font-size: 24px;
  font-weight: 700;
  margin-right: 2px;
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 6px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
  height: 42px;
}

.plan-divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 30px;
}

.plan-features-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features li i {
  color: var(--success);
  font-size: 16px;
}

.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features li.disabled i {
  color: var(--text-muted);
}

.plan-btn {
  width: 100%;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-desc {
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
}

.contact-detail-text h4 {
  font-size: 14px;
  font-weight: 600;
}

.contact-detail-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-form-wrap {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-textarea {
  resize: none;
  height: 120px;
}

/* Footer Section */
footer {
  background-color: var(--dark-light);
  color: #9CA3AF;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-brand .logo {
  color: white;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

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

.footer-social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-newsletter p {
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.newsletter-btn {
  padding: 10px 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

@keyframes blink {
  from, to { color: transparent }
  50% { color: var(--primary); }
}

/* Media Queries (Responsive) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    order: -1;
    grid-column: span 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile Nav Overlay style */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding: 100px 24px;
    z-index: 105;
    gap: 24px;
  }
  
  .nav-links.mobile-active a {
    font-size: 20px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .simulator-panel.active {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .platform-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Birthday Calculator Specific Styles */
.age-stat-card {
  background-color: white;
  border: 1px solid var(--border);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.age-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.age-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.age-stat-unit {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.curious-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.curious-stat-item {
  background-color: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.01);
  transition: var(--transition);
}

.curious-stat-item:hover {
  background-color: white;
  border-color: var(--border);
}

.curious-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.curious-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark-light);
}

/* Spinner Animation */
.animate-spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
