/* 
 * WEBRION Technologies - Master Design System Stylesheet
 * Premium Dark + Neon Gradient Futuristic Design
 */

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

/* --- Modern Theme CSS Custom Properties --- */
:root {
  /* Color Palette */
  --bg-dark-obsidian: #050811; /* Deepest Space Space */
  --bg-navy-card: #0c1224; /* Core Container Slate */
  --bg-navy-hover: #141d36; /* Container highlight on hover */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-neon: rgba(6, 182, 212, 0.15); /* Electric Cyan Glow border */

  /* Neon Electric Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #06b6d4 0%,
    #3b82f6 50%,
    #8b5cf6 100%
  );
  --gradient-glow: linear-gradient(90deg, #06b6d4, #8b5cf6);
  --gradient-dark: linear-gradient(180deg, #0a0f1d 0%, #050811 100%);

  /* Solid Brand Accents */
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-glow: #e2e8f0;

  /* System Tokens */
  --font-heading: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --box-shadow-glow: 0 0 25px rgba(6, 182, 212, 0.15);

  /* Theme Layout Variables */
  --bg-nav-scrolled: rgba(5, 8, 17, 0.85);
  --hero-heading-gradient: linear-gradient(
    135deg,
    #ffffff 0%,
    #e2e8f0 50%,
    var(--accent-cyan) 100%
  );
  --glass-card-bg: rgba(12, 18, 36, 0.65);
  --badge-bg: rgba(255, 255, 255, 0.02);
  --stats-section-bg: #0b1328;
  --footer-bg: #03050a;
  --input-bg: rgba(255, 255, 255, 0.02);
}

/* Light Mode Variables Override (High Contrast Corporate) */
[data-theme="light"] {
  --bg-dark-obsidian: #f8fafc; /* Clean Light Gray/Blue Body */
  --bg-navy-card: #ffffff; /* Clean Card White */
  --bg-navy-hover: #f1f5f9; /* Light Hover */
  --border-color: rgba(15, 23, 42, 0.08);
  --border-neon: rgba(6, 182, 212, 0.2);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  --text-white: #0f172a; /* Deep slate text for main body */
  --text-muted: #475569; /* Cool gray text */
  --text-glow: #1e293b;
  --box-shadow-glow: 0 10px 30px rgba(15, 23, 42, 0.05);

  /* Light Theme Layout Variable Overrides */
  --bg-nav-scrolled: rgba(15, 23, 42, 0.98); /* Dark Header for white logo */
  --hero-heading-gradient: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 50%,
    var(--accent-cyan) 100%
  );
  --glass-card-bg: rgba(255, 255, 255, 0.9);
  --badge-bg: rgba(15, 23, 42, 0.04);
  --stats-section-bg: rgba(241, 245, 249, 0.85);
  --footer-bg: #0f172a; /* Dark footer to match header and support white logo */
  --input-bg: rgba(255, 255, 255, 0.1);
}

/* Specific Header Overrides for Light Theme to keep text visible on dark header */
[data-theme="light"] .header-nav {
  background: var(
    --bg-nav-scrolled
  ); /* Always dark background to support white logo */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-link {
  color: #cbd5e1;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #ffffff;
}

[data-theme="light"] .theme-toggle-btn {
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="light"] .hamburger-bar {
  background-color: #ffffff;
}

/* Footer Overrides for Light Theme */
[data-theme="light"] .main-footer {
  color: #f8fafc;
}
[data-theme="light"] .main-footer .footer-desc,
[data-theme="light"] .main-footer .footer-link-item,
[data-theme="light"] .main-footer .footer-bottom {
  color: #94a3b8;
}
[data-theme="light"] .main-footer .footer-link-item:hover {
  color: #ffffff;
}
[data-theme="light"] .main-footer .social-circle {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="light"] .main-footer .social-circle:hover {
  color: #ffffff;
  border-color: var(--accent-cyan);
}
[data-theme="light"] .main-footer .footer-title {
  color: #ffffff;
}

/* --- Base Resets & Global Rules --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark-obsidian);
  background-image: var(--gradient-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

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

/* Custom Scrollbar - Cyberpunk Theme */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-navy-hover);
  border: 2px solid var(--bg-dark-obsidian);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- Layout Utility System --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

/* --- Glassmorphic UI Components --- */
.glass-panel {
  background: var(--glass-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-neon);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--box-shadow-glow);
}

/* --- Interactive Button Framework --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-purple);
}

/* --- Hero Component Layout & Responsiveness --- */
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 5;
  text-align: center; /* Center on mobile viewports */
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center child tags on mobile */
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center; /* Center buttons on mobile */
}

.hero-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Center badges on mobile */
}

.web-dev-simulator {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 420px;
  margin: 0 auto;
  z-index: 5;
  transition: var(--transition-smooth);
}

/* Mobile Adjustments for Dev Simulator */
@media (max-width: 576px) {
  .web-dev-simulator {
    transform: scale(0.82);
    transform-origin: center center;
    margin-top: -20px;
    margin-bottom: -50px; /* Reduce empty spacing generated by scaling */
  }
  .float-card-react {
    left: 0% !important;
  }
  .float-card-js {
    left: -5% !important;
  }
  .float-card-php {
    left: 5% !important;
  }
  .float-card-node {
    right: 0% !important;
  }
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left; /* Left align on desktop screens */
  }

  .hero-left {
    align-items: flex-start; /* Left align elements */
  }

  .hero-btns {
    justify-content: flex-start;
  }

  .hero-badges {
    justify-content: flex-start;
  }
}

/* --- Responsive Navigation Header --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header-nav.scrolled {
  padding: 12px 0;
  background: var(--bg-nav-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* High-tech Branding */
.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo-light-theme {
  display: none !important;
}

.logo-dark-theme {
  display: block !important;
}

[data-theme="light"] .logo-dark-theme {
  display: none !important;
}

[data-theme="light"] .logo-light-theme {
  display: block !important;
}

/* Desktop Navigation Menu Links */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

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

/* Theme Toggle & CTA Group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.theme-toggle-btn:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
}

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

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* --- Reusable Professional Footer --- */
.main-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 20px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-circle:hover {
  color: var(--text-white);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link-item {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.footer-newsletter-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.newsletter-input-wrap {
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-white);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.newsletter-submit-btn {
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--gradient-primary);
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* --- Floating Utilities --- */
.floating-actions-bar {
  position: fixed;
  bottom: 30px;
  right: 35px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

@media (max-width: 480px) {
  .floating-actions-bar {
    bottom: 15px;
    right: 17.5px;
  }
}

.float-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.float-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-size: 24px;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 20px;
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.float-backtotop {
  background: rgba(12, 18, 36, 0.7);
  color: var(--text-white);
  border: 1px solid var(--border-neon);
  backdrop-filter: blur(8px);
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.float-backtotop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-backtotop:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-5px);
}

/* Light theme overrides for Floating Back-To-Top Button */
[data-theme="light"] .float-backtotop {
  background: #ffffff !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] .float-backtotop:hover {
  background: var(--gradient-primary) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4) !important;
  transform: translateY(-5px) !important;
}

/* Custom Interactive Cursor Elements */
.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s;
  mix-blend-mode: difference;
  display: block;
}

.custom-cursor-follower.hovering {
  width: 45px;
  height: 45px;
  background-color: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-purple);
}

/* --- Animated Statistics Counter Section --- */
.stats-counter-section {
  background: var(--stats-section-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

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

.stats-item h3 {
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-item p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}

/* --- Responsiveness & Breakpoints --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .brand-logo img {
    height: 56px;
  }

  /* Navbar Responsiveness */
  .hamburger-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(12, 18, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-neon);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 30px;
    transition: var(--transition-smooth);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  /* Transform burger bars into cross */
  .hamburger-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 20px;
  }

  .nav-btn {
    display: none; /* Hide top CTA on small screens */
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Disable custom cursor on mobile touchscreens */
  .custom-cursor-follower {
    display: none;
  }
}

/* --- Index Page Specific Styles --- */

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero-micro-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--border-neon);
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.hero-micro-banner-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-micro-banner-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

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

.hero-subheading {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btn-primary {
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.hero-btn-outline {
  padding: 14px 32px;
  font-size: 15px;
  border-color: var(--border-neon);
  color: var(--text-white);
  background: var(--badge-bg);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-badge-icon {
  color: var(--accent-cyan);
}

/* IDE Simulator */
.dev-ide-window {
  position: absolute;
  top: 10px;
  left: 0;
  width: 85%;
  height: 280px;
  padding: 22px;
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  z-index: 2;
  animation: floatIDE 8s infinite ease-in-out;
  border-radius: var(--border-radius-lg);
}

.dev-ide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.dev-ide-dots {
  display: flex;
  gap: 6px;
}

.dev-ide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dev-ide-dot-red {
  background: #ff5f56;
}
.dev-ide-dot-yellow {
  background: #ffbd2e;
}
.dev-ide-dot-green {
  background: #27c93f;
}

.dev-ide-title {
  font-family: var(--font-heading);
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dev-ide-code {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.8;
  color: #abb2bf;
  overflow: hidden;
  height: 180px;
  text-align: left;
}

.dev-ide-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent-cyan);
  animation: terminalCursor 1s infinite;
  margin-top: 5px;
  vertical-align: middle;
}

/* SEO Radar */
.seo-radar-window {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 62%;
  height: 190px;
  padding: 22px;
  background: var(--glass-card-bg);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  z-index: 4;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 15px;
  align-items: center;
  animation: floatSEO 8s infinite ease-in-out;
  animation-delay: 2s;
  border-radius: var(--border-radius-lg);
}

.seo-radar-sweeper {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.seo-radar-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(6, 182, 212, 0.08);
  border-top: 3px solid var(--accent-cyan);
  border-radius: 50%;
  animation: spinRadar 2s linear infinite;
}

.seo-radar-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.seo-radar-score {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.seo-radar-label {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

.seo-radar-glow {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--accent-cyan);
  filter: blur(20px);
  opacity: 0.15;
  border-radius: 50%;
}

.seo-radar-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.seo-radar-log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.seo-radar-log-title {
  color: var(--text-white);
  font-weight: 700;
}

.seo-radar-log-icon {
  color: var(--accent-purple);
}

.seo-radar-log-status {
  color: #27c93f;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.seo-radar-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 4px;
}

.seo-radar-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 20px;
}

.seo-radar-log-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.seo-radar-log-dot {
  width: 5px;
  height: 5px;
  background: #27c93f;
  border-radius: 50%;
  display: inline-block;
}

/* Floating Tech Cards */
.floating-tech-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 5;
  white-space: nowrap;
  cursor: default;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.floating-tech-card:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.25);
}
[data-theme="light"] .floating-tech-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Individual card float animations — each slightly different timing for natural feel */
.float-card-react {
  animation: floatBadge1 5s ease-in-out infinite;
}
.float-card-js {
  animation: floatBadge2 6s ease-in-out infinite;
}
.float-card-php {
  animation: floatBadge3 5.5s ease-in-out infinite;
}
.float-card-node {
  animation: floatBadge4 7s ease-in-out infinite;
}
.float-card-wp {
  animation: floatBadge5 6.5s ease-in-out infinite;
}

@keyframes floatBadge1 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes floatBadge2 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes floatBadge3 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes floatBadge4 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes floatBadge5 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-11px);
  }
}

.floating-tech-card-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
}
[data-theme="light"] .floating-tech-card-text {
  color: #0f172a;
}

.neon-mesh-backdrop {
  position: absolute;
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: var(--gradient-primary);
  filter: blur(120px);
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}

/* Trusted Banner */
.trusted-brand-banner {
  position: relative;
  z-index: 10;
  margin-top: -10px;
  margin-bottom: 50px;
  text-align: center;
}

.trusted-brand-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0.85;
}

.trusted-brand-line-left {
  flex-grow: 1;
  max-width: 250px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(6, 182, 212, 0) 0%,
    rgba(6, 182, 212, 0.4) 100%
  );
}

.trusted-brand-line-right {
  flex-grow: 1;
  max-width: 250px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(6, 182, 212, 0.4) 0%,
    rgba(6, 182, 212, 0) 100%
  );
}

.trusted-brand-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Concept Showcase */
.concept-showcase {
  position: relative;
}

.concept-showcase-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.concept-showcase-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.concept-showcase-desc {
  color: var(--text-muted);
}

.concept-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.concept-showcase-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-showcase-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}
.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
}
.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.concept-showcase-card-title {
  font-size: 20px;
}

.concept-showcase-card-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.concept-showcase-card-link {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-cyan {
  color: var(--accent-cyan);
}
.link-purple {
  color: var(--accent-purple);
}
.link-blue {
  color: var(--accent-blue);
}

/* Typing Text Cursor (Moved to separate .typing-cursor element in index.php) */

@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* --- Phase 2: Tech Stack Marquee --- */
.tech-stack-section {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
[data-theme="light"] .tech-stack-section {
  background: rgba(0, 0, 0, 0.03);
}
.tech-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}
.tech-marquee-content {
  display: inline-flex;
  animation: marquee-scroll 25s linear infinite;
  gap: 80px;
  align-items: center;
}
.tech-item {
  font-size: 50px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  opacity: 0.6;
}
.tech-item:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Brand Specific Colors on Hover */
.fa-react:hover {
  color: #61dafb;
  filter: drop-shadow(0 0 10px rgba(97, 218, 251, 0.6));
}
.fa-node-js:hover {
  color: #339933;
  filter: drop-shadow(0 0 10px rgba(51, 153, 51, 0.6));
}
.fa-python:hover {
  color: #3776ab;
  filter: drop-shadow(0 0 10px rgba(55, 118, 171, 0.6));
}
.fa-aws:hover {
  color: #ff9900;
  filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.6));
}
.fa-js:hover {
  color: #f7df1e;
  filter: drop-shadow(0 0 10px rgba(247, 223, 30, 0.6));
}
.fa-docker:hover {
  color: #2496ed;
  filter: drop-shadow(0 0 10px rgba(36, 150, 237, 0.6));
}
.fa-php:hover {
  color: #777bb4;
  filter: drop-shadow(0 0 10px rgba(119, 123, 180, 0.6));
}
.fa-android:hover {
  color: #3ddc84;
  filter: drop-shadow(0 0 10px rgba(61, 220, 132, 0.6));
}
.fa-wordpress:hover {
  color: #21759b;
  filter: drop-shadow(0 0 10px rgba(33, 117, 155, 0.6));
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 40px));
  }
}

/* --- Phase 2: Portfolio Preview Cards --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #050811;
  border: 1px solid var(--border-neon);
  aspect-ratio: 4/3;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s,
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.85;
}
.portfolio-card:hover img {
  transform: scale(1.08);
  opacity: 0.25;
  filter: blur(6px);
}
[data-theme="light"] .portfolio-card {
  background: #050811;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .portfolio-card img {
  opacity: 0.95;
}
[data-theme="light"] .portfolio-card:hover img {
  opacity: 0.25;
  filter: blur(6px);
}
.portfolio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(
    0deg,
    rgba(12, 18, 36, 0.95) 0%,
    rgba(12, 18, 36, 0.4) 70%,
    transparent 100%
  );
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}
.portfolio-card:hover .portfolio-card-content {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.portfolio-card .btn-outline:hover {
  background: #fff;
  color: #000;
}

/* --- Phase 2: Process Section --- */
.process-section {
  background: var(--stats-section-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.process-step {
  background: var(--bg-navy-card);
  border: 1px solid var(--border-neon);
  padding: 30px;
  border-radius: 20px;
  position: relative;
  transition: var(--transition-smooth);
}
.process-step:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-glow);
}
.process-icon {
  font-size: 30px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(6, 182, 212, 0.1);
  align-items: center;
  justify-content: center;
}
.process-content h4 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 10px;
}
.process-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Phase 2: Testimonials Slider --- */
.testimonials-section {
  background: var(--stats-section-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.testimonialSwiper {
  padding-bottom: 30px !important;
  margin-top: 30px;
}
.testimonial-card {
  padding: 30px;
  background: var(--bg-navy-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}
.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text-white);
  font-size: 14.5px;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonial-text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.read-more-btn {
  transition: var(--transition-smooth);
}
.read-more-btn:hover {
  color: var(--accent-purple) !important;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-neon);
  padding-top: 20px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}
.testimonial-author h4 {
  font-size: 16px;
  margin: 0 0 4px 0;
  color: var(--text-white);
}
.testimonial-author span {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Swiper Pagination Styling */
.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent-purple) !important;
  opacity: 1 !important;
  width: 20px !important;
  border-radius: 10px !important;
}

/* --- Phase 2: Specialized Services Section --- */
.special-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.special-service-card {
  background: var(--bg-navy-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .special-service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(240, 245, 255, 0.7) 100%
  );
  border-color: rgba(0, 0, 0, 0.05);
}
.special-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: 0.4s;
}
.special-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}
[data-theme="light"] .special-service-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.special-service-card:hover::before {
  opacity: 1;
}
.special-service-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.special-service-card:hover .special-service-icon {
  transform: scale(1.1) rotate(5deg);
}
.special-service-card h3 {
  font-size: 24px;
  color: var(--text-white);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.special-service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Specialized Hover Borders */
.special-service-card.wp:hover {
  border-color: #21759b;
  box-shadow: 0 20px 40px rgba(33, 117, 155, 0.15);
}
.special-service-card.shopify:hover {
  border-color: #95bf47;
  box-shadow: 0 20px 40px rgba(149, 191, 71, 0.15);
}
.special-service-card.google:hover {
  border-color: #ea4335;
  box-shadow: 0 20px 40px rgba(234, 67, 53, 0.15);
}
.special-service-card.meta:hover {
  border-color: #1877f2;
  box-shadow: 0 20px 40px rgba(24, 119, 242, 0.15);
}

/* --- Phase 2: CTA Banner --- */
.cta-banner-section {
  padding: 40px 0 80px 0 !important;
  margin: 0 !important;
}
.cta-banner-card {
  background: var(--bg-navy-card);
  border: 1px solid var(--border-neon);
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow-glow);
  transition: var(--transition-smooth);
  z-index: 1;
}
.cta-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
}
.cta-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 50%
  );
  animation: spin 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.cta-banner-desc {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.cta-btn {
  font-size: 16px;
  padding: 18px 45px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Light Theme Overrides */
[data-theme="light"] .cta-banner-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .cta-banner-card:hover {
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
}
[data-theme="light"] .cta-banner-card::before {
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.25) 0%,
    rgba(139, 92, 246, 0.15) 35%,
    transparent 65%
  );
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Typing Cursor Effect — separate span to avoid gradient blink issue */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--accent-cyan);
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blinkCursor 1s step-end infinite;
  position: relative;
  top: -2px;
}

/* --- AJAX Page Loader Styles --- */
.ajax-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  z-index: 99999;
  width: 0;
  opacity: 0;
  transition: width 0.4s ease, opacity 0.3s ease;
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-purple);
  pointer-events: none;
}

.ajax-progress-bar.loading {
  opacity: 1;
  width: 80%;
  transition: width 8s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.1s ease;
}

.ajax-progress-bar.complete {
  opacity: 1;
  width: 100% !important;
  transition: width 0.3s ease-out, opacity 0.5s ease-in-out 0.2s;
}

/* Page Transition Fade Classes */
.ajax-fade-transition {
  opacity: 1;
  transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ajax-fade-out {
  opacity: 0 !important;
}
