/* ==========================================
   BITXDEV - RESEND-INSPIRED COMPLETE REDESIGN
   With 3D Animations & Modern Effects
=========================================*/

/* ==========================================
   CSS RESET & VARIABLES
=========================================*/

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

:root {
  /* Resend Color Palette */
  --resend-blue: #00A3FF;
  --resend-blue-dark: #0088d4;
  --resend-blue-light: #33b5ff;
  --resend-purple: #6366f1;
  --resend-cyan: #00d9ff;
  --resend-pink: #ff006e;
  
  /* Backgrounds - Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  /* Borders */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --glow-blue: 0 0 40px rgba(0, 163, 255, 0.3);
  --glow-purple: 0 0 40px rgba(99, 102, 241, 0.3);
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BASE STYLES
=========================================*/

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h3 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; }
h4 { font-size: clamp(1.5rem, 3vw, 2rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.125rem;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================
   HEADER - RESEND STYLE
=========================================*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-4) 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: var(--radius-md);
  background: url('../branding/logos/loop-infinity.svg') center/contain no-repeat;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex: 1;
  flex-wrap: wrap;
}

.nav > .btn-primary {
  margin-left: auto;
  white-space: nowrap;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.nav-link-with-dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link-with-dropdown i {
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-link-with-dropdown i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-4));
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  min-width: 800px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  backdrop-filter: blur(20px);
}

.nav-dropdown:hover .dropdown-menu {
  display: grid;
}

.dropdown-column h4 {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-column a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-bottom: var(--space-1);
}

.dropdown-column a:hover {
  color: var(--resend-blue);
  background: var(--bg-card);
  padding-left: var(--space-4);
}

@media (max-width: 1024px) {
  .dropdown-menu {
    min-width: 600px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed;
    top: 70px;
    left: var(--space-4);
    right: var(--space-4);
    min-width: auto;
    grid-template-columns: 1fr;
    max-height: 80vh;
    overflow-y: auto;
  }
}

.btn-primary {
  background: var(--resend-blue);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-blue);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: var(--resend-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 163, 255, 0.4);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

/* ==========================================
   HERO SECTION - RESEND STYLE WITH 3D
=========================================*/

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Animated Gradient Background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 163, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  animation: gradient-rotate 20s ease infinite;
  pointer-events: none;
}

@keyframes gradient-rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  color: var(--text-primary);
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--resend-blue) 0%, var(--resend-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.3s;
}

.hero h1 .gradient-text:hover {
  transform: translateZ(20px) rotateX(5deg);
}

.hero p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  line-height: 1.8;
  max-width: 700px;
}

/* Hero CTA with 3D Effect */
.hero-cta {
  margin-bottom: var(--space-8);
}

.hero-input-group {
  display: flex;
  gap: var(--space-3);
  max-width: 500px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-input {
  flex: 1;
  padding: var(--space-5) var(--space-8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  font-size: 16px;
  color: var(--text-primary);
  transition: var(--transition);
  transform-style: preserve-3d;
}

.hero-input:focus {
  outline: none;
  border-color: var(--resend-blue);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1), var(--glow-blue);
  transform: translateZ(10px);
}

.hero-input::placeholder {
  color: var(--text-tertiary);
}

.hero-features {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: 15px;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(0, 163, 255, 0.2);
  border: 1px solid rgba(0, 163, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--resend-blue);
}

/* 3D Floating Elements */
.floating-3d {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  animation: float3d 8s ease-in-out infinite;
  z-index: 1;
  opacity: 0.6;
}

.floating-3d:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-3d:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  width: 120px;
  height: 120px;
}

.floating-3d:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
  width: 80px;
  height: 80px;
}

@keyframes float3d {
  0%, 100% {
    transform: translateY(0) translateX(0) rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotateY(90deg) rotateX(10deg);
  }
  50% {
    transform: translateY(-60px) translateX(-20px) rotateY(180deg) rotateX(-10deg);
  }
  75% {
    transform: translateY(-30px) translateX(20px) rotateY(270deg) rotateX(10deg);
  }
}

/* ==========================================
   SECTIONS - RESEND STYLE
=========================================*/

.section {
  padding: var(--space-4) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2);
}

.section-label {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.2);
  color: var(--resend-blue);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-6);
}

.section-title h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.section-title h2 .gradient-text {
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* ==========================================
   CARDS - RESEND STYLE WITH 3D
=========================================*/

.card-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--resend-blue), var(--resend-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-12px) translateZ(20px) rotateX(2deg);
  box-shadow: var(--shadow-lg), var(--glow-blue);
}

.card:hover::before {
  transform: scaleX(1);
}

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

.card-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: var(--transition-slow);
  transform-style: preserve-3d;
}

.card:hover .card-icon {
  background: rgba(0, 163, 255, 0.1);
  border-color: var(--resend-blue);
  transform: rotateY(360deg) scale(1.1);
  box-shadow: var(--glow-blue);
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-size: 1rem;
  line-height: 1.8;
}

.card-link {
  color: var(--resend-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--transition);
  font-size: 15px;
}

.card-link:hover {
  gap: var(--space-4);
  color: var(--resend-blue-light);
}

/* ==========================================
   GALLERY - RESEND STYLE WITH 3D
=========================================*/

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text-secondary);
  transform-style: preserve-3d;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--resend-blue);
  color: var(--text-primary);
  border-color: var(--resend-blue);
  transform: translateY(-2px) translateZ(10px);
  box-shadow: var(--glow-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: var(--transition-slow);
  border: 1px solid var(--border-color);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.2), rgba(99, 102, 241, 0.2));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-8px) translateZ(30px) rotateX(5deg);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  border-color: var(--resend-blue);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.15) translateZ(20px);
}

.gallery-item {
  text-decoration: none;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.gallery-overlay h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.gallery-overlay p {
  color: var(--text-secondary);
  font-size: 14px;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ==========================================
   FAQ - RESEND STYLE WITH 3D
=========================================*/

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-4);
  transition: var(--transition-slow);
  transform-style: preserve-3d;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--resend-blue), var(--resend-purple));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.faq-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(8px) translateZ(10px);
  box-shadow: var(--shadow-md);
}

.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: var(--space-6);
  flex-shrink: 0;
  box-shadow: var(--glow-blue);
  transform-style: preserve-3d;
  transition: var(--transition);
}

.faq-item:hover .faq-number {
  transform: rotateY(360deg) scale(1.1);
}

.faq-question {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-6);
}

.faq-header h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.faq-header i {
  color: var(--resend-blue);
  transition: transform 0.3s;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 var(--space-6);
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding: 0 var(--space-6) var(--space-6);
}

.faq-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   FOOTER - RESEND STYLE
=========================================*/

.footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: var(--space-24) 0 var(--space-12);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

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

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-newsletter {
  text-align: center;
  margin-bottom: var(--space-20);
}

.footer-newsletter h2 {
  color: var(--text-primary);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-6);
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
}

.footer-newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 550px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.footer-newsletter-input {
  flex: 1;
  padding: var(--space-5) var(--space-8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--resend-blue);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1), var(--glow-blue);
  transform: translateZ(10px);
}

.footer-newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

/* Legacy footer markup compatibility */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col a {
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 15px;
}

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

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer-social a {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  transform-style: preserve-3d;
}

.footer-social a:hover {
  background: var(--resend-blue);
  border-color: var(--resend-blue);
  transform: translateY(-4px) translateZ(10px) rotateY(360deg);
  box-shadow: var(--glow-blue);
}

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

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--text-tertiary);
  font-size: 14px;
}

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

/* ==========================================
   CONTACT FORM - RESEND STYLE
=========================================*/

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  transform-style: preserve-3d;
}

.contact-form:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: var(--space-6);
  transition: var(--transition);
  font-family: var(--font-sans);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--resend-blue);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1);
  transform: translateZ(5px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-tertiary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* ==========================================
   COUNTER SECTION - RESEND STYLE
=========================================*/

.counter-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-16) 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
}

.counter-item {
  text-align: center;
  transform-style: preserve-3d;
  transition: var(--transition);
}

.counter-item:hover {
  transform: translateY(-8px) translateZ(10px);
}

.counter-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  display: block;
}

.counter-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   TESTIMONIALS - RESEND STYLE
=========================================*/

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: var(--transition-slow);
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px) translateZ(20px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

.testimonial-author-info h5 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.testimonial-author-info span {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ==========================================
   UTILITIES
=========================================*/

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* ==========================================
   RESPONSIVE
=========================================*/

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: var(--space-20) 0 var(--space-16);
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-input-group {
    flex-direction: column;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   ANIMATIONS
=========================================*/

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) translateZ(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) translateZ(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) translateZ(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==========================================
   SCROLL ANIMATIONS
=========================================*/

.scroll-reveal {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================
   PROCESS GRID
=========================================*/

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.process-item {
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
}

.process-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--resend-blue);
  transform: translateY(-8px) translateZ(20px);
  box-shadow: var(--shadow-lg), var(--glow-blue);
}

.process-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.process-item h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.process-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   PROJECT DETAIL PAGES
=========================================*/

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.project-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-color);
}

.project-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: var(--space-3) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.feature-list li i {
  color: var(--resend-blue);
  font-size: 18px;
}

.project-tech-stack {
  margin: var(--space-16) 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tech-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--resend-blue);
  transform: translateY(-4px);
}

.tech-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.project-challenges {
  margin: var(--space-16) 0;
}

.challenge-item {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.challenge-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.challenge-item h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  font-size: 18px;
}

.challenge-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-results {
  margin: var(--space-16) 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

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

.result-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.result-label {
  color: var(--text-secondary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CONTACT PAGE
=========================================*/

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  margin-top: var(--space-8);
}

.contact-info h2 {
  color: var(--text-primary);
  font-size: 32px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--resend-blue);
  transform: translateX(8px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--resend-blue);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   TEAM PAGE
=========================================*/

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
}

.team-card:hover {
  transform: translateY(-8px) translateZ(20px);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  border-color: var(--resend-blue);
}

.team-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: var(--space-6);
  text-align: center;
}

.team-info h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.team-role {
  color: var(--resend-blue);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
}

.team-bio {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.team-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--resend-blue);
  border-color: var(--resend-blue);
  color: var(--text-primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* ==========================================
   PROCESS TIMELINE
=========================================*/

.process-timeline {
  margin-top: var(--space-12);
  position: relative;
  padding-left: var(--space-8);
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--resend-blue), var(--resend-purple));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-16);
  padding-left: var(--space-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--resend-blue);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--resend-blue);
}

.timeline-number {
  position: absolute;
  left: -40px;
  top: -8px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--resend-blue), var(--resend-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  box-shadow: var(--glow-blue);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: var(--transition);
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  border-color: var(--resend-blue);
  transform: translateX(8px);
}

.timeline-content h3 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.timeline-content > p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.timeline-content > p strong {
  color: var(--resend-blue);
  font-weight: 600;
}

@media (max-width: 768px) {
  .process-timeline {
    padding-left: var(--space-6);
  }
  
  .timeline-item {
    padding-left: var(--space-6);
  }
  
  .timeline-number {
    left: -32px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ==========================================
   OVERRIDES - Remove Old Styles
=========================================*/

/* Remove all old conflicting styles */
.si__header__area,
.si__slider__area,
.si__service__area,
.si__gallery__area,
.si__faq__are,
.si__fotter__two__area {
  all: unset;
}

/* Reset Bootstrap grid if needed */
.row {
  display: contents;
}

.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-9,
.col-lg-12,
.col-md-6,
.col-md-12 {
  width: 100%;
  padding: 0;
}

