/* -----------------------------------------------------------------------------
   RASMERK.COM � Main Stylesheet
   Theme: Dark Navy + Teal | Font: Inter | Material: Glassmorphism
----------------------------------------------------------------------------- */

/* -- Design Tokens ------------------------------------------------------------ */
:root {
  --teal:          #00B4A6;
  --teal-light:    #00D4C4;
  --teal-dim:      rgba(0, 180, 166, 0.15);
  --teal-glow:     rgba(0, 180, 166, 0.35);
  --bg-deep:       #07090f;
  --bg-base:       #0a0e1a;
  --bg-surface:    #0f1525;
  --bg-card:       rgba(15, 21, 37, 0.7);
  --bg-card-hover: rgba(20, 28, 50, 0.85);
  --text-primary:  #e8edf5;
  --text-secondary:#9ca3af;
  --text-muted:    #5a6580;
  --border:        rgba(255, 255, 255, 0.07);
  --border-teal:   rgba(0, 180, 166, 0.3);
  --section-pad:   120px;
  --card-radius:   16px;
  --nav-h:         68px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.gradient-text {
  background: linear-gradient(135deg, var(--teal-light) 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; }

.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orbs::before {
  content: ''; position: absolute; width: 600px; height: 600px; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(0,180,166,0.08) 0%, transparent 70%);
  border-radius: 50%; animation: orb-drift 20s ease-in-out infinite alternate;
}
.bg-orbs::after {
  content: ''; position: absolute; width: 500px; height: 500px; bottom: 0; right: -150px;
  background: radial-gradient(circle, rgba(125,211,252,0.06) 0%, transparent 70%);
  border-radius: 50%; animation: orb-drift 25s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,40px) scale(1.1); } }

#navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(7,9,15,0.85); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-color: var(--border);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em; color: var(--teal); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.nav-logo-icon { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--teal) !important; color: #07090f !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s var(--ease-spring) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--text-primary); flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

#hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero-brand { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 16px; padding-bottom: 8px; }
.hero-tagline { font-size: clamp(1rem,2vw,1.25rem); color: var(--text-secondary); font-weight: 400; margin-bottom: 32px; font-style: italic; }
.hero-founder { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.hero-founder-divider { width: 1px; height: 28px; background: var(--border); }
.hero-founder-name { font-size: 0.9rem; color: var(--text-secondary); }
.hero-founder-name strong { display: block; color: var(--text-primary); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photo-wrap { position: relative; flex-shrink: 0; }
.hero-photo-ring {
  width: 220px; height: 220px; border-radius: 50%; padding: 3px;
  background: linear-gradient(135deg, var(--teal) 0%, #7dd3fc 100%); position: relative;
}
.hero-photo-ring::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px dashed var(--border-teal); animation: spin-slow 20s linear infinite;
}
.hero-photo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--bg-surface); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease); border: none; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #07090f; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 24px var(--teal-glow); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--border-teal); color: var(--teal); transform: translateY(-2px); }

.section-label { text-align: center; margin-bottom: 64px; }
.section-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); margin-bottom: 12px; }
.section-title { font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.section-subtitle { margin-top: 12px; font-size: 1rem; color: var(--text-secondary); max-width: 520px; margin-left: auto; margin-right: auto; }
.teal-divider { width: 48px; height: 3px; background: linear-gradient(90deg, var(--teal), transparent); border-radius: 2px; margin: 16px auto 0; }

#product { position: relative; z-index: 1; background: var(--bg-deep); }
.product-header { display: flex; align-items: center; gap: 20px; margin-bottom: 72px; justify-content: center; flex-wrap: wrap; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 32px var(--teal-glow); flex-shrink: 0; overflow: hidden; padding: 0; }
.app-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.app-meta { text-align: left; }
.app-name { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.app-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }
.app-badge { display: inline-block; background: var(--teal-dim); color: var(--teal); border: 1px solid var(--border-teal); padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--card-radius);
  padding: 28px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, var(--teal-dim) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.feature-card:hover { border-color: var(--border-teal); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-dim); border: 1px solid var(--border-teal); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }
.feature-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.feature-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.55; }

/* Pricing enhancements */
.premium-card { border-color: var(--teal) !important; box-shadow: 0 0 30px var(--teal-glow) !important; position: relative; overflow: visible !important; }
.premium-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #07090f; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; box-shadow: 0 4px 12px var(--teal-glow); z-index: 2; }

#about { position: relative; z-index: 1; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1rem; line-height: 1.75; }
.about-highlight { color: var(--text-primary) !important; font-weight: 500; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; backdrop-filter: blur(8px); transition: border-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--border-teal); color: var(--teal); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--card-radius); padding: 24px 20px; backdrop-filter: blur(12px); text-align: center; transition: border-color 0.25s, transform 0.25s var(--ease); }
.stat-card:hover { border-color: var(--border-teal); transform: translateY(-3px); }
.stat-number { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--teal); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

#contact { position: relative; z-index: 1; background: var(--bg-deep); }
.contact-inner { text-align: center; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.contact-link { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 24px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); backdrop-filter: blur(12px); transition: all 0.2s var(--ease); }
.contact-link:hover { border-color: var(--border-teal); color: var(--teal); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }

footer { border-top: 1px solid var(--border); padding: 32px 0; position: relative; z-index: 1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; color: var(--teal); text-transform: uppercase; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-content { order: 2; } .hero-photo-wrap { order: 1; margin: 0 auto; }
  .hero-eyebrow { justify-content: center; } .hero-founder { justify-content: center; } .hero-actions { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(7,9,15,0.97); backdrop-filter: blur(20px); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid var(--border); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s var(--ease); z-index: 99; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; font-size: 1rem; padding: 10px 0; width: 100%; }
  .nav-links .nav-cta { display: inline-flex; width: max-content; padding: 10px 24px !important; margin: 4px auto 0; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  :root { --section-pad: 80px; }
  .hero-photo-ring { width: 160px; height: 160px; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-links { flex-direction: column; align-items: center; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 1rem; }
  .nav-hamburger { display: flex; margin-left: auto; }
}

/* v2 Layout Updates */
.diff-strip { padding: 40px 0; background: rgba(0, 180, 166, 0.03); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.diff-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: rgba(255,255,255,0.02); border-radius: 12px; }
.diff-icon { font-size: 2rem; }
.diff-text h4 { font-size: 1.1rem; margin-bottom: 4px; color: #fff; }
.diff-text p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }

.btn-playstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 8px 20px; border-radius: 12px; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s; }
.btn-playstore:hover { background: #111; border-color: var(--teal); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--teal); color: var(--teal); border-radius: 12px; text-decoration: none; transition: all 0.2s; font-weight: 600; }
.btn-outline:hover { background: rgba(0, 180, 166, 0.1); transform: translateY(-2px); }
.playstore-text { display: flex; flex-direction: column; align-items: flex-start; }
.ps-small { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.ps-large { font-size: 1.1rem; font-weight: 600; font-family: -apple-system, sans-serif; }

.interactive-showcase { display: flex; align-items: center; justify-content: center; gap: 60px; margin-top: 40px; }
.showcase-sidebar { display: flex; flex-direction: column; gap: 16px; flex: 1; max-width: 400px; }
.showcase-tab { padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); background: transparent; cursor: pointer; transition: all 0.3s ease; }
.showcase-tab:hover { background: rgba(255,255,255,0.02); }
.showcase-tab.active { background: rgba(0, 180, 166, 0.1); border-color: rgba(0, 180, 166, 0.3); }
.showcase-tab h4 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; transition: color 0.3s; }
.showcase-tab.active h4 { color: var(--teal); }
.showcase-tab p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.showcase-phone-area { flex: 1; display: flex; justify-content: center; }
.phone-frame { width: 320px; height: 650px; background: #000; border-radius: 40px; border: 12px solid #1a1a24; box-shadow: 0 24px 80px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 24px; background: #1a1a24; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 0.3s ease; }
.phone-screen.fade { opacity: 0.5; }

@media (max-width: 900px) {
  .diff-inner { grid-template-columns: 1fr; }
  .interactive-showcase { flex-direction: column; text-align: center; }
  .showcase-sidebar { max-width: 100%; }
}

/* Screenshots carousel */
.screenshots-tabs { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.ss-tab-bar { display: flex; gap: 8px; background: rgba(255,255,255,0.04); padding: 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.ss-tab { padding: 10px 24px; border-radius: 8px; border: none; background: transparent; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.ss-tab:hover { color: #fff; }
.ss-tab.active { background: rgba(0,180,166,0.15); color: var(--teal); }
.ss-phone-wrap { display: flex; justify-content: center; }

@media (max-width: 600px) {
  .phone-frame { width: 240px; height: 500px; border-width: 8px; border-radius: 32px; }
  .phone-notch { width: 90px; height: 18px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
}
