/* 
  Irannian AI Landing 01 - Tehran × Future AI
  Palette: white, turquoise (#00d4c8), black, Persian gold (#d4af37)
  Font: Dana ready + fallbacks
*/

@font-face {
  font-family: 'Dana';
  src: url('/assets/fonts/Dana-Regular.woff2') format('woff2'),
       url('/assets/fonts/Dana-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('/assets/fonts/Dana-Medium.woff2') format('woff2'),
       url('/assets/fonts/Dana-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('/assets/fonts/Dana-Bold.woff2') format('woff2'),
       url('/assets/fonts/Dana-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --turquoise: #00d4c8;
  --turquoise-dark: #00a89e;
  --gold: #d4af37;
  --gold-light: #e8c96a;
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e8ecf0;
  --gray-600: #5a6470;
  --gray-800: #2a2f36;
  --font: 'Dana', 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--turquoise); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--turquoise);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  color: var(--black);
  border-color: transparent;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,212,200,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 0.6rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo-img { border-radius: 8px; }
.logo-text { letter-spacing: -0.02em; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--turquoise); }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #0d1a1f 40%, #0a1215 100%);
  z-index: 0;
}
.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: 
    linear-gradient(to top, rgba(0,212,200,0.08), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath fill='%231a2a2e' d='M0 200 L0 120 L40 120 L40 80 L60 80 L60 140 L100 140 L100 60 L130 60 L130 100 L180 100 L180 40 L220 40 L220 130 L280 130 L280 70 L320 70 L320 150 L380 150 L380 50 L420 50 L420 110 L480 110 L480 30 L520 30 L520 160 L580 160 L580 90 L640 90 L640 140 L700 140 L700 55 L760 55 L760 120 L820 120 L820 40 L880 40 L880 100 L940 100 L940 70 L1000 70 L1000 150 L1060 150 L1060 80 L1120 80 L1120 130 L1200 130 L1200 200 Z'/%3E%3Cpath fill='%2300d4c8' opacity='0.15' d='M580 90 L580 20 L600 0 L620 20 L620 90 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  opacity: 0.9;
}
.neural-lines {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 20% 30%, rgba(0,212,200,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.08) 0%, transparent 40%),
    linear-gradient(90deg, transparent 49%, rgba(0,212,200,0.03) 50%, transparent 51%);
  pointer-events: none;
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--turquoise) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.section-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

/* About */
.about {
  background: var(--black-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.about-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,200,0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.about-card:hover {
  border-color: var(--turquoise);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 1.75rem;
  color: var(--turquoise);
  margin-bottom: 1rem;
}
.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}
.about-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Usecases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.usecase-card {
  background: linear-gradient(145deg, rgba(0,212,200,0.08), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.usecase-card h3 {
  font-size: 1.1rem;
  color: var(--turquoise);
  margin-bottom: 0.5rem;
}
.usecase-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Features */
.features {
  background: var(--black-soft);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.feature-item:hover {
  border-bottom-color: var(--gold);
}
.feature-item h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.feature-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* Why */
.why-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0,212,200,0.05);
  border-right: 3px solid var(--turquoise);
  border-radius: 0 8px 8px 0;
}
.why-list strong {
  color: var(--gold-light);
  font-size: 1.05rem;
}
.why-list span {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* How */
.how {
  background: var(--black-soft);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turquoise), var(--gold));
  color: var(--black);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.step p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}
.how-cta { text-align: center; }

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--turquoise);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, rgba(0,212,200,0.15), rgba(212,175,55,0.1));
  text-align: center;
  border-top: 1px solid rgba(0,212,200,0.2);
}
.final-cta h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  background: #050505;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
}

/* Focus states */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(10,10,10,0.98);
    padding: 1.5rem;
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 1rem;
  }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 6rem; min-height: auto; padding-bottom: 3rem; }
  .section { padding: 3.5rem 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
