/* 
  SYMconnect - Official Website Styles
  Theme: Dark Mode, Glassmorphism, Red & Black, Inter Font
*/

:root {
  --bg-dark: #050505;
  --bg-darker: #000000;
  --bg-card: rgba(25, 25, 25, 0.6);
  --primary: #ef4444;       /* SYMconnect Red */
  --primary-hover: #dc2626;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(15, 15, 15, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #ff8a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

.text-center { text-align: center; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at top center, #1a0808 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.orb-1 {
  width: 400px; height: 400px;
  background: #ef4444;
  top: -100px; left: -100px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: #3b82f6;
  bottom: 100px; right: -200px;
  opacity: 0.05;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tag-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 64px;
  letter-spacing: -2px;
  margin: 0;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Glass Dashboard Mockup */
.hero-dashboard-container {
  position: relative;
  z-index: 10;
  margin-top: 80px;
  width: 100%;
  max-width: 900px;
  perspective: 1000px;
}

.glass-dashboard {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  transform: rotateX(5deg);
  transition: transform 0.5s ease;
}

.glass-dashboard:hover {
  transform: rotateX(0deg);
}

.dash-header {
  background: rgba(0,0,0,0.3);
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.dash-body {
  display: flex;
  height: 400px;
}

.dash-left, .dash-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-right {
  background: rgba(0,0,0,0.2);
  border-left: 1px solid var(--glass-border);
}

.dash-body h2 {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.dash-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: 8px;
}

.dash-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.dash-value {
  font-size: 24px;
  letter-spacing: 2px;
}

.dash-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 14px;
  border-radius: 8px;
  color: white;
}

.dash-btn {
  background: #262626;
  border: none;
  padding: 16px;
  border-radius: 8px;
  color: #737373;
  font-weight: 600;
  text-transform: uppercase;
}

/* Features Section */
.features {
  background: var(--bg-darker);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}

.feature-tag {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ef4444;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.feature-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.feature-link:hover {
  color: #ef4444;
}

/* Security Section */
.security-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.security-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.code-block {
  background: #000;
  border-radius: 8px;
  padding: 20px;
  font-family: monospace;
  font-size: 14px;
  color: #a3a3a3;
  overflow-x: auto;
}

.code-block code {
  white-space: pre;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
  background: var(--bg-darker);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-links h4 {
  font-size: 14px;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

/* Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 2000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.consent-banner.hide {
  display: none;
}

.consent-content h4 {
  color: white;
  margin-bottom: 8px;
}

.consent-content p {
  color: var(--text-muted);
  font-size: 13px;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  animation: slideUp 0.5s ease forwards;
  animation-delay: 1s;
  opacity: 0;
  transform: translate(-50%, 100px);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .security-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { flex-direction: column; height: auto; }
  .dash-right { border-left: none; border-top: 1px solid var(--glass-border); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 36px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-large { width: 100%; }
  .consent-banner { flex-direction: column; align-items: flex-start; }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hide {
  display: none;
}

.modal-glass {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.hide .modal-glass {
  transform: scale(0.95);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 20px;
  color: white;
}

.btn-close {
  background: transparent;
  border: none;
  color: #a3a3a3;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.btn-close:hover {
  color: #ef4444;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  color: #d4d4d4;
  font-size: 15px;
}

.modal-body h4 {
  color: white;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 18px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: rgba(255,255,255,0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #404040;
  border: 2px solid #1a1a1a;
  z-index: 1;
}

.timeline-dot.latest {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.timeline-date {
  font-size: 12px;
  color: #a3a3a3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content h4 {
  font-size: 18px;
  margin: 4px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-content ul {
  list-style: none;
  color: #d4d4d4;
  font-size: 14px;
}

.timeline-content li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.timeline-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ef4444;
}

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.latest-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.beta-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
