/* CSS System for Volara Lab - Minimalist & Sophisticated Light Theme */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-color: #0E2E5F;
  --accent-blue-light: #1d4ed8;
  --border-color: #e2e8f0;
  --border-hover: #0f172a;
  
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 10px 40px -10px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 1px 3px rgba(0, 0, 0, 0.02), 0 20px 50px -10px rgba(0, 0, 0, 0.08);
  
  /* Fonts */
  --font-family-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-display: 'Instrument Sans', var(--font-family-sans);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  opacity: 0.6;
}

/* Layout Containers */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

/* Typography styles */
h1 {
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}

h2 {
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

p {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}

.tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 60px auto;
  line-height: 1.5;
}

.hero-section {
  text-align: center;
  margin-bottom: 80px;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.hero-logo {
  height: 150px;
  width: auto;
  border-radius: 24px;
  object-fit: contain;
}

.hero-brand-name {
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 76px;
  color: var(--text-primary);
  letter-spacing: -2px;
}

.hero-subtitle {
  font-family: var(--font-family-sans);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* App Grid & Cards */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 100px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.app-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.app-emoji-placeholder {
  height: 52px;
  width: 52px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.app-card-title {
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.app-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  flex-grow: 1;
  line-height: 1.55;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s ease;
}

.app-card:hover .learn-more-link {
  border-color: var(--text-primary);
}

/* Values Section */
.features-section {
  text-align: center;
  margin-bottom: 100px;
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.features-section h2 {
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-col {
  padding: 24px;
  background: transparent;
  border-radius: 8px;
  text-align: left;
}

.feature-col h3 {
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-col p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Split Page Showcase Layout (Reference-inspired) */
.showcase-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase-info {
  text-align: left;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.showcase-header-text {
  display: flex;
  flex-direction: column;
}

.showcase-header-text h2 {
  font-size: 32px;
  margin-bottom: 2px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.showcase-header-text p {
  font-size: 14px;
  color: var(--accent-blue-light);
  font-weight: 500;
}

.showcase-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.showcase-title span {
  color: var(--accent-blue-light);
}

/* Feature grid for Showcase info */
.showcase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.showcase-feat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 16px;
}

.showcase-feat-item h4 {
  font-family: var(--font-family-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.showcase-feat-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.download-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* App Store and Google Play Badge Grid */
.badges-container {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.badge-link {
  display: inline-block;
  height: 40px;
  transition: opacity 0.15s ease;
}

.badge-link:hover {
  opacity: 0.85;
}

.badge-link img,
.badge-link svg {
  height: 100%;
  width: auto;
  display: block;
}


/* 3D Overlapping Phone Mockups (Pure CSS) */
.mockups-container {
  position: relative;
  height: 480px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: absolute;
  width: 210px;
  height: 430px;
  background: #000000;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid #1a1a1a;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* iOS Phone - Left/Front position */
.phone-ios {
  transform: translateX(-60px) translateY(10px) rotate(-4deg);
  z-index: 2;
}

/* Android Phone - Right/Back position */
.phone-android {
  transform: translateX(70px) translateY(-10px) rotate(4deg);
  z-index: 1;
}

.phone-mockup:hover {
  transform: translateY(-15px) scale(1.03);
  z-index: 3;
}

/* Screen container inside the mockup */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Notch / Status Bar simulator */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #000000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

/* Showcase Footer bar */
.showcase-footer {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  color: var(--text-secondary);
  font-size: 13.5px;
}

.showcase-footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Technical Details Section */
.detail-info-block {
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  margin-top: 40px;
  text-align: left;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 48px;
}

.detail-main-text h3 {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.detail-main-text h3:first-of-type {
  margin-top: 0;
}

.detail-main-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.detail-sidebar-box h4 {
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Footer styles */
footer {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  margin-top: 80px;
}

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

.contact-email a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-email a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Responsiveness */
@media (max-width: 860px) {
  .showcase-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-brand {
    gap: 12px;
  }
  .hero-logo {
    height: 96px;
  }
  .hero-brand-name {
    font-size: 56px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  
  .showcase-info {
    text-align: center;
  }
  
  .showcase-header {
    justify-content: center;
  }
  
  .showcase-features {
    text-align: left;
  }
  
  .badges-container {
    justify-content: center;
  }
  
  .mockups-container {
    height: 420px;
  }
  
  .phone-mockup {
    width: 180px;
    height: 370px;
    border-radius: 28px;
  }
  
  .phone-ios {
    transform: translateX(-40px) translateY(10px) rotate(-3deg);
  }
  
  .phone-android {
    transform: translateX(50px) translateY(-10px) rotate(3deg);
  }
  
  .detail-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .apps-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
