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

/* ==========================================================================
   PSP Ventures Rebuilt Cyber-Neon Style System
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #0A0A0A;
  --bg-tertiary: #0E0E0E;
  --card-bg: #0E0E0E;
  --card-bg-hover: #141414;
  
  --primary-accent: #7FFF00;      /* Neon Green primary */
  --primary-accent-alt: #A8FF00;  /* Lime glow */
  --secondary-accent: #4DFFB8;    /* Mint Green */
  --secondary-accent-alt: #8A5CFF;/* Tech Purple/Indigo */
  
  --text-primary: #FFFFFF;
  --text-secondary: #B8C0CC;
  --text-muted: #626C7A;
  --border-color: rgba(127, 255, 0, 0.12);
  --border-color-hover: rgba(127, 255, 0, 0.35);
  
  /* Fonts */
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout / UI */
  --max-width: 1200px;
  --header-height: 90px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-speed: 0.35s;
  --ease-custom: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-primary);
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Selection Highlight */
::selection {
  background: rgba(124, 255, 0, 0.25);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) var(--ease-custom);
}

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

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

/* ==========================================================================
   Typography (Orbitron & Inter)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--secondary-accent) 0%, var(--secondary-accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Global Layout Containers
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

.section {
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  max-width: 700px;
  margin-bottom: 5rem;
  text-align: left;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--primary-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   Symmetric 2x2 Feature Grid (About Section)
   ========================================================================== */

.feature-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

/* ==========================================================================
   Glassmorphism UI Components
   ========================================================================== */

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: all var(--transition-speed) var(--ease-custom);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: 1;
}

.glass-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              0 0 35px rgba(0, 229, 255, 0.06);
}

/* Specific card accents */
.glass-card.glow-green:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(124, 255, 0, 0.15);
  border-color: rgba(124, 255, 0, 0.35);
}

.glass-card.glow-cyan:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.35);
}

.glass-card.glow-purple:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(138, 92, 255, 0.15);
  border-color: rgba(138, 92, 255, 0.35);
}

/* ==========================================================================
   Hero Featured Floating App Card
   ========================================================================== */

.hero-featured-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
              0 0 30px rgba(124, 255, 0, 0.08);
  pointer-events: auto;
  transition: transform 0.4s var(--ease-custom), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  will-change: transform, box-shadow, border-color;
}

.hero-featured-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary-accent);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 
              0 0 50px rgba(124, 255, 0, 0.35);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px; /* Capsule rounded buttons as requested */
  cursor: pointer;
  transition: all var(--transition-speed) var(--ease-custom);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.04em;
  gap: 0.6rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-alt), var(--primary-accent));
  background-size: 200% auto;
  color: #000000;
  transition: transform var(--transition-speed) var(--ease-custom), 
              box-shadow var(--transition-speed) var(--ease-custom),
              background-position 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 12px 35px rgba(124, 255, 0, 0.4), 
              0 0 20px rgba(0, 229, 255, 0.25);
  animation: glow-pulse-primary 1.5s infinite;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) var(--ease-custom), 
              box-shadow var(--transition-speed) var(--ease-custom),
              border-color var(--transition-speed) var(--ease-custom),
              background 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary-accent-alt);
  background: rgba(0, 229, 255, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.25);
  animation: glow-pulse-secondary 1.5s infinite;
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary-accent-alt) 0%, #B693FF 100%);
  color: var(--text-primary);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(138, 92, 255, 0.35);
}

.btn-outlined-neon {
  border: 1px solid var(--primary-accent);
  background: transparent;
  color: var(--primary-accent);
  box-shadow: 0 0 10px rgba(127, 255, 0, 0.1);
  text-shadow: 0 0 5px rgba(127, 255, 0, 0.2);
}

.btn-outlined-neon:hover {
  background: var(--primary-accent);
  color: #000000;
  box-shadow: 0 0 20px var(--primary-accent), 0 0 35px var(--primary-accent-alt);
  transform: translateY(-2px);
  text-shadow: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-speed) var(--ease-custom);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Sticky Capsule Navbar
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-speed) var(--ease-custom);
  padding: 1.5rem 0;
}

header.scrolled {
  height: 80px;
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2.25rem;
  background: rgba(5, 5, 5, 0.45);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  transition: all var(--transition-speed) var(--ease-custom);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

header.scrolled .nav-container {
  background: rgba(5, 5, 5, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(124, 255, 0, 0.05);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-accent), var(--primary-accent-alt));
  box-shadow: 0 0 10px var(--primary-accent), 0 0 5px var(--primary-accent-alt);
  transition: width 0.4s var(--ease-custom);
  will-change: width;
}

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

.nav-links a.active {
  color: var(--text-primary);
}

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

/* Hamburger Menu Button */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-speed) var(--ease-custom);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 6.5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-info .logo-wrapper {
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) var(--ease-custom);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: fill var(--transition-speed) var(--ease-custom);
}

.social-icon:hover {
  border-color: var(--primary-accent);
  background: rgba(124, 255, 0, 0.05);
  transform: translateY(-2px);
}

.social-icon:hover svg {
  fill: var(--primary-accent);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}
