/* 
   GWiZ Software Solutions - style.css
   Custom modern design system with glassmorphism, responsive layout, and rich animations
*/

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

:root {
  /* Color Palette - OKLCH interpolation spaces */
  --bg-primary: #06080c;
  --bg-secondary: #0b0f19;
  --bg-card: rgba(11, 15, 25, 0.65);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #475569;
  
  --accent-blue: #2563eb;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.18);
  
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC05;
  --google-green: #34A853;
  --google-purple: #a855f7;
  --aws-orange: #ff9900;
  --intuit-teal: #0077c5;
  
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(99, 102, 241, 0.4);
  
  --success: #10b981;
  --warning: #f59e0b;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Modern Gradient spaces */
  --in-oklab: ;
  --in-oklch: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: center top;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 8, 12, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-muted) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-purple);
  -webkit-text-fill-color: initial;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-indigo));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Actions & Badges */
.google-partner-badge-header {
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.05);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}
.google-partner-badge-header:hover {
  border-color: rgba(66, 133, 244, 0.4) !important;
  background: rgba(66, 133, 244, 0.08) !important;
  box-shadow: 0 0 12px rgba(66, 133, 244, 0.15);
}

/* Main Layout */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0 8rem 0;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Section */
#hero {
  text-align: center;
  position: relative;
  align-items: center;
}

.hero-glow-orb {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 16s ease-in-out infinite alternate;
}

.partner-badge {
  box-shadow: 0 8px 30px rgba(66, 133, 244, 0.05);
  transition: var(--transition-smooth);
}
.partner-badge:hover {
  border-color: rgba(66, 133, 244, 0.4) !important;
  background: rgba(66, 133, 244, 0.12) !important;
  transform: translateY(-1px);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.05);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 20%, #c7d2fe 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead-text {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.75;
  text-wrap: pretty;
}

/* Interactive Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: 0.6s;
}

.btn-primary:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25), 0 0 15px rgba(6, 182, 212, 0.1);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Focus Management */
:focus-visible {
  outline: 2px solid var(--accent-indigo);
  outline-offset: 4px;
}

/* Section Common Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Capabilities Cards Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition-smooth);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Card Hover Interactions */
.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.06);
}

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

.card:hover .card-icon {
  background: rgba(99, 102, 241, 0.18);
  color: #ffffff;
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.3);
}

/* Tech Partner Card Styles */
.tech-card {
  transition: var(--transition-smooth);
}
.tech-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* Project Queue Timeline Section */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-row {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  gap: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.project-info {
  flex: 1;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.status-badge {
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-badge.live {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.05);
}

.status-badge.dev {
  background: rgba(245, 158, 11, 0.08);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.05);
}

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

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-meta svg {
  color: var(--text-muted);
  opacity: 0.7;
}

.project-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(1.005) translateY(-2px);
}

/* Modal Overlay & High-end Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 8, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.modal-container {
  background: rgba(11, 15, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 90%;
  max-width: 560px;
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  transform: translateY(40px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 1.6rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2) inset;
  background: rgba(255, 255, 255, 0.04);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  color: #f87171;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  display: none;
  font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.02);
}

.form-group.has-error input:focus-visible,
.form-group.has-error textarea:focus-visible {
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 15px rgba(248, 113, 113, 0.12);
}

.form-group.has-error .form-error {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
  filter: brightness(1.05);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Screen States */
.success-message {
  text-align: center;
  padding: 2rem 0;
  display: none;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--success);
  margin: 0 auto 2rem auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  animation: scaleUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.success-message p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
}
.footer-logo:hover {
  color: var(--text-main);
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

/* Animations */
@keyframes floatOrb {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-48%, -52%) scale(1.08) rotate(180deg);
  }
  100% {
    transform: translate(-52%, -48%) scale(0.96) rotate(360deg);
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 1440px) {
  header {
    padding: 0.8rem 1rem;
  }
  .logo {
    font-size: 1.4rem;
  }
  .nav-links {
    gap: 0.65rem;
  }
  .nav-links a {
    font-size: 0.76rem;
  }
  .google-partner-badge-header {
    display: none; /* Hide badge to prevent header crowding */
  }
  .header-actions {
    gap: 0.5rem;
  }
  .btn-header-tenant,
  .btn-header-admin {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
  }
  .btn-header-audit {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1024px) {
  main {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .nav-links {
    display: none; /* In normal layout, hides standard menu links on mobile to preserve layout integrity */
  }
  
  .header-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }

  section {
    padding: 8rem 0 5rem 0;
  }
  
  .project-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
  
  .modal-container {
    padding: 2.5rem 2rem;
  }
}

/* Partner Technology Asset Buttons & Video Modals */
.btn-tech-asset {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-tech-asset:hover {
  color: var(--text-main);
  transform: translateX(4px);
}

.video-modal-container {
  max-width: 800px !important;
  width: 95% !important;
  padding: 2.5rem !important;
}

.video-iframe-wrapper {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #000;
}

/* Base header actions & partner badges */
.header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.google-partner-badge-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 133, 244, 0.2);
  background: rgba(66, 133, 244, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-right: 0.5rem;
}

.google-partner-badge-header svg,
.partner-badge svg {
  vertical-align: middle;
}

.google-partner-badge-header span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.btn-header-tenant {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-header-admin {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 8px;
  opacity: 0.7;
}

.btn-header-audit {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.25);
  color: #e2e8f0;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tech-section-tagline {
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-card {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2rem;
}

.tech-card.card-blue {
  border-left: 3px solid var(--google-blue);
}

.tech-card.card-purple {
  border-left: 3px solid var(--google-purple);
}

.tech-card.card-yellow {
  border-left: 3px solid var(--google-yellow);
}

.tech-card.card-green {
  border-left: 3px solid var(--google-green);
}

.tech-card.card-orange {
  border-left: 3px solid var(--aws-orange);
}

.tech-card.card-teal {
  border-left: 3px solid var(--intuit-teal);
}

.tech-card.card-red {
  border-left: 3px solid #ff0000;
}

.tech-card.card-cyan {
  border-left: 3px solid var(--accent-cyan);
}

.tech-card.card-pink {
  border-left: 3px solid #ec4899;
}

.tech-icon-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tech-icon-wrap span.icon-label-blue {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--google-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-purple {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--google-purple);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-yellow {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--google-yellow);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-green {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--google-green);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-orange {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--aws-orange);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-teal {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--intuit-teal);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-red {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #ff0000;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-cyan {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-icon-wrap span.icon-label-pink {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #ec4899;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tech-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.tech-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tech-action-wrap {
  margin-top: auto;
  padding-top: 1.5rem;
}

.footer-copy {
  margin-top: 1rem;
}

/* Video modal specific extensions */
.video-modal-title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#google-tech {
  border-top: 1px solid var(--border-color);
  padding-top: 6rem;
}

.tech-icon {
  font-size: 1.8rem;
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
  .section-header h2 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .section-header p {
    font-size: 0.85rem !important;
  }
  body {
    font-size: 0.88rem !important;
  }
  section {
    padding: 5rem 1rem 3rem 1rem !important;
  }
  .modal-container {
    padding: 2rem 1.25rem !important;
    width: 95% !important;
  }
}

/* Pricing Section Styles */
.pricing-grid {
  margin-top: 3.5rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.pricing-header h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  align-self: flex-start;
  margin-top: 0.2rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features li {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li span {
  color: var(--accent-cyan);
  font-weight: 800;
}

.btn-checkout {
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-dark);
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.btn-checkout:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.08);
}

/* Highlighted Popular Card */
.pricing-card.popular-card {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.05), 0 0 0 1px rgba(6, 182, 212, 0.1) inset;
}

.pricing-card.popular-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 1;
}

.pricing-card.popular-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 25px 50px rgba(6, 182, 212, 0.1), 0 0 0 1px rgba(6, 182, 212, 0.2) inset;
}

.popular-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.25rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card.popular-card .pricing-features li span {
  color: var(--accent-purple);
}

.pricing-card.popular-card .btn-checkout {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border: none;
}

.pricing-card.popular-card .btn-checkout:hover {
  background: #06b6d4;
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.25);
}

/* Pricing Switcher Styles */
.pricing-switcher-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 3.5rem auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.35rem;
  border-radius: 100px;
  max-width: 480px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.switcher-btn {
  background: transparent;
  border: none;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.switcher-btn:hover {
  color: var(--text-light);
}

.switcher-btn.active {
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.05);
}

/* Hidden grid state & smooth transitions */
.pricing-grid {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.pricing-grid.hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(10px);
}

.btn-dev-quote {
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-dark);
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.btn-dev-quote:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.08);
}

.pricing-card.popular-card .btn-dev-quote {
  background: var(--accent-purple);
  color: var(--text-light);
  border: none;
}

.pricing-card.popular-card .btn-dev-quote:hover {
  background: #9333ea;
  box-shadow: 0 10px 20px rgba(147, 51, 234, 0.25);
}

/* ==========================================================================
   Creative Animations (Scroll-Driven Reveal & Card Border Spotlights)
   ========================================================================== */

/* 1. Scroll-Driven Reveal Animations */
.reveal {
  opacity: 0 !important;
  transform: translateY(24px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered transition delays for nested elements inside visible grids */
.grid-container > .card:nth-child(1),
.tech-grid > .tech-card:nth-child(1),
.pricing-grid > .pricing-card:nth-child(1) { transition-delay: 0.05s !important; }

.grid-container > .card:nth-child(2),
.tech-grid > .tech-card:nth-child(2),
.pricing-grid > .pricing-card:nth-child(2) { transition-delay: 0.15s !important; }

.grid-container > .card:nth-child(3),
.tech-grid > .tech-card:nth-child(3),
.pricing-grid > .pricing-card:nth-child(3) { transition-delay: 0.25s !important; }

.tech-grid > .tech-card:nth-child(4) { transition-delay: 0.35s !important; }
.tech-grid > .tech-card:nth-child(5) { transition-delay: 0.45s !important; }
.tech-grid > .tech-card:nth-child(6) { transition-delay: 0.55s !important; }
.tech-grid > .tech-card:nth-child(7) { transition-delay: 0.65s !important; }
.tech-grid > .tech-card:nth-child(8) { transition-delay: 0.75s !important; }
.tech-grid > .tech-card:nth-child(9) { transition-delay: 0.85s !important; }

/* 2. Vercel-Style Border Spotlight Hover Effect */
.card, .tech-card, .pricing-card, .project-row {
  position: relative;
}

.card::after, .tech-card::after, .pricing-card::after, .project-row::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* Border thickness */
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(99, 102, 241, 0.3) 0%,
    rgba(6, 182, 212, 0.15) 30%,
    transparent 70%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after, .tech-card:hover::after, .pricing-card:hover::after, .project-row:hover::after {
  opacity: 1;
}

