/* FormVidya - Pose Perfect Corporate Website */

:root {
  --bg-dark: #0d0f12;
  --bg-card: #15181d;
  --bg-elevated: #1a1e24;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-teal: #00d4aa;
  --accent-teal-dim: rgba(0, 212, 170, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(13, 15, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-form {
  color: var(--text-primary);
}

.logo-vidya {
  color: var(--accent-teal);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-teal-dim), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--accent-amber-dim), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(0, 212, 170, 0.08), transparent);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 400px);
  height: min(90vw, 400px);
  pointer-events: none;
}

/* Optional: add hero-graphic.png or hero-graphic.svg for custom graphic */
.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.4;
}

/* Decorative blob when no image - subtle abstract form */
.hero-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-teal-dim) 0%, transparent 60%);
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-product {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.hero-product strong {
  color: var(--accent-teal);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--accent-teal);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.35);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 0.4; top: 8px; }
  50% { opacity: 1; top: 16px; }
}

/* Teaser */
.teaser {
  padding: 5rem 0;
}

.teaser-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.teaser-question {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.teaser-answer {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Value Props */
.value-props {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 3rem;
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-icon {
  color: var(--accent-teal);
  font-size: 1.25rem;
  font-weight: 600;
}

.value-item p {
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* Product Teaser */
.product-teaser {
  padding: 5rem 0;
}

.product-content {
  text-align: center;
}

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.product-tagline {
  font-size: 1rem;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.product-visual {
  margin-top: 3rem;
}

.product-graphic {
  width: min(90vw, 400px);
  height: min(90vw, 400px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.product-placeholder {
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder span {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Notify */
.notify {
  padding: 5rem 0;
}

.notify-desc {
  text-align: center;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.notify-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.notify-form button {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--accent-teal);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}

.notify-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SMS Policy */
.sms-policy {
  padding: 5rem 0;
}

.sms-policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.sms-consent-box {
  background: var(--accent-teal-dim);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.sms-consent-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

.sms-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sms-detail-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.sms-detail-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.sms-detail-item ul {
  list-style: none;
  padding: 0;
}

.sms-detail-item li {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.sms-detail-item li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
}

.sms-detail-item a {
  color: var(--accent-teal);
}

.sms-detail-item a:hover {
  text-decoration: underline;
}

.sms-legal-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sms-legal-links a {
  color: var(--accent-teal);
}

.sms-legal-links a:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.contact-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--accent-teal);
  font-size: 1rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-address {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-links span {
  color: var(--text-muted);
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.logo-footer .logo-vidya {
  color: var(--accent-teal);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 1.5rem;
    gap: 1rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .teaser-card {
    padding: 2rem;
  }

  .teaser-question {
    font-size: 1.25rem;
  }

  .notify-form {
    flex-direction: column;
  }
}
