/* =====================================================
   TRYARRO FINANCE LLC — Corporate Landing Page
   Color palette: Deep violet / purple luxury theme
   ===================================================== */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --bg-base:        #07050F;
  --bg-section:     #0D0A1B;
  --bg-alt:         #110D22;
  --bg-card:        #160E2B;
  --border:         rgba(148, 105, 255, 0.18);
  --border-hover:   rgba(148, 105, 255, 0.50);

  --purple-deep:    #2D1B69;
  --purple-mid:     #6C35D6;
  --purple-bright:  #9B5DE5;
  --purple-light:   #C89AFF;
  --purple-pale:    #E8D9FF;
  --gold:           #C9A84C;

  --text-primary:   #EDE8FF;
  --text-secondary: #A897CC;
  --text-muted:     #5F5080;

  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', sans-serif;

  --radius:         6px;
  --radius-lg:      14px;
  --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container:      1160px;
  --section-pad:    120px;
}

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

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

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; }

/* ── Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--purple-pale);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  color: #fff;
}
.btn-primary:hover {
  background: var(--purple-bright);
  border-color: var(--purple-bright);
  box-shadow: 0 0 40px rgba(107, 53, 214, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-hover);
  color: var(--purple-light);
}
.btn-ghost:hover {
  border-color: var(--purple-bright);
  color: var(--text-primary);
  background: rgba(107, 53, 214, 0.12);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Reveal Animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Base ──────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--purple-pale);
}

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 5, 15, 0.92);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  user-select: none;
}
.logo-try {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--purple-bright);
}
.logo-finance {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-left: 4px;
}
.logo-llc {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-left: 8px;
  margin-bottom: 2px;
}

/* Nav */
.nav {
  display: flex;
  gap: 40px;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--purple-bright);
  transition: width var(--transition);
}
.nav a:hover { color: var(--text-primary); }
.nav a:hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 105, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 105, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(107, 53, 214, 0.35) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -50px; left: -80px;
  background: radial-gradient(circle, rgba(45, 27, 105, 0.5) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--purple-pale);
  line-height: 1.1;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--purple-bright);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--purple-mid), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
.about { background: var(--bg-section); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text { }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.value-card:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}

.value-icon {
  font-size: 1.4rem;
  color: var(--purple-bright);
  margin-bottom: 12px;
  line-height: 1;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--purple-pale);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
.services { background: var(--bg-alt); }

.decorative-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple-mid), transparent);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--purple-mid), var(--purple-bright));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(45, 27, 105, 0.4);
}
.service-card:hover::before { opacity: 1; }

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(148, 105, 255, 0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--purple-pale);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.service-line {
  margin-top: 24px;
  height: 1px;
  width: 40px;
  background: var(--purple-mid);
  transition: width var(--transition);
}
.service-card:hover .service-line { width: 100%; }

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq { background: var(--bg-section); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  transition: color var(--transition);
}
.faq-question span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color var(--transition);
}
.faq-question:hover span:first-child { color: var(--purple-light); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--purple-bright);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; padding-bottom: 24px; }
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  padding-right: 48px;
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact {
  background: var(--bg-alt);
  overflow: hidden;
}

.contact-orb {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(107, 53, 214, 0.2) 0%, transparent 65%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--purple-pale);
  line-height: 1.65;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.contact-detail-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-link {
  color: var(--purple-light);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--text-primary); }

address {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B5DE5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option { background: var(--bg-card); }

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple-mid);
  background: rgba(107, 53, 214, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-success {
  display: none;
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--purple-light);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: 280px;
    background: rgba(7, 5, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  .nav.open { right: 0; }
  .nav a { font-size: 1rem; }

  .burger { display: flex; z-index: 1001; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form  { padding: 32px 24px; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
