/* ============================================================
   GreenCard - Main Stylesheet
   ============================================================ */

/* Google Fonts: Sora + Space Mono */
:root {
  --gc-green: #00C853;
  --gc-green-dark: #00A843;
  --gc-green-light: #E8FFF0;
  --gc-green-glow: rgba(0, 200, 83, 0.3);
  --gc-accent: #00E676;
  --gc-dark: #0A0E1A;
  --gc-dark-2: #111827;
  --gc-dark-3: #1F2937;
  --gc-text: #1a1a2e;
  --gc-text-muted: #6b7280;
  --gc-text-light: #9ca3af;
  --gc-bg: #f8fafc;
  --gc-bg-card: #ffffff;
  --gc-border: #e5e7eb;
  --gc-border-light: #f3f4f6;
  --gc-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --gc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --gc-radius: 16px;
  --gc-radius-sm: 10px;
  --gc-radius-lg: 24px;
  --font-main: 'Sora', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --gc-text: #f1f5f9;
  --gc-text-muted: #94a3b8;
  --gc-text-light: #64748b;
  --gc-bg: #0A0E1A;
  --gc-bg-card: #111827;
  --gc-border: #1F2937;
  --gc-border-light: #374151;
  --gc-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --gc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--gc-bg);
  color: var(--gc-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.gc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
[data-theme="dark"] .gc-nav { background: rgba(10, 14, 26, 0.9); }
.gc-nav.scrolled { border-bottom-color: var(--gc-border); box-shadow: var(--gc-shadow); }
.gc-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; gap: 32px;
}
.gc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gc-logo-icon { font-size: 24px; }
.gc-logo-text { font-size: 22px; font-weight: 800; color: var(--gc-green); letter-spacing: -0.5px; }
.gc-nav-links { display: flex; gap: 32px; margin-left: auto; }
.gc-nav-links a {
  text-decoration: none; color: var(--gc-text-muted); font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.gc-nav-links a:hover { color: var(--gc-green); }
.gc-nav-cta { display: flex; gap: 12px; align-items: center; }

.btn-ghost {
  padding: 10px 20px; border-radius: 10px; text-decoration: none;
  color: var(--gc-text); font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--gc-border); transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--gc-green); color: var(--gc-green); background: var(--gc-green-light); }

.btn-primary {
  padding: 10px 22px; border-radius: 10px; text-decoration: none;
  background: var(--gc-green); color: #fff; font-size: 14px; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary:hover { background: var(--gc-green-dark); transform: translateY(-1px); box-shadow: 0 8px 24px var(--gc-green-glow); }

.gc-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.gc-hamburger span { display: block; width: 22px; height: 2px; background: var(--gc-text); border-radius: 2px; transition: var(--transition); }
.gc-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gc-hamburger.active span:nth-child(2) { opacity: 0; }
.gc-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gc-mobile-menu {
  display: none; flex-direction: column; padding: 16px 24px 24px; gap: 4px;
  border-top: 1px solid var(--gc-border); background: var(--gc-bg-card);
}
.gc-mobile-menu.open { display: flex; }
.gc-mobile-menu a { padding: 10px; color: var(--gc-text-muted); text-decoration: none; font-size: 15px; border-radius: 8px; }
.gc-mobile-menu a:hover { color: var(--gc-green); background: var(--gc-green-light); }
.btn-primary-sm {
  margin-top: 8px; padding: 12px; background: var(--gc-green); color: #fff !important;
  text-align: center; border-radius: 10px; font-weight: 600;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,200,83,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,200,83,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-blob-1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,83,0.12) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-blob-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.08) 0%, transparent 70%);
  bottom: 0; left: -100px; pointer-events: none;
}
.hero-section .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--gc-green-light); color: var(--gc-green-dark);
  border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
  border: 1px solid rgba(0,200,83,0.2);
}
.badge-dot { width: 8px; height: 8px; background: var(--gc-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:0.7;} }

.hero-title {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -2px;
}
.gradient-text {
  background: linear-gradient(135deg, #00C853, #00E676, #00BFA5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 17px; color: var(--gc-text-muted); margin-bottom: 40px;
  max-width: 480px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; background: linear-gradient(135deg, #00C853, #00E676);
  color: #fff; text-decoration: none; border-radius: 14px; font-size: 16px;
  font-weight: 700; transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,200,83,0.3);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,200,83,0.4); }
.btn-arrow { transition: var(--transition); }
.btn-hero-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; background: transparent; color: var(--gc-text);
  text-decoration: none; border-radius: 14px; font-size: 16px;
  font-weight: 600; border: 2px solid var(--gc-border); transition: var(--transition);
}
.btn-hero-ghost:hover { border-color: var(--gc-green); color: var(--gc-green); background: var(--gc-green-light); }
.play-icon {
  width: 32px; height: 32px; background: var(--gc-green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.hero-stats {
  display: flex; gap: 0; align-items: center;
  background: var(--gc-bg-card); border: 1px solid var(--gc-border);
  border-radius: 16px; padding: 20px 24px; box-shadow: var(--gc-shadow);
}
.stat-item { text-align: center; flex: 1; }
.stat-item strong { display: block; font-size: 22px; font-weight: 800; color: var(--gc-green); }
.stat-item span { font-size: 12px; color: var(--gc-text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--gc-border); flex-shrink: 0; }

/* ============================================================
   VIRTUAL CARD VISUAL
   ============================================================ */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.card-stack { position: relative; width: 360px; height: 440px; }

.vc-card {
  position: absolute; width: 340px; border-radius: 20px;
  padding: 28px; box-shadow: var(--gc-shadow-lg); transition: var(--transition);
  background: linear-gradient(135deg, #00C853 0%, #00A843 50%, #007A2F 100%);
  color: #fff; font-family: var(--font-mono);
  border: 1px solid rgba(255,255,255,0.2);
}
.vc-card-back-2 {
  bottom: 0; left: 20px; transform: rotate(-6deg);
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  opacity: 0.7;
}
.vc-card-back-1 {
  bottom: 20px; left: 10px; transform: rotate(-3deg);
  background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
  opacity: 0.85;
}
.vc-card-main { bottom: 40px; left: 0; transform: rotate(0); z-index: 10; animation: cardFloat 4s ease-in-out infinite; }
@keyframes cardFloat { 0%,100%{transform:translateY(0) rotate(2deg);} 50%{transform:translateY(-10px) rotate(2deg);} }

.vc-card-main::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.vc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.vc-logo { font-size: 13px; font-weight: 700; font-family: var(--font-main); }
.vc-type-badge {
  font-size: 9px; font-weight: 700; background: rgba(255,255,255,0.2);
  padding: 4px 8px; border-radius: 4px; letter-spacing: 1px;
}
.vc-chip-area { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.vc-chip-big {
  width: 44px; height: 34px; background: linear-gradient(135deg, #ffd700, #ffb300);
  border-radius: 6px; position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.chip-line { position: absolute; background: rgba(0,0,0,0.2); border-radius: 1px; }
.chip-line.h { left: 0; right: 0; top: 50%; height: 1px; }
.chip-line.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.vc-nfc { font-size: 20px; opacity: 0.8; }
.vc-number-main { font-size: 18px; letter-spacing: 3px; margin-bottom: 24px; font-weight: 700; }
.vc-number { font-size: 13px; letter-spacing: 2px; opacity: 0.7; margin-top: 60px; }
.vc-footer { display: flex; align-items: flex-end; gap: 20px; }
.vc-label { font-size: 9px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; font-family: var(--font-main); }
.vc-value { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.vc-network { margin-left: auto; display: flex; }
.circle-1, .circle-2 {
  width: 34px; height: 34px; border-radius: 50%;
}
.circle-1 { background: rgba(255,100,0,0.8); }
.circle-2 { background: rgba(255,60,0,0.6); margin-left: -14px; }

.float-badge {
  position: absolute; background: var(--gc-bg-card); border: 1px solid var(--gc-border);
  border-radius: 50px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  color: var(--gc-text); box-shadow: var(--gc-shadow); display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.float-badge-1 { top: 0; right: -20px; animation: floatBadge 3s ease-in-out infinite; }
.float-badge-2 { top: 130px; right: -40px; animation: floatBadge 3s ease-in-out infinite 1s; }
.float-badge-3 { bottom: 80px; left: -30px; animation: floatBadge 3s ease-in-out infinite 2s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }

/* ============================================================
   TRUSTED SECTION
   ============================================================ */
.trusted-section { padding: 40px 0; border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); }
.trusted-label { text-align: center; font-size: 13px; color: var(--gc-text-light); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.trusted-logos { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trusted-logo {
  font-size: 14px; font-weight: 600; color: var(--gc-text-muted);
  padding: 8px 20px; border-radius: 50px; border: 1px solid var(--gc-border);
  transition: var(--transition);
}
.trusted-logo:hover { border-color: var(--gc-green); color: var(--gc-green); background: var(--gc-green-light); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 6px 16px; background: var(--gc-green-light);
  color: var(--gc-green-dark); border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; border: 1px solid rgba(0,200,83,0.2);
}
.section-title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -1.5px; }
.section-sub { font-size: 16px; color: var(--gc-text-muted); max-width: 560px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card-lg { grid-column: span 2; }
.feature-card {
  background: var(--gc-bg-card); border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius); padding: 32px; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--gc-shadow-lg); border-color: rgba(0,200,83,0.3); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--gc-text-muted); line-height: 1.7; }
.feature-tag {
  display: inline-block; margin-top: 16px; padding: 4px 12px;
  background: var(--gc-green-light); color: var(--gc-green-dark);
  border-radius: 50px; font-size: 12px; font-weight: 600;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-section { padding: 100px 0; background: var(--gc-bg-card); border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); }
.hiw-steps { display: flex; align-items: center; gap: 0; justify-content: center; flex-wrap: wrap; gap: 24px; }
.hiw-step {
  flex: 1; min-width: 220px; max-width: 280px; text-align: center;
  background: var(--gc-bg); border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius); padding: 40px 24px; transition: var(--transition);
}
.hiw-step:hover { transform: translateY(-4px); border-color: var(--gc-green); }
.step-number {
  font-family: var(--font-mono); font-size: 12px; color: var(--gc-green);
  font-weight: 700; letter-spacing: 2px; margin-bottom: 12px;
}
.step-icon { font-size: 44px; margin-bottom: 16px; }
.hiw-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.hiw-step p { font-size: 14px; color: var(--gc-text-muted); }
.hiw-connector { display: flex; flex-direction: column; align-items: center; }
.connector-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gc-green), var(--gc-accent)); }
.connector-arrow { color: var(--gc-green); font-size: 18px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 80px 0; }
.cta-card {
  background: linear-gradient(135deg, #00C853 0%, #00A843 50%, #007A2F 100%);
  border-radius: 24px; padding: 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-card h2 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -1.5px; position: relative; }
.cta-card p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; position: relative; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px; background: #fff; color: var(--gc-green-dark);
  text-decoration: none; border-radius: 14px; font-size: 17px; font-weight: 800;
  transition: var(--transition); position: relative; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.cta-note { margin-top: 20px; color: rgba(255,255,255,0.7); font-size: 14px; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.gc-footer { padding: 64px 0 32px; border-top: 1px solid var(--gc-border); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .gc-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--gc-text-muted); max-width: 260px; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid var(--gc-border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--gc-text-muted); font-size: 14px; font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gc-green); color: var(--gc-green); background: var(--gc-green-light); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: var(--gc-text-muted); text-decoration: none; margin-bottom: 12px; transition: var(--transition); }
.footer-col a:hover { color: var(--gc-green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--gc-border); flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--gc-text-light); }
.footer-badges { display: flex; gap: 12px; }
.f-badge {
  font-size: 12px; padding: 6px 14px; background: var(--gc-green-light);
  color: var(--gc-green-dark); border-radius: 50px; font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-scale { animation: scaleIn 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   GLOBAL COMPONENTS (Reused across all pages)
   ============================================================ */
.gc-badge {
  display: inline-block; padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: #f1f5f9; color: #64748b; }
.badge-primary { background: #ede9fe; color: #5b21b6; }
.badge-dark    { background: #1f2937; color: #e5e7eb; }

/* Alert boxes */
.gc-alert {
  padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 12px; border: 1px solid transparent;
}
.gc-alert-success { background: #dcfce7; border-color: #86efac; color: #166534; }
.gc-alert-error   { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.gc-alert-warning { background: #fef9c3; border-color: #fde047; color: #854d0e; }
.gc-alert-info    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-lg { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .gc-nav-links, .gc-nav-cta { display: none; }
  .gc-hamburger { display: flex; }
  .hero-section { padding: 80px 0 48px; }
  .hero-title { letter-spacing: -1px; }
  .hero-stats { display: none; }
  .card-stack { width: 300px; height: 380px; }
  .vc-card { width: 290px; }
  .features-grid { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; }
  .hiw-connector { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 28px; }
}
