/* ==========================================================================
   Qubrixa SEO - About Us Page Premium Stylesheet
   Theme: Dark, White, and Electric Blue / Cyber Cyan
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #030712;     /* Darkest slate black */
  --bg-secondary: #0b1329;   /* Cyber deep navy */
  --bg-tertiary: #1e293b;    /* Slate gray */
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8; /* Muted gray blue */
  --text-muted: #64748b;
  
  --accent-cyan: #d4af37;    /* Gold */
  --accent-blue: #aa7c11;    /* Metallic Gold */
  --accent-purple: #f5ebd0;  /* Pale Cream Gold */
  
  --gradient-primary: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  --gradient-cyber: linear-gradient(135deg, #d4af37 0%, #f5ebd0 100%);
  --gradient-dark: linear-gradient(180deg, #0b1329 0%, #030712 100%);
  --gradient-glow: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(170, 124, 17, 0) 70%);
  --gradient-purple-glow: radial-gradient(circle, rgba(245, 235, 208, 0.1) 0%, rgba(170, 124, 17, 0) 65%);

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover-border: rgba(212, 175, 55, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: blur(12px);

  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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-headings);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

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

/* Subtitle & Title Styling */
.subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  color: var(--text-secondary);
}

/* Glass Panel Styling */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}
.glass-panel:hover {
  border-color: var(--glass-hover-border);
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #020617;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--glass-blur);
  color: #ffffff;
}
.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

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

.logo-svg {
  width: 34px;
  height: 34px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

nav ul a {
  font-weight: 500;
  color: var(--text-secondary);
}

nav ul a:hover, nav ul a.active {
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section with Canvas */
.hero-premium {
  position: relative;
  min-height: 100vh;
  padding: 12rem 0 8rem 0;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

#cgi-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--gradient-glow);
  filter: blur(120px);
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--gradient-purple-glow);
  filter: blur(120px);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Premium Floating Contact Form */
.hero-form-panel {
  border: 1px solid rgba(0, 242, 254, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-form-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.form-select option {
  background: var(--bg-secondary);
}

.btn-form-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.story-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.story-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.story-card {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.story-card i {
  font-size: 2rem;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.story-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Who We Help Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.industry-card {
  padding: 1.75rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.industry-card:hover {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.03);
}

.industry-card i {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.industry-card h4 {
  font-size: 1.15rem;
}

/* Global Presence Map */
.map-container {
  position: relative;
  background: #070f2b;
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.map-marker {
  animation: pulse-marker 2s infinite;
  cursor: pointer;
}

@keyframes pulse-marker {
  0% { r: 5; fill-opacity: 1; stroke-width: 0; stroke-opacity: 1; }
  50% { stroke: #d4af37; stroke-width: 10; stroke-opacity: 0.5; }
  100% { r: 5; fill-opacity: 1; stroke-width: 20; stroke-opacity: 0; }
}

.map-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  max-width: 320px;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid var(--accent-cyan);
}

/* What Makes Us Different */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card i {
  font-size: 2.2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* SEO Process Timeline */
.process-timeline {
  position: relative;
  margin-top: 4rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #020617;
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -20px;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Results & Achievements */
.results-section {
  background: #070f2b;
  position: relative;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.results-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-headings);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

/* AI SEO Section */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.ai-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.platform-badge {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-badge i {
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.platform-badge h4 {
  font-size: 1.05rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: #ffffff;
  font-weight: bold;
}

.author-info h4 {
  font-size: 1.05rem;
}

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

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.cta-content {
  text-align: left;
  max-width: 60%;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.cta-buttons-wrapper {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
  align-items: center;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(170, 124, 17, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
}

/* Footer & Sub-links */
footer {
  background: #020617;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 3rem 0;
}

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

.footer-logo-desc p {
  margin-top: 1rem;
  max-width: 320px;
  color: var(--text-secondary);
}

.footer-links h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

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

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

.footer-links ul a:hover {
  color: var(--accent-cyan);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 380px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--accent-cyan);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  background: var(--gradient-primary);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .hero-grid, .story-grid, .ai-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
    gap: 2rem;
  }
  .cta-content {
    max-width: 100%;
    text-align: center;
  }
  .cta-buttons-wrapper {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
  .timeline-item {
    width: 100%;
    padding: 0 0 0 3rem;
    text-align: left !important;
  }
  .timeline-item:nth-child(odd) .timeline-badge,
  .timeline-item:nth-child(even) .timeline-badge {
    left: 0;
  }
  .process-timeline::before {
    left: 20px;
  }
  nav {
    display: none;
  }
}
