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

/* --- MINIMALIST MONOLITHIC DESIGN SYSTEM --- */
:root {
  /* Matte Monochromatic Palette */
  --bg-obsidian: #050505;     /* Purest absolute matte black */
  --bg-card: #0c0c0f;         /* Deep obsidian carbon */
  --bg-card-hover: #121216;   /* Subtle carbon lift */
  
  --primary: #ffffff;         /* Pure Monolith White */
  --primary-rgb: 255, 255, 255;
  --secondary: #a1a1a6;       /* Titanium Grey */
  --secondary-rgb: 161, 161, 166;
  --accent: #2c2c2e;          /* Dark Steel border */
  
  --text-main: #ffffff;
  --text-muted: #8e8e93;      /* Crisp matte grey */
  --text-dim: #424245;        /* Subdued structural line */
  
  /* Borders & Geometric Frameworks */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(12, 12, 15, 0.75);
  --glass-blur: blur(24px);
  --radius-sm: 4px;           /* Sharp architectural corners */
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Layout */
  --max-width: 1100px;
  --nav-height: 80px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CORE SETUP --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  letter-spacing: -0.015em;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  /* Premium Dark Radial Background to add immense depth (Apple/Linear style) */
  background: radial-gradient(circle at 50% -10%, #16161a 0%, #050505 60%);
}

/* Ambient Subtle Lighting Flares - highly premium soft white mist */
body::before {
  content: '';
  position: absolute;
  top: -10vw;
  left: 30%;
  width: 50vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

body::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
}

/* Geometric Linear Wireframe Background Overlay (Grid lines) */
.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  z-index: -2;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .brand-text {
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 5vw + 1.2rem, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 2.5vw + 0.5rem, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 0.975rem;
  font-weight: 400;
}

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

/* Crisp White/Silver Text Gradient */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #9b9b9f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Minimalist Card Style - Refined with subtle border glow */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
}

/* Sharp split-axis geometric divider (Motif from the Split Hexagon Logo) */
.geometric-border {
  position: relative;
  padding-bottom: 1.5rem;
}

.geometric-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1.5px;
  background: var(--primary);
}

/* Matte Monolith Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-obsidian);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.03);
}

/* --- NAVIGATION HEADER --- */
.navbar {
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

/* REMOVED FILTER INVERT! Logo displays in pristine, native transparent white. */
.logo-img {
  height: 24px;
  width: auto;
  transition: var(--transition-smooth);
}

.brand:hover .logo-img {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-main);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
}

.hero-content {
  max-width: 750px;
  text-align: center;
  margin: 0 auto;
}

/* Subtle, sharp structural tagging */
.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

/* Minimalist Watermark of Split Hexagon Wireframe in Hero Background */
.hero-watermark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background-image: url('assets/logo-white.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.015; /* Elegant monolithic backdrop */
  pointer-events: none;
  z-index: -1;
}

/* --- SECTIONS --- */
.section {
  padding: 8rem 0 5rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4.5rem;
}

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

/* --- STUDIO PILLARS --- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.focus-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  background: rgba(10, 10, 12, 0.7);
}

.focus-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* --- PORTFOLIO (STEADYPAY) --- */
.portfolio-container {
  display: flex;
  flex-direction: column;
}

/* Minimalist Editorial split container */
.product-showcase-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
  padding: 3.5rem;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 12, 0.75);
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.product-title {
  margin-bottom: 1.25rem;
}

.product-description {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.9rem;
}

.product-feature-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Sleek Matte Terminal UI on the right half */
.product-visual-block {
  background: #070709;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 2rem;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Space Mono', monospace, monospace;
  box-shadow: 0 15px 45px rgba(0,0,0,0.6);
}

.product-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 0.75rem;
}

.visual-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--primary);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

.product-visual-body {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.data-stream {
  border-left: 1px solid var(--border-light);
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.data-stream > span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.data-value {
  color: var(--text-main);
  font-weight: 500;
  font-family: inherit;
}

.product-visual-footer {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Subtle mouse tracking highlight */
.shine-effect {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.glass-card:hover .shine-effect {
  opacity: 1;
}

/* --- CONTACT / CONNECT --- */
.contact-container {
  max-width: 620px;
  margin: 0 auto;
}

.contact-card {
  padding: 3rem;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 12, 0.75);
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
}

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

/* Response Notifications */
.form-response-msg {
  display: none;
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-response-msg.success {
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.form-response-msg.error {
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

/* --- FOOTER --- */
.footer {
  background: #020202;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.85rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-description {
  max-width: 300px;
  font-size: 0.85rem;
}

.footer-col h4 {
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.02);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-showcase-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glass);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .focus-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}

::-webkit-scrollbar-thumb {
  background: #1c1c1e;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
