/* ==========================================================================
   Crown IT Experts Limited - Corporate Design System & Stylesheet
   Palette: Deep Navy Blue, Slate Grey, Trust Teal, Crisp Whites
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --navy-950: #060d19;
  --navy-900: #0a1728;
  --navy-850: #0f223d;
  --navy-800: #152d50;
  --navy-700: #1e3e6b;
  --navy-600: #29538c;
  
  --teal-500: #0d9488;
  --teal-400: #14b8a6;
  --teal-300: #2dd4bf;
  --teal-glow: rgba(20, 184, 166, 0.25);
  --teal-gradient: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
  
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  
  --white: #ffffff;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-800: #92400e;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-800: #065f46;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(10, 23, 40, 0.12), 0 8px 10px -6px rgba(10, 23, 40, 0.05);
  --shadow-xl: 0 20px 35px -8px rgba(10, 23, 40, 0.18), 0 10px 15px -5px rgba(10, 23, 40, 0.08);
  --shadow-glow: 0 0 30px var(--teal-glow);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--teal-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--teal-400);
}

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

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--navy-900);
  color: var(--slate-300);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-alt {
  background-color: var(--slate-100);
}

/* Top Compliance Banner */
.top-notice-bar {
  background: var(--navy-950);
  color: var(--slate-400);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-notice-left, .top-notice-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-uk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  color: #93c5fd;
  font-weight: 500;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-300);
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(10, 23, 40, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-700);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--teal-500);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-900);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover {
  background: #0f766e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.84375rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--teal-300);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span.text-highlight {
  background: linear-gradient(135deg, #ffffff 30%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.1875rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--slate-400);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust-item i {
  color: var(--teal-400);
}

/* Hero Media / Graphic Card */
.hero-card-stack {
  position: relative;
}

.hero-main-card {
  background: rgba(15, 34, 61, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.partnership-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.flag-node {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.sync-arrow {
  color: var(--teal-400);
  font-size: 1.1rem;
  animation: pulse-sync 2s infinite ease-in-out;
}

@keyframes pulse-sync {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; color: var(--teal-300); }
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-stack:hover .hero-image-wrap img {
  transform: scale(1.03);
}

.status-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 13, 25, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--emerald-500);
}

.hero-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-spec-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem;
  border-radius: var(--radius-md);
}

.hero-spec-box .label {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.hero-spec-box .val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

/* Trust Bar / Stats Bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.75rem 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.3;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-kicker {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-500);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.section-dark .section-desc {
  color: var(--slate-300);
}

/* How We Work: The Hybrid Model */
.hybrid-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
}

.hybrid-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.hybrid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-400);
}

.hybrid-card.uk-pillar {
  border-top: 5px solid #2563eb;
}

.hybrid-card.tech-pillar {
  border-top: 5px solid var(--teal-500);
}

.card-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.entity-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.uk-pillar .entity-icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.tech-pillar .entity-icon {
  background: #f0fdfa;
  color: var(--teal-500);
}

.entity-country {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.uk-pillar .entity-country {
  background: #dbeafe;
  color: #1e40af;
}

.tech-pillar .entity-country {
  background: #ccfbf1;
  color: #0f766e;
}

.hybrid-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.entity-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-500);
  margin-bottom: 1.25rem;
  display: block;
}

.hybrid-card p.body-text {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.hybrid-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}

.hybrid-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.hybrid-features-list li i {
  color: var(--teal-500);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.hybrid-location-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  background: var(--slate-50);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
}

/* Statement Descriptor Alert Box */
.descriptor-alert-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  padding: 1.35rem 1.65rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.descriptor-alert-box .alert-icon {
  font-size: 1.65rem;
  color: #d97706;
  flex-shrink: 0;
}

.descriptor-alert-content h4 {
  font-size: 1rem;
  color: #92400e;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.descriptor-alert-content p {
  font-size: 0.9375rem;
  color: #78350f;
  line-height: 1.55;
}

.descriptor-highlight {
  font-family: 'Courier New', Courier, monospace;
  background: #fef3c7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  color: #78350f;
  border: 1px solid #fcd34d;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-400);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 23, 40, 0.85);
  backdrop-filter: blur(4px);
  color: var(--teal-300);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.service-body p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-pill {
  font-size: 0.75rem;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Feature Two-Column Layout */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-split.reverse {
  direction: rtl;
}
.feature-split.reverse > * {
  direction: ltr;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.feature-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Invoice Lookup & Billing Interactive Component */
.billing-box-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.billing-tabs {
  display: flex;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.billing-tab-btn {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.billing-tab-btn.active {
  background: var(--white);
  color: var(--navy-900);
  border-bottom: 3px solid var(--teal-500);
}

.billing-tab-pane {
  display: none;
  padding: 2.5rem;
}
.billing-tab-pane.active {
  display: block;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--slate-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px var(--teal-glow);
}

.form-help {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.35rem;
}

/* Invoice Result Card (Dynamic Output) */
.invoice-result-card {
  background: var(--slate-50);
  border: 1.5px dashed var(--teal-400);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
  display: none;
  animation: fadeIn 0.4s ease;
}

.invoice-result-card.visible {
  display: block;
}

.invoice-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.invoice-meta-row .inv-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

.invoice-meta-row .inv-status {
  padding: 0.25rem 0.75rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.invoice-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.invoice-items-table th {
  text-align: left;
  padding: 0.5rem 0;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
  font-weight: 600;
}

.invoice-items-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.invoice-items-table td.text-right, .invoice-items-table th.text-right {
  text-align: right;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

/* Payment Gateway Mock Modal */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 13, 25, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.payment-modal.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--slate-400);
  font-size: 1.25rem;
  cursor: pointer;
}
.modal-close-btn:hover {
  color: var(--white);
}

.modal-body {
  padding: 1.75rem;
}

.secure-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-100);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--slate-700);
}

/* Compliance Cards / Policy Sections */
.policy-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.policy-card h2 {
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-card h2 i {
  color: var(--teal-500);
}

.legal-clause-box {
  background: var(--slate-50);
  border-left: 4px solid var(--navy-700);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.legal-clause-box strong {
  color: var(--navy-900);
}

/* Global Footer (Blueprint Exact Copy Requirement) */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-info p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: var(--slate-400);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--teal-300);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}
.footer-contact-item i {
  color: var(--teal-400);
  margin-top: 0.2rem;
}

/* Mandatory Global Legal Notice Box */
.global-legal-notice-box {
  background: rgba(15, 34, 61, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 3rem;
}

.legal-notice-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.legal-notice-title i {
  color: var(--amber-500);
}

.legal-notice-body {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.7;
}

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

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-badge-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--slate-400);
  font-size: 0.75rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  animation: slideInUp 0.4s ease;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner p {
  font-size: 0.8125rem;
  color: var(--slate-300);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hybrid-model-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-notice-bar {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--slate-200);
    display: none;
    gap: 1.25rem;
    align-items: flex-start;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   Billing & Support Page - Tabs, Payment Gateways, Buttons
   ========================================================================== */

/* Billing Box Wrapper */
.billing-box-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

/* Tab Navigation Bar */
.billing-tabs {
  display: flex;
  border-bottom: 2px solid var(--slate-200);
  background: var(--slate-50);
}

.billing-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-500);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.billing-tab-btn:hover {
  color: var(--navy-900);
  background: rgba(13, 148, 136, 0.04);
}

.billing-tab-btn.active {
  color: var(--navy-900);
  border-bottom-color: var(--teal-500);
  background: var(--white);
}

.billing-tab-btn i {
  font-size: 1.05rem;
}

/* Tab Panes */
.billing-tab-pane {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.billing-tab-pane.active {
  display: block;
}

/* Payment Gateway Card */
.payment-gateway {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

.payment-gateway:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.payment-gateway.stripe {
  border-left: 4px solid #635bff;
}

.payment-gateway.shopify {
  border-left: 4px solid #96bf48;
}

/* Gateway Header */
.gateway-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.gateway-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}

.payment-gateway.stripe .gateway-icon {
  background: #f0efff;
  color: #635bff;
}

.payment-gateway.shopify .gateway-icon {
  background: #f0f7e6;
  color: #5e8e3e;
}

.gateway-info {
  flex: 1;
}

.gateway-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.gateway-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.gateway-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eef2ff;
  color: #4338ca;
  flex-shrink: 0;
}

.payment-gateway.shopify .gateway-badge {
  background: #f0f7e6;
  color: #3d6b21;
}

/* Currency Buttons Container */
.currency-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Payment Button */
.payment-btn {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.35rem;
  background: var(--slate-50);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.payment-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.payment-btn:hover {
  border-color: var(--teal-400);
  background: var(--white);
  box-shadow: 0 4px 16px -4px rgba(13, 148, 136, 0.2);
  transform: translateY(-2px);
  color: var(--navy-900);
}

.payment-btn:hover::before {
  opacity: 1;
}

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

.payment-btn .flag {
  font-size: 1.35rem;
  margin-right: 0.25rem;
  position: relative;
  z-index: 1;
}

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

.payment-btn .currency-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Primary variant for Shopify */
.payment-btn.btn-primary {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-color: var(--navy-700);
  color: var(--white);
}

.payment-btn.btn-primary .currency-label {
  color: var(--slate-400);
}

.payment-btn.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-color: var(--teal-400);
  box-shadow: 0 6px 20px -4px rgba(10, 23, 40, 0.35);
  color: var(--white);
}

.payment-btn.btn-primary::before {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08) 0%, rgba(14, 184, 166, 0.08) 100%);
}

/* Stripe-specific button accent */
.payment-gateway.stripe .payment-btn:hover {
  border-color: #635bff;
  box-shadow: 0 4px 16px -4px rgba(99, 91, 255, 0.25);
}

.payment-gateway.shopify .payment-btn:not(.btn-primary):hover {
  border-color: #96bf48;
  box-shadow: 0 4px 16px -4px rgba(150, 191, 72, 0.25);
}

/* Descriptor Alert Box */
.descriptor-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}

.descriptor-alert-box .alert-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #fef3c7;
  color: #d97706;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.descriptor-alert-content h4 {
  font-size: 0.95rem;
  color: #92400e;
  margin-bottom: 0.25rem;
}

.descriptor-alert-content p {
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.55;
}

.descriptor-highlight {
  display: inline-block;
  background: #fef3c7;
  padding: 0.1rem 0.55rem;
  border-radius: 4px;
  font-weight: 700;
  color: #92400e;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

/* Payment Modal */
.payment-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 23, 40, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.payment-modal.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: scaleUp 0.25s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--navy-900);
  color: var(--white);
}

.modal-header h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--slate-400);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--white);
}

.modal-body {
  padding: 1.5rem;
}

.secure-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

/* Form Inputs (for modal) */
.form-group {
  margin-bottom: 1rem;
}

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  font-family: var(--font-body);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus {
  background: var(--white);
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Invoice Result Card */
.invoice-result-card {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: slideInUp 0.3s ease;
}

.invoice-result-card.visible {
  display: block;
}

.inv-status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   Contact Page Widget (Exact Match to Design Reference)
   ========================================================================== */

.contact-card-wrapper {
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 20px 45px -12px rgba(37, 99, 235, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(226, 232, 240, 0.8);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.75rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  align-items: stretch;
}

/* Left Column: Contact Information Panel */
.contact-info-panel {
  background: linear-gradient(155deg, #2563eb 0%, #1d4ed8 40%, #1e3a8a 100%);
  border-radius: 22px;
  padding: 3rem 2.25rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.4);
}

.contact-info-panel .contact-info-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-panel-pattern {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  position: relative;
  z-index: 2;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: all var(--transition-normal);
}

.contact-info-item:hover .contact-info-icon {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08) rotate(5deg);
}

.contact-info-text {
  flex: 1;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
  transition: color var(--transition-fast);
}

.contact-info-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Right Column: Contact Form Panel */
.contact-form-panel {
  padding: 1.75rem 1.5rem 1.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: #ebf1ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #0b1528;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.contact-input:focus,
.contact-textarea:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

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

.contact-form-action {
  margin-top: 0.5rem;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.85rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  transition: all var(--transition-normal);
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 25px -5px rgba(37, 99, 235, 0.5);
}

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

.contact-submit-btn i {
  transition: transform var(--transition-fast);
}

.contact-submit-btn:hover i {
  transform: translateX(4px);
}

.contact-feedback-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.contact-feedback-box.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-feedback-box.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 992px) {
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.25rem;
  }

  .contact-form-panel {
    padding: 0.5rem;
  }

  .contact-form-title {
    font-size: 2.15rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

