/* Inovexa - SubSync Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-primary: #0F172A;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(51, 65, 85, 0.8);
  --accent-purple: #8B5CF6;
  --accent-indigo: #6366F1;
  --accent-cyan: #06B6D4;
  --accent-pink: #EC4899;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(139, 92, 246, 0.3);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 10px 30px -10px rgba(99, 102, 241, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Gradients */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  animation: float 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: var(--accent-indigo);
}

.blob-2 {
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Header / Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  color: white;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.5);
  opacity: 0.95;
}

/* Page Layout */
main {
  flex: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Content Cards */
.content-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Legal Content Styling */
.legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 2.2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-content h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--accent-indigo);
  border-radius: 2px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--text-muted);
  margin: 0 0 1.5rem 1.5rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.last-updated {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  color: var(--accent-indigo);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: rgba(10, 15, 30, 0.9);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

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

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.footer-col a:hover {
  color: var(--accent-indigo);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .page-title {
    font-size: 2.2rem;
  }
  .content-card {
    padding: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
