/* =========================================
   FOTOID.ME — BRAND DESIGN SYSTEM
   ========================================= */

:root {
  --fotoid-navy:      #06101e;
  --fotoid-dark:      #0d1b2a;
  --fotoid-dark-2:    #111827;
  --fotoid-blue:      #3b82f6;
  --fotoid-blue-dark: #1d4ed8;
  --fotoid-blue-light:#60a5fa;
  --fotoid-violet:    #8b5cf6;
  --fotoid-cyan:      #06b6d4;
  --fotoid-green:     #10b981;
  --fotoid-light:     #f8fafc;
  --fotoid-light-2:   #f1f5f9;
  --fotoid-text:      #1e293b;
  --fotoid-muted:     #64748b;
  --fotoid-border:    #e2e8f0;
  --grad-hero:        linear-gradient(135deg, #06101e 0%, #0d1b2a 50%, #0a1628 100%);
  --grad-blue:        linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  --grad-brand:       linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  --shadow-sm:        0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:        0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-blue:      0 4px 20px rgba(59,130,246,0.25);
  --font-mono:        "SF Mono","Fira Code",Consolas,"Courier New",monospace;
}

/* =========================================
   BASE
   ========================================= */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fotoid-text);
  background: #fff;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a { color: var(--fotoid-blue); text-decoration: none; }
a:hover { color: var(--fotoid-blue-dark); }

/* =========================================
   NAVBAR
   ========================================= */

.fotoid-navbar {
  background: rgba(6,16,30,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.85rem 0;
  transition: box-shadow 0.3s ease;
}

.fotoid-navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.fotoid-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--grad-brand);
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.brand-dot { color: var(--fotoid-blue-light); }

.fotoid-navbar .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem !important;
  transition: color 0.2s;
}

.fotoid-navbar .nav-link:hover { color: #fff !important; }

.fotoid-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.2);
  padding: 0.35rem 0.6rem;
}

.fotoid-navbar .navbar-toggler-icon { filter: brightness(10); }

/* =========================================
   BUTTONS
   ========================================= */

.btn-fotoid {
  background: var(--grad-brand);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-blue);
  font-size: 0.88rem;
}

.btn-fotoid:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59,130,246,0.35);
}

.btn-fotoid-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-outline-fotoid {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  font-size: 0.88rem;
}

.btn-outline-fotoid:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline-fotoid-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-outline-blue {
  background: transparent;
  color: var(--fotoid-blue);
  border: 1.5px solid var(--fotoid-blue);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-outline-blue:hover {
  background: var(--fotoid-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================
   SECTION UTILITIES
   ========================================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fotoid-blue);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--fotoid-text);
  margin-bottom: 1rem;
}

.section-title-light { color: #fff; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--fotoid-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-subtitle-light { color: rgba(255,255,255,0.6); }

/* =========================================
   HERO
   ========================================= */

.hero-section {
  background: var(--grad-hero);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 5%;
  right: 0;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(59,130,246,0.13) 0%, transparent 68%);
  pointer-events: none;
  animation: pulse-orb 9s ease-in-out infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 68%);
  pointer-events: none;
  animation: pulse-orb 11s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-orb {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(2%, -3%); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--fotoid-blue-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fotoid-blue);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.62);
  max-width: 530px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.77rem;
  font-weight: 500;
}

.trust-badge i { color: var(--fotoid-blue-light); font-size: 0.72rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat-number {
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* =========================================
   PROVIDES SECTION
   ========================================= */

.provides-section {
  padding: 90px 0;
  background: var(--fotoid-light);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--fotoid-border);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fotoid-text);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-pill:hover {
  border-color: var(--fotoid-blue);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.1), var(--shadow-sm);
  transform: translateY(-2px);
}

.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.pill-icon-blue   { background: rgba(59,130,246,0.1);  color: var(--fotoid-blue); }
.pill-icon-violet { background: rgba(139,92,246,0.1);  color: var(--fotoid-violet); }
.pill-icon-cyan   { background: rgba(6,182,212,0.1);   color: var(--fotoid-cyan); }
.pill-icon-green  { background: rgba(16,185,129,0.1);  color: var(--fotoid-green); }

/* =========================================
   FEATURES SECTION
   ========================================= */

.features-section { padding: 100px 0; background: #fff; }

.feature-card {
  background: var(--fotoid-light);
  border: 1px solid var(--fotoid-border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.icon-blue   { background: rgba(59,130,246,0.1);  color: var(--fotoid-blue); }
.icon-violet { background: rgba(139,92,246,0.1);  color: var(--fotoid-violet); }
.icon-cyan   { background: rgba(6,182,212,0.1);   color: var(--fotoid-cyan); }
.icon-green  { background: rgba(16,185,129,0.1);  color: var(--fotoid-green); }
.icon-orange { background: rgba(249,115,22,0.1);  color: #f97316; }
.icon-pink   { background: rgba(236,72,153,0.1);  color: #ec4899; }

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--fotoid-text);
}

.feature-card-desc {
  font-size: 0.88rem;
  color: var(--fotoid-muted);
  line-height: 1.75;
  margin: 0;
}

/* =========================================
   ENTERPRISE SECTION
   ========================================= */

.enterprise-section {
  padding: 100px 0;
  background: var(--fotoid-navy);
  position: relative;
  overflow: hidden;
}

.enterprise-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.use-case-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(59,130,246,0.3);
  color: #fff;
}

.use-case-item i { color: var(--fotoid-blue-light); flex-shrink: 0; }

/* =========================================
   SECURITY SECTION
   ========================================= */

.security-section {
  padding: 100px 0;
  background: var(--fotoid-dark-2);
  position: relative;
  overflow: hidden;
}

.security-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.security-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  height: 100%;
  transition: all 0.25s;
}

.security-highlight:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(139,92,246,0.3);
}

.security-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(139,92,246,0.15);
  color: var(--fotoid-violet);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.security-highlight-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.security-highlight-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
  line-height: 1.65;
}

/* =========================================
   DEVELOPER SECTION
   ========================================= */

.developer-section { padding: 100px 0; background: var(--fotoid-light); }

.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--fotoid-border);
  border-radius: 8px;
  padding: 0.5rem 0.95rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--fotoid-text);
  font-family: var(--font-mono);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.integration-badge:hover {
  border-color: var(--fotoid-blue);
  color: var(--fotoid-blue);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.1);
}

.integration-badge i { color: var(--fotoid-blue); }

.code-block {
  background: #0d1117;
  border-radius: 14px;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot-red    { background: #ff5f57; }
.code-dot-yellow { background: #febc2e; }
.code-dot-green  { background: #28c840; }
.code-filename   { color: rgba(255,255,255,0.3); font-size: 0.74rem; margin-left: 0.5rem; }

.code-line    { color: rgba(255,255,255,0.45); display: block; }
.code-keyword { color: #c678dd; }
.code-string  { color: #98c379; }
.code-method  { color: #61afef; }
.code-comment { color: #5c6370; font-style: italic; }
.code-prop    { color: #e06c75; }

/* =========================================
   ABOUT SECTION
   ========================================= */

.about-section { padding: 100px 0; background: #fff; }

.about-stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--fotoid-light);
  border: 1px solid var(--fotoid-border);
  border-radius: 16px;
  transition: all 0.25s;
}

.about-stat-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about-stat-label {
  font-size: 0.83rem;
  color: var(--fotoid-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* =========================================
   CTA BANNER
   ========================================= */

.cta-section {
  padding: 90px 0;
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* =========================================
   FOOTER
   ========================================= */

.fotoid-footer {
  background: var(--fotoid-navy);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.48);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.48);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  color: rgba(255,255,255,0.38);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* =========================================
   INNER PAGE WRAPPER
   ========================================= */

.page-content {
  padding: 80px 0;
  min-height: 60vh;
}

/* =========================================
   UTILITY
   ========================================= */

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991.98px) {
  .fotoid-navbar .navbar-collapse {
    background: rgba(6,16,30,0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(255,255,255,0.07);
  }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.25rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 1rem; }
}
