/*--------------------------------------------------------------
# style.css
# Conformal Group Website - Tech/VC Optimized v3
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variables & Base Styles
--------------------------------------------------------------*/
:root {
  /* Color Palette (Dark Theme) */
  --primary-color: #3B82F6; /* Vibrant Blue */
  --primary-color-dark: #2563EB;
  --primary-color-rgb: 59, 130, 246;
  --secondary-color: #14B8A6; /* Teal */
  --secondary-color-dark: #0D9488;
  --accent-color: #F59E0B; /* Amber/Gold */

  --bg-dark-primary: #111827; /* Very Dark Blue/Gray */
  --bg-dark-secondary: #1F2937; /* Dark Blue/Gray */
  --bg-light: #F9FAFB; /* Off-white for contrast */

  --text-primary-dark: #F9FAFB; /* Primary text on dark */
  --text-secondary-dark: #D1D5DB; /* Secondary text on dark */
  --text-muted-dark: #9CA3AF;

  --text-primary-light: #1F2937; /* Primary text on light */
  --text-secondary-light: #4B5563;
  --text-muted-light: #6B7280;

  --border-dark: #374151;
  --border-light: #E5E7EB;
  --border-radius: 0.5rem; /* Slightly larger radius */

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-headings: 'Inter', var(--font-primary);
  --font-mono: 'Roboto Mono', monospace;

  /* Spacing & Layout */
  --section-padding: clamp(80px, 10vw, 120px) 0; /* Fluid padding */
  --container-max-width: 1280px;
  --header-height: 70px;
  --header-height-scrolled: 60px;
}

/* Apply dark theme by default */
body.dark-theme {
  background-color: var(--bg-dark-primary);
  color: var(--text-secondary-dark);
}
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3,
body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
  color: var(--text-primary-dark);
}
body.dark-theme .section-bg-light {
    background-color: var(--bg-light);
    color: var(--text-secondary-light);
}
body.dark-theme .section-bg-light h1, body.dark-theme .section-bg-light h2,
body.dark-theme .section-bg-light h3, body.dark-theme .section-bg-light h4 {
    color: var(--text-primary-light);
}
body.dark-theme .section-bg-light .section-eyebrow {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
}
body.dark-theme .section-bg-darker {
    background-color: var(--bg-dark-secondary);
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary-color-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.3;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; } /* Fluid H1 */
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); font-weight: 600; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text-muted-light); } /* Lead for light bg */
body.dark-theme .lead { color: var(--text-muted-dark); }

/*--------------------------------------------------------------
# Utility Classes & Common Elements
--------------------------------------------------------------*/
.container { max-width: var(--container-max-width); margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.container-xl { max-width: 1320px; } /* Keep if needed */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: #10B981 !important; } /* Tailwind Green 500 */
.text-danger { color: #EF4444 !important; } /* Tailwind Red 500 */
.text-muted { color: var(--text-muted-dark); } /* Default muted for dark */
body.dark-theme .section-bg-light .text-muted { color: var(--text-muted-light); }

.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: var(--border-radius) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.section-padding { padding: var(--section-padding); }

/* Buttons (Refined) */
.btn-primary, .btn-secondary, .btn-outline, .btn-white, .btn-outline-white {
    padding: 12px 32px; border-radius: 50px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px; border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: inline-block;
    font-size: 0.9rem; cursor: pointer; text-align: center;
}
.btn-lg { padding: 16px 48px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background-color: var(--primary-color-dark); border-color: var(--primary-color-dark); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-secondary { background-color: var(--bg-dark-secondary); border-color: var(--border-dark); color: var(--text-primary-dark); }
.btn-secondary:hover { background-color: lighten(var(--bg-dark-secondary), 5%); border-color: var(--text-muted-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
body.dark-theme .section-bg-light .btn-secondary { background-color: var(--text-primary-light); border-color: var(--text-primary-light); color: var(--white-color); }
body.dark-theme .section-bg-light .btn-secondary:hover { background-color: darken(var(--text-primary-light), 10%); border-color: darken(var(--text-primary-light), 10%); }


.btn-outline { background-color: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white-color); transform: translateY(-3px); box-shadow: var(--shadow); }
body.dark-theme .section-bg-light .btn-outline { border-color: var(--text-primary-light); color: var(--text-primary-light); }
body.dark-theme .section-bg-light .btn-outline:hover { background-color: var(--text-primary-light); color: var(--white-color); }

.btn-white { background-color: var(--white-color); border-color: var(--white-color); color: var(--primary-color); }
.btn-white:hover { background-color: #f1f1f1; border-color: #f1f1f1; color: var(--primary-color-dark); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-outline-white { background-color: transparent; border-color: rgba(255, 255, 255, 0.8); color: var(--white-color); }
.btn-outline-white:hover { background-color: var(--white-color); color: var(--primary-color); border-color: var(--white-color); transform: translateY(-3px); box-shadow: var(--shadow); }

.ms-lg-2 { margin-left: 0.5rem; } /* Spacing utility */
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-3 { margin-bottom: 1rem !important; }

/* Icon List Style (Refined) */
.icon-list { list-style: none; padding: 0; margin-top: 25px; }
.icon-list li { display: flex; align-items: flex-start; margin-bottom: 20px; }
.icon-list .list-icon {
    font-size: 1.4rem; color: var(--primary-color); margin-right: 18px;
    line-height: 1; width: 30px; flex-shrink: 0; margin-top: 3px;
    text-align: center;
}
.icon-list h4 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 600; }
.icon-list p { font-size: 1rem; color: var(--text-secondary-dark); margin-bottom: 0; line-height: 1.6; }
body.dark-theme .section-bg-light .icon-list p { color: var(--text-secondary-light); }
body.dark-theme .section-bg-light .icon-list h4 { color: var(--text-primary-light); }

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed; visibility: hidden; opacity: 0; right: 20px; bottom: 20px;
  z-index: 998; background: var(--primary-color); width: 44px; height: 44px;
  border-radius: 50%; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.back-to-top i { font-size: 1.4rem; color: var(--white-color); }
.back-to-top:hover { background: var(--primary-color-dark); transform: translateY(-3px); }
.back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.3s ease; z-index: 997; padding: 0; /* Padding handled by container */
  height: var(--header-height);
  background-color: rgba(17, 24, 39, 0.85); /* Darker semi-transparent */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}
.header.header-scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow);
}
.header .container { height: 100%; }
.header .logo img.logo-img {
    max-height: 32px; /* Adjusted logo size */
    filter: brightness(0) invert(1); /* Make SVG white */
    transition: filter 0.3s ease;
}
/* Optional: Dark logo on light background if needed */
/* body:not(.dark-theme) .header .logo img.logo-img { filter: none; } */

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions .btn-primary, .header-actions .btn-outline { padding: 8px 24px; font-size: 0.85rem; }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar { padding: 0; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; height: 100%; }
.navbar li { position: relative; margin: 0 12px; }
.navbar a, .navbar a:focus {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3px; /* Minimal horizontal padding */
  height: var(--header-height); /* Full height link */
  font-size: 0.95rem; font-weight: 600; color: var(--text-secondary-dark);
  white-space: nowrap; transition: color 0.3s ease; position: relative;
  border-bottom: 3px solid transparent; /* Underline effect */
}
.header.header-scrolled .navbar a, .header.header-scrolled .navbar a:focus { height: var(--header-height-scrolled); }

.navbar a i { display: none; } /* Hide dropdown icon for now */

.navbar a:hover, .navbar .active, .navbar li:hover>a {
  color: var(--text-primary-dark);
  border-bottom-color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--text-secondary-dark); font-size: 28px; cursor: pointer; display: none;
  line-height: 0; transition: 0.5s; z-index: 999;
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar { display: none; } /* Hide desktop nav */
  .header-actions { display: none; }
}

.navbar-mobile {
  position: fixed; overflow: hidden; inset: 0; /* top, right, bottom, left */
  background: rgba(17, 24, 39, 0.95); /* Darker overlay */
  transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 998;
  opacity: 0; visibility: hidden;
}
body.mobile-nav-active .navbar-mobile { opacity: 1; visibility: visible; }

.navbar-mobile .mobile-nav-toggle { position: absolute; top: 20px; right: 20px; color: var(--text-primary-dark); }
.navbar-mobile ul {
  display: block; position: absolute; top: 60px; right: 20px; bottom: 20px; left: 20px;
  padding: 10px 0; background-color: var(--bg-dark-secondary); overflow-y: auto;
  transition: 0.3s; border-radius: var(--border-radius); box-shadow: var(--shadow-xl);
}
.navbar-mobile a, .navbar-mobile a:focus { padding: 12px 20px; font-size: 1rem; color: var(--text-secondary-dark); display: block; }
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover>a { color: var(--text-primary-dark); background-color: rgba(var(--primary-color-rgb), 0.1); }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%; min-height: 100vh; /* Full viewport height */
  position: relative; padding: 180px 0 100px 0;
  display: flex; align-items: center; overflow: hidden;
}
.hero-background-gradient {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-color-rgb), 0.15) 0%, transparent 50%),
                linear-gradient(180deg, var(--bg-dark-primary) 0%, var(--bg-dark-secondary) 100%);
}
.hero .container { position: relative; z-index: 2; }

.hero h1.hero-title {
  margin: 0 0 25px 0; font-weight: 800; line-height: 1.2;
  color: var(--text-primary-dark);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero h2.hero-subtitle {
  color: var(--text-secondary-dark); margin-bottom: 40px; font-size: 1.25rem;
  font-weight: 400; line-height: 1.7; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero .hero-actions { margin-bottom: 40px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero .hero-actions .btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); }
.hero .hero-actions .btn-primary:hover { background-color: var(--primary-color-dark); border-color: var(--primary-color-dark); }
.hero .hero-actions .btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
.hero .hero-actions .btn-outline:hover { background-color: var(--primary-color); color: var(--white-color); }

.hero .hero-key-points { color: var(--text-muted-dark); font-size: 0.9rem; font-weight: 500; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 25px; }
.hero .hero-key-points span { display: inline-flex; align-items: center; }
.hero .hero-key-points i { margin-right: 8px; font-size: 1rem; color: var(--secondary-color); }

.hero .hero-scroll-down { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero .hero-scroll-down a { color: rgba(255, 255, 255, 0.4); font-size: 1.6rem; transition: 0.3s; animation: scroll-down-anim 2s infinite ease-in-out; }
.hero .hero-scroll-down a:hover { color: var(--white-color); }

@keyframes scroll-down-anim {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 0.8; }
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 80px 0; min-height: 90vh; }
  .hero h1.hero-title { font-size: clamp(2.2rem, 7vw, 2.8rem); }
  .hero h2.hero-subtitle { font-size: 1.1rem; }
}

/*--------------------------------------------------------------
# Section Header Common Styles
--------------------------------------------------------------*/
.section-header { margin-bottom: clamp(40px, 6vw, 70px); }
.section-header .section-eyebrow {
  display: inline-block; padding: 5px 15px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb), 0.1); border-radius: 50px; margin-bottom: 15px;
}
.section-header .section-title {
  font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; margin-bottom: 20px;
  position: relative; padding-bottom: 0; /* Removed padding for cleaner look */
}
.section-header .section-title::after { display: none; } /* Removed underline */

.section-header .section-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem); color: var(--text-secondary-dark); max-width: 800px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
body.dark-theme .section-bg-light .section-subtitle { color: var(--text-secondary-light); }
body.dark-theme .section-bg-darker .section-subtitle { color: var(--text-secondary-dark); }

/*--------------------------------------------------------------
# Differentiators Section
--------------------------------------------------------------*/
.differentiator-item {
  background-color: var(--bg-dark-secondary);
  padding: 35px; border-radius: var(--border-radius);
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease; height: 100%;
  position: relative; overflow: hidden;
}
.differentiator-item::before { /* Subtle gradient border effect on hover */
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    padding: 2px; /* border thickness */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.3s ease;
}
.differentiator-item:hover::before { opacity: 1; }
.differentiator-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.differentiator-item .diff-icon {
  font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px;
  display: inline-block; line-height: 1;
}
.differentiator-item h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--text-primary-dark); }
.differentiator-item p { color: var(--text-secondary-dark); font-size: 0.95rem; line-height: 1.6; }

/*--------------------------------------------------------------
# Platform Section
--------------------------------------------------------------*/
.platform-section .platform-subheader {
    font-size: 1.5rem; font-weight: 600; margin-bottom: 30px;
    color: var(--text-primary-dark); border-left: 3px solid var(--primary-color); padding-left: 15px;
}
.platform-section .platform-diagram { transition: transform 0.3s ease; }
.platform-section .platform-diagram:hover { transform: scale(1.03); }

/*--------------------------------------------------------------
# Use Cases Section
--------------------------------------------------------------*/
.use-cases-section { background-color: var(--bg-dark-primary); } /* Use primary dark */
.use-case-card {
  background-color: var(--bg-dark-secondary);
  padding: 30px; border-radius: var(--border-radius);
  border: 1px solid var(--border-dark);
  height: 100%; display: flex; flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.use-case-card:hover {
    border-left: 3px solid var(--secondary-color);
    box-shadow: var(--shadow);
}
.use-case-header { display: flex; align-items: center; margin-bottom: 15px; }
.use-case-header i { font-size: 1.8rem; color: var(--secondary-color); margin-right: 15px; width: 30px; text-align: center; }
.use-case-header h4 { font-size: 1.3rem; margin-bottom: 0; color: var(--text-primary-dark); }
.use-case-card p { color: var(--text-secondary-dark); font-size: 1rem; flex-grow: 1; margin-bottom: 20px; }
.use-case-tag {
    display: inline-block; background-color: rgba(var(--primary-color-rgb), 0.15);
    color: var(--primary-color); padding: 4px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; margin-right: 8px; margin-top: 5px;
}

/*--------------------------------------------------------------
# Performance Benchmarks Section
--------------------------------------------------------------*/
.performance-metric-card {
    background-color: var(--bg-dark-primary); /* Match section bg */
    padding: 30px 20px; border-radius: var(--border-radius);
    border: 1px solid var(--border-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.performance-metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.2);
}
.performance-metric-card .metric-icon i { font-size: 2.8rem; color: var(--secondary-color); margin-bottom: 15px; display: block; }
.performance-metric-card .metric-value {
    font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; color: var(--text-primary-dark);
    line-height: 1.1; margin-bottom: 5px; font-family: var(--font-mono); /* Techy feel */
}
.performance-metric-card .metric-label { font-size: 0.95rem; font-weight: 500; color: var(--text-muted-dark); }

/*--------------------------------------------------------------
# API / Developers Section
--------------------------------------------------------------*/
.developers-section { background-color: var(--bg-light); }
.developers-section .section-title, .developers-section .section-eyebrow, .developers-section h3 { color: var(--text-primary-light); }
.developers-section .lead { color: var(--text-secondary-light); }
.developers-section .icon-list h4 { color: var(--text-primary-light); }
.developers-section .icon-list p { color: var(--text-secondary-light); }
.developers-section .btn-primary { /* Adjust for light */ }
.developers-section .btn-secondary {
    background-color: var(--bg-dark-secondary);
    border-color: var(--bg-dark-secondary);
    color: var(--text-primary-dark);
}
.developers-section .btn-secondary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.developers-section .code-snippet-box {
    background-color: #282c34; /* Common code editor dark */
    padding: 30px; border-radius: var(--border-radius);
    position: relative; font-family: var(--font-mono);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border-dark);
    overflow-x: auto; /* Handle long lines */
}
.developers-section .code-snippet-box pre { margin: 0; padding: 0; background: none !important; }
.developers-section .code-snippet-box code {
    color: #abb2bf; /* Common light text for dark editors */
    font-size: 0.9rem; line-height: 1.7; background: none !important;
    display: block; /* Ensure block display */
    white-space: pre; /* Preserve whitespace */
}
.developers-section .code-snippet-box .language-label {
    position: absolute; top: 15px; right: 15px; font-size: 0.8rem;
    color: #61afef; /* Blueish label */
    font-family: var(--font-primary); font-weight: 500;
    background-color: rgba(97, 175, 239, 0.1); padding: 3px 8px; border-radius: 4px;
}
/* Basic Syntax Highlighting (Adapt based on actual highlighter if used) */
.developers-section code .token.comment { color: #5c6370; font-style: italic; }
.developers-section code .token.keyword { color: #c678dd; }
.developers-section code .token.string { color: #98c379; }
.developers-section code .token.function { color: #61afef; }
.developers-section code .token.number { color: #d19a66; }
.developers-section code .token.boolean { color: #d19a66; }
.developers-section code .token.operator { color: #56b6c2; }
.developers-section code .token.punctuation { color: #abb2bf; }
.developers-section code .token.class-name { color: #e5c07b; }

/*--------------------------------------------------------------
# Pricing Section (Dark Theme Cards)
--------------------------------------------------------------*/
.pricing-card-dark {
  background-color: var(--bg-dark-primary); padding: 40px; border-radius: var(--border-radius);
  border: 1px solid var(--border-dark); text-align: center; height: 100%;
  display: flex; flex-direction: column; transition: all 0.3s ease; position: relative;
}
.pricing-card-dark:hover { transform: translateY(-10px); box-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.15); border-color: var(--primary-color); }
.pricing-card-dark.featured { border: 2px solid var(--primary-color); transform: scale(1.03); z-index: 1; }
.pricing-card-dark.featured:hover { transform: scale(1.03) translateY(-10px); }
.pricing-card-dark .featured-badge {
    background-color: var(--primary-color); color: var(--white-color); font-size: 0.75rem; font-weight: 600;
    padding: 5px 15px; border-radius: 50px; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
}
.pricing-card-dark h3 { font-size: 1.3rem; font-weight: 600; color: var(--primary-color); margin-bottom: 10px; }
.pricing-card-dark .pricing-desc { color: var(--text-muted-dark); font-size: 0.95rem; margin-bottom: 20px; min-height: 40px; }
.pricing-card-dark .price { font-size: 2.2rem; font-weight: 700; color: var(--text-primary-dark); margin-bottom: 5px; }
.pricing-card-dark .price sup { font-size: 1.2rem; top: -0.7em; }
.pricing-card-dark .price span { font-size: 0.9rem; color: var(--text-muted-dark); font-weight: 400; }
.pricing-card-dark .price.custom { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 0; margin-top: 10px; }
.pricing-card-dark .pricing-subtext { font-size: 0.8rem; color: var(--text-muted-dark); margin-bottom: 25px; }
.pricing-card-dark .pricing-features { list-style: none; padding: 0; margin: 0 0 30px 0; text-align: left; flex-grow: 1; }
.pricing-card-dark .pricing-features li { padding-bottom: 12px; display: flex; align-items: center; font-size: 0.95rem; color: var(--text-secondary-dark); }
.pricing-card-dark .pricing-features i { width: 20px; margin-right: 10px; font-size: 1rem; }
.pricing-card-dark .pricing-features .text-muted { color: var(--text-muted-dark); opacity: 0.6; text-decoration: line-through; }
.pricing-card-dark .pricing-features .text-success { color: var(--secondary-color); }
.pricing-card-dark .btn-primary, .pricing-card-dark .btn-outline { display: block; width: 100%; } /* Use standard buttons */
.pricing-note { color: var(--text-muted-dark); font-size: 0.9rem; }
.pricing-note a { color: var(--primary-color); font-weight: 500; }
.pricing-note a:hover { color: var(--primary-color-dark); }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section { background-color: var(--bg-light); }
.about-section .section-title, .about-section .section-eyebrow, .about-section h3 { color: var(--text-primary-light); }
.about-section p { color: var(--text-secondary-light); font-size: 1.05rem; }
.about-section .btn-primary { /* Adjust for light */ }
.about-section .btn-secondary {
    background-color: var(--bg-dark-secondary); border-color: var(--bg-dark-secondary); color: var(--text-primary-dark);
}
.about-section .btn-secondary:hover { background-color: var(--dark-color); border-color: var(--dark-color); }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
  background: linear-gradient(rgba(var(--bg-dark-primary-rgb), 0.9), rgba(var(--bg-dark-secondary-rgb), 0.95));
  --bg-dark-primary-rgb: 17, 24, 39;
  --bg-dark-secondary-rgb: 31, 41, 55;
}
.contact-section .section-header .section-title,
.contact-section .section-header .section-subtitle { color: var(--text-primary-dark); }
.contact-section .section-header .section-eyebrow { color: var(--primary-color); background-color: rgba(var(--primary-color-rgb), 0.1); }

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.contact-info-box .info-item {
    background-color: var(--bg-dark-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-box .info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.contact-info-box .info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}
.contact-info-box .info-item h4 {
    font-size: 1.2rem;
    color: var(--text-primary-dark);
    margin-bottom: 10px;
}
.contact-info-box .info-item p {
    color: var(--text-secondary-dark);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.contact-info-box .info-item .btn-primary,
.contact-info-box .info-item .btn-outline {
    padding: 10px 25px; /* Smaller buttons */
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer { background: var(--bg-dark-primary); color: var(--text-secondary-dark); font-size: 0.9rem; }
.footer .footer-top { padding: 70px 0 40px 0; background: var(--bg-dark-secondary); border-bottom: 1px solid var(--border-dark); }
.footer .footer-info .logo img.logo-img { max-height: 35px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer .footer-info p { font-size: 0.9rem; margin-bottom: 25px; line-height: 1.7; color: var(--text-muted-dark); }
.footer .social-links a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--border-dark); font-size: 1rem;
  color: var(--text-muted-dark); margin-right: 10px; transition: 0.3s;
}
.footer .social-links a:hover { color: var(--white-color); border-color: var(--primary-color); background: var(--primary-color); }
.footer h4 { font-size: 1rem; font-weight: 600; color: var(--text-primary-dark); padding-bottom: 10px; margin-bottom: 20px; border-bottom: 1px solid var(--border-dark); }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 8px 0; }
.footer .footer-links ul a { color: var(--text-secondary-dark); transition: 0.3s; display: inline-block; line-height: 1; }
.footer .footer-links ul a:hover { color: var(--white-color); text-decoration: underline; }
.footer .copyright { text-align: center; padding-top: 30px; color: var(--text-muted-dark); }
.footer .credits { padding-top: 8px; text-align: center; font-size: 0.85rem; color: var(--text-muted-dark); }
.footer .credits a { color: var(--text-muted-dark); margin: 0 5px; font-weight: 500; }
.footer .credits a:hover { color: var(--white-color); }

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 1199px) { /* Large devices */
  :root { --container-max-width: 960px; }
}
@media (max-width: 991px) { /* Medium devices */
  :root { --container-max-width: 720px; --section-padding: clamp(60px, 8vw, 90px) 0; }
  h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.8rem, 5vw, 2.25rem); }
  .section-header .section-title { font-size: clamp(1.8rem, 5vw, 2.2rem); }
  .pricing-card-dark.featured { transform: scale(1); }
  .footer .footer-top { text-align: center; }
  .footer .footer-top .footer-info, .footer .footer-top .footer-links { margin-bottom: 30px; }
  .footer .social-links { justify-content: center; }
}

@media (max-width: 767px) { /* Small devices */
  :root { --container-max-width: 540px; }
  .differentiators-section .row .col-lg-4 { margin-bottom: 25px; } /* Space stack items */
  .platform-section .row, .developers-section .row, .about-section .row { flex-direction: column; }
  .platform-section img, .developers-section .code-snippet-box, .about-section img { margin-bottom: 40px; order: -1; }
  .platform-section .content, .developers-section .content, .about-section .content { text-align: center; }
  .icon-list li { justify-content: center; text-align: left; }
  .performance-section .row .col-lg-3 { margin-bottom: 25px; }
  .pricing-section .row .col-lg-4 { margin-bottom: 30px; }
  .contact-info-box { grid-template-columns: 1fr; } /* Stack contact items */
}
@media (max-width: 576px) { /* Extra small devices */
   .hero h1.hero-title { font-size: clamp(2rem, 8vw, 2.5rem); }
   .hero h2.hero-subtitle { font-size: 1rem; }
   .hero .hero-actions { flex-direction: column; gap: 15px; align-items: center; }
   .header .logo img.logo-img { max-height: 28px; }
   .pricing-card-dark { padding: 30px 20px; }
   .contact-section .cta-title { font-size: 1.8rem; }
}
