/* ============================================
   Noito Choice Innovations — Global Styles
   Modern, professional, white-background theme
   ============================================ */

:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --primary-bg: rgba(79, 70, 229, 0.06);
  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-subtle: #f3f4f6;
  --border-color: #e5e7eb;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  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(--border-light);
  padding: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

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

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

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
  padding: 5rem 0;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--text-dark);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 0.5rem;
}

.footer-links-col a {
  color: #9ca3af;
  font-size: 0.925rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ============================================
   Image Placeholders
   ============================================ */
.image-placeholder {
  background: var(--bg-subtle);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  min-height: 280px;
  color: var(--text-light);
  gap: 1rem;
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.image-placeholder span {
  font-size: 0.875rem;
  font-weight: 500;
}

.image-placeholder.tall {
  min-height: 380px;
}

.image-placeholder.phone-mockup {
  min-height: 420px;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Privacy Policy Specific
   ============================================ */
.meta-date {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.content-section h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--text-body);
  line-height: 1.7;
}

.content-section p {
  margin-bottom: 1rem;
}

.contact-block {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}

.contact-block p {
  margin-bottom: 0.25rem;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-intro--full {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-intro--full h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.about-intro--full p {
  font-size: 1.1rem;
  color: var(--text-body);
}

.about-intro-text h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  font-size: 2rem;
}

.about-intro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Expertise Grid */
.expertise-section {
  margin-bottom: 5rem;
}

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

.expertise-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.expertise-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.expertise-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Background Section */
.background-section {
  margin-bottom: 5rem;
}

.background-section .section-heading {
  text-align: left;
}

.background-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: start;
}

.background-text p {
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Values Section */
.values-section {
  margin-bottom: 2rem;
}

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

.value-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.value-item:hover {
  border-color: var(--primary-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.value-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.4;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Our Work Page
   ============================================ */

/* Featured Product */
.featured-product {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 5rem;
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.product-info h2 {
  font-size: 2rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.product-tagline {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem !important;
}

.product-features {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.product-feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--primary);
  margin-top: 2px;
}

.product-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Technology Grid */
.tech-section {
  margin-bottom: 5rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.tech-item:hover {
  border-color: var(--primary-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.tech-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.tech-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.tech-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Roadmap */
.roadmap-section {
  margin-bottom: 2rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.roadmap-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.roadmap-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.roadmap-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.roadmap-status.active {
  background: #ecfdf5;
  color: #059669;
}

.roadmap-status.planned {
  background: #eff6ff;
  color: #3b82f6;
}

.roadmap-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.roadmap-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Home Page / Hero
   ============================================ */
.hero-home {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-home .hero-logo {
  width: min(480px, 70vw);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-bottom: 3rem;
  transition: transform var(--transition);
}

.hero-home .hero-logo:hover {
  transform: translateY(-5px);
}

.hero-home h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

/* Mission Card */
.mission-card {
  max-width: 800px;
  margin: 0 auto 5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.mission-card h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.mission-card p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* What We're Building Grid */
.building-section {
  margin-bottom: 2rem;
}

.building-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.building-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.building-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  transition: width var(--transition);
}

.building-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.building-card:hover::before {
  width: 100%;
  opacity: 0.04;
}

.building-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.building-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.building-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}

.building-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .building-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-container {
    position: relative;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .background-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-product {
    padding: 2rem 1.5rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-home {
    padding: 3rem 0 2rem;
  }

  .cta-section {
    padding: 3rem 0;
  }
}
