/**
 * Premium AI Business Card & Brand Identity Generator - Stylesheet
 * allin1prosolution.site
 */

:root {
  --bg-dark: #070B16;
  --bg-card: rgba(15, 23, 42, 0.78);
  --border-glass: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f2fe;
  --accent-purple: #9d4edd;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.88);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Glassmorphism Containers */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.25);
}

/* Text & Gradients */
.text-cyan { color: var(--accent-cyan) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-gold { color: var(--accent-gold) !important; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Business Card Viewport Container */
.business-card-viewport {
  perspective: 1000px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.business-card-inner {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
}

.business-card-inner.flipped {
  transform: rotateY(180deg);
}

.card-side {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  background: #0f172a;
}

/* Brand & Social Kit Grid Asset Cards */
.kit-asset-card {
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.kit-asset-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.kit-asset-preview {
  height: 110px;
  border-radius: 10px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Buttons */
.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
  color: #070B16;
  font-weight: 700;
  border: none;
  transition: all 0.25s ease;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
  color: #070B16;
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple), #7209b7);
  color: #ffffff;
  font-weight: 700;
  border: none;
}

.btn-purple:hover {
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  transform: rotate(15deg);
}

/* Nav Pills */
.nav-pills-glass .nav-link {
  color: var(--text-secondary);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  margin-right: 6px;
  margin-bottom: 6px;
}

.nav-pills-glass .nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-pills-glass .nav-link.active {
  color: #070B16;
  background: var(--accent-cyan);
  font-weight: 700;
}
