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

/* --- Design Tokens --- */
:root {
  --bg-primary: #0B1020;
  --bg-secondary: #0F162A;
  --bg-card: rgba(15, 22, 42, 0.6);
  --bg-card-hover: rgba(23, 33, 61, 0.8);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --accent-purple: #7C5DFA;
  --accent-purple-glow: rgba(124, 93, 250, 0.15);
  --accent-blue: #3B82F6;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(124, 93, 250, 0.3);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --container-max-width: 1200px;
  --header-height: 80px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Background Glows --- */
.glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.radial-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.glow-hero-1 {
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.glow-hero-2 {
  top: 15%;
  left: -20%;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-mid {
  top: 40%;
  right: -30%;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  opacity: 0.1;
}

.glow-bottom {
  bottom: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  opacity: 0.12;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
}

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

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

.lead-text {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.purple-text {
  color: var(--accent-purple);
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  padding: 6.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Premium Buttons --- */
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-purple);
  color: var(--text-primary);
  border: 1px solid var(--accent-purple);
  box-shadow: 0 4px 20px var(--accent-purple-glow);
}

.btn-primary:hover {
  background-color: #8c6efa;
  border-color: #8c6efa;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 93, 250, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 16, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(11, 16, 32, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-purple);
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-purple);
}

nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Dashboard Mockup Frame */
.dashboard-container {
  margin-top: 5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--border-color);
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 100px rgba(124, 93, 250, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.dashboard-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.dashboard-container:hover {
  border-color: rgba(124, 93, 250, 0.2);
}

.dashboard-inner {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #050811;
  display: flex;
}

.dashboard-inner img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: transform 0.5s ease;
}

/* --- Trust / Metric Grid --- */
.trust-metrics {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-card {
  padding: 1rem;
}

.metric-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 93, 250, 0.05);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(124, 93, 250, 0.08);
  border: 1px solid rgba(124, 93, 250, 0.2);
  border-radius: 8px;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--accent-purple);
  font-size: 1.25rem;
}

.service-card h3 {
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
  background-color: var(--bg-secondary);
}

.steps-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple) 0%, rgba(124, 93, 250, 0.1) 100%);
  z-index: 1;
}

.step-row {
  position: relative;
  display: flex;
  gap: 2.5rem;
  z-index: 2;
}

.step-badge {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-purple);
  box-shadow: 0 0 20px var(--accent-purple-glow);
  transition: var(--transition-smooth);
}

.step-row:hover .step-badge {
  background-color: var(--accent-purple);
  color: var(--text-primary);
  transform: scale(1.05);
}

.step-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.8rem 2.2rem;
  flex-grow: 1;
  transition: var(--transition-smooth);
}

.step-row:hover .step-content {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: var(--bg-card-hover);
  transform: translateX(5px);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* --- Case Studies --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.case-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-img-container {
  height: 240px;
  background-color: #060914;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.case-img-container img {
  width: 90%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-img-container img {
  transform: scale(1.03);
}

.case-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-purple);
}

.case-info {
  padding: 2.2rem;
}

.case-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.case-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.85rem;
  background-color: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 6px;
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Team Section --- */
.team {
  background-color: var(--bg-secondary);
}

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

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-photo {
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #060914;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-details {
  padding: 1.8rem;
}

.team-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent-purple);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- About Summary Section --- */
.about-summary {
  text-align: center;
  padding: 7rem 0;
  border-top: 1px solid var(--border-color);
}

.about-summary .container {
  max-width: 800px;
}

.about-summary h2 {
  margin-bottom: 1.5rem;
}

.about-summary p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* --- Contact & Booking --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
}

.contact-info-panel p {
  margin-bottom: 2rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: rgba(124, 93, 250, 0.08);
  border: 1px solid rgba(124, 93, 250, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-weight: bold;
}

.meta-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--text-primary);
}

.meta-detail a, .meta-detail p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.meta-detail a:hover {
  color: var(--text-primary);
}

/* Contact Form Box */
.contact-form-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
}

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

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

.form-control {
  width: 100%;
  background-color: #060914;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(124, 93, 250, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

/* Form Message Notification */
.form-notification {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-notification.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: block;
}

.form-notification.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: block;
}

/* --- Footer --- */
footer {
  background-color: #050811;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--text-primary);
}


.footer-links h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links ul li a:hover {
  color: var(--text-primary);
}

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

.footer-bottom p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

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

/* --- Secondary Pages Custom Styling --- */
.subpage-hero {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.subpage-hero .container {
  max-width: 800px;
}

.subpage-hero h1 {
  margin-bottom: 1.25rem;
}

/* Services page details */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-item:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.service-detail-item:nth-child(even) .service-detail-info {
  order: 2;
}

.service-detail-item:nth-child(even) .service-detail-visual {
  order: 1;
}

.service-detail-info h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.service-detail-info p {
  margin-bottom: 1.5rem;
}

.service-detail-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-detail-features li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.service-detail-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: bold;
}

.service-detail-visual {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
}

.service-detail-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Pricing Page details */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem 2.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(124, 93, 250, 0.12);
  transform: translateY(-8px);
  background-color: rgba(15, 22, 42, 0.85);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-purple);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.featured:hover {
  border-color: var(--accent-purple);
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.92rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  min-height: 48px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
}

.faq-section {
  max-width: 800px;
  margin: 6rem auto 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

/* About Page Details */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.about-stat-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  background-color: var(--bg-card);
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-purple);
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

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

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.5rem 2rem;
}

.value-card h3 {
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Animations & Effects --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Helper Styles (Moved from bottom) --- */
.icon-svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}

.service-icon .icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-purple);
  stroke-width: 1.75;
}

.meta-icon .icon-svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-purple);
}

.footer-social a:hover {
  color: var(--accent-purple);
}

.footer-social .icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.team-section {
  padding: 6rem 0;
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-photo {
  height: 280px;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-details {
  padding: 1.5rem;
}

.team-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-role {
  color: var(--accent-purple);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--accent-purple);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-featured-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-color);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Consolidated Responsive Adjustments --- */
@media (max-width: 1024px) {
  header {
    height: 70px;
  }
  
  header .container {
    justify-content: space-between;
  }
  
  .mobile-toggle {
    display: block;
    order: 3;
  }
  
  .header-cta {
    display: flex;
    order: 2;
    gap: 0.5rem;
  }
  
  .header-cta .btn-secondary {
    display: none;
  }
  
  .header-cta .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 3rem 0;
    z-index: 1000;
  }
  
  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .mobile-open .mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .services-grid, .team-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .service-detail-item:nth-child(even) .service-detail-info {
    order: 1;
  }
  
  .service-detail-item:nth-child(even) .service-detail-visual {
    order: 2;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }
  
  .hero h1 {
    margin-bottom: 1rem;
  }
  
  .hero p {
    margin-bottom: 2rem;
  }
  
  .dashboard-container {
    margin-top: 2.5rem;
  }
  
  .services-grid, .team-grid, .values-grid, .cases-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .steps-container::before {
    left: 21px;
  }
  
  .step-row {
    gap: 1.5rem;
  }
  
  .step-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1rem;
  }
  
  .step-content {
    padding: 1.25rem 1.5rem;
  }
  
  .contact-form-box {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  
  .article-featured-image {
    height: 240px;
    margin-bottom: 2rem;
  }
  
  .subpage-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
  }
  
  .faq-section {
    margin-top: 4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .logo {
    font-size: 1.15rem;
  }
  
  .header-cta .btn-primary {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .team-photo {
    height: 240px;
  }
  
  .service-card, .value-card, .pricing-card {
    padding: 2rem 1.5rem;
  }
}

