/* Choi Sunsolar LLC — SunTrack Static Site */
:root {
  --yellow: #FBBF24;
  --blue: #0EA5E9;
  --bg-light: #F0FDF4;
  --text-dark: #1A2E1F;
  --text-gray: #1F2937;
  --white: #FFFFFF;
  --border: rgba(26, 46, 31, 0.12);
  --shadow: 0 4px 24px rgba(26, 46, 31, 0.08);
  --radius: 16px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-gray);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: #0284C7; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--yellow), #F59E0B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 20px; height: 20px; fill: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover { color: var(--text-dark); box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary:hover { color: var(--white); background: #0284C7; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 46, 31, 0.75) 0%,
    rgba(14, 165, 233, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-header p { color: #4B5563; }

.bg-light { background: var(--bg-light); }

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p { font-size: 0.95rem; color: #4B5563; }

/* Product preview */
.product-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.app-icon-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, var(--yellow), #F59E0B);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.35);
  margin-bottom: 1.5rem;
}

.app-icon-large svg { width: 64px; height: 64px; }

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--yellow);
  font-weight: 600;
}

.rating span { color: var(--text-gray); font-weight: 400; }

/* Check list */
.check-list { list-style: none; margin: 1.5rem 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--bg-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230EA5E9'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.screenshot-card {
  background: linear-gradient(180deg, #E0F2FE 0%, var(--bg-light) 100%);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.phone-mockup {
  width: 140px;
  height: 280px;
  margin: 0 auto 1rem;
  background: var(--white);
  border-radius: 24px;
  border: 3px solid #D1D5DB;
  padding: 12px 8px;
  box-shadow: var(--shadow);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, #F0FDF4, #E0F2FE);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.phone-screen .bar {
  width: 80%;
  height: 8px;
  background: rgba(14, 165, 233, 0.3);
  border-radius: 4px;
}

.phone-screen .chart {
  width: 70%;
  height: 60px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  position: relative;
}

.phone-screen .chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 40%, rgba(14, 165, 233, 0.2));
  clip-path: polygon(0 80%, 25% 50%, 50% 60%, 75% 30%, 100% 40%, 100% 100%, 0 100%);
}

.screenshot-card h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.illustration-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-light);
}

.about-image img,
.about-image svg,
.illustration-box img,
.illustration-box svg {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.hero-subtext {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--yellow);
}

.hero-stat span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--yellow), #F59E0B);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p { font-size: 0.95rem; color: #4B5563; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: #4B5563;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1e4d3a 100%);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* Product detail sections */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.detail-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.detail-card p { font-size: 0.92rem; color: #4B5563; }

.prose-block {
  max-width: 720px;
  margin-bottom: 2rem;
}

.prose-block p {
  margin-bottom: 1rem;
  color: #4B5563;
  font-size: 0.98rem;
}

.prose-block p:last-child { margin-bottom: 0; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.tag {
  background: var(--bg-light);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

.team-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.info-table {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-row dt {
  background: var(--bg-light);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.info-row dd {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-block {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-block h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--blue);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  background: var(--bg-light);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Legal pages */
.page-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p { color: #6B7280; }

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content a { word-break: break-all; }

/* Page title (inner pages) */
.page-title-section {
  padding: calc(var(--nav-height) + 3rem) 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-light), var(--white));
}

.page-title-section h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.compatibility-note {
  background: var(--bg-light);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--yellow); }

/* Responsive */
@media (max-width: 900px) {
  .product-preview,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .footer-grid { grid-template-columns: 1fr; }

  .info-row { grid-template-columns: 1fr; }

  .info-row dt { border-bottom: 1px solid var(--border); }
}
