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

:root {
  --bg-dark: #0a0c10;
  --bg-gradient: radial-gradient(circle at 50% 0%, #151a24 0%, #0a0c10 80%);
  --card-bg: rgba(20, 24, 33, 0.6);
  --card-border: rgba(255, 255, 255, 0.05);
  
  /* Instagram-inspired branding gradient */
  --insta-gradient: linear-gradient(45deg, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  --accent-blue: #0a66c2;
  --accent-glow: rgba(214, 36, 159, 0.15);
  
  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  background: var(--bg-gradient);
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

/* Sticky Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

nav a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 36, 159, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--insta-gradient);
  color: #0c0d12;
  box-shadow: 0 4px 20px rgba(214, 36, 159, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(214, 36, 159, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero UI Mockup Preview */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mock-window {
  width: 100%;
  max-width: 440px;
  background: #141821;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.window-header {
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
  border-bottom: 1px solid var(--card-border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Interactive Simulator Section */
.simulator-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.sim-pane {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sim-select-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-pill {
  border: 1px solid var(--text-muted);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  background: transparent;
  transition: all 0.15s ease;
  user-select: none;
}

.sim-pill:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.sim-pill.active {
  background: var(--insta-gradient);
  border-color: transparent;
  color: #0c0d12;
}

.sim-textarea {
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.sim-textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.sim-btn {
  background: var(--insta-gradient);
  border: none;
  border-radius: 30px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0c0d12;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(214, 36, 159, 0.3);
}

/* Features Grid */
.features-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--insta-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Screenshots / Gallery Section */
.gallery-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.gallery-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.gallery-caption {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* Setup / Setup Guide Section */
.setup-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  background: var(--insta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.25;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.step-card code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: #ec4899;
}

/* Privacy & Store Disclosures Tabs */
.tabs-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: var(--insta-gradient);
  color: #0c0d12;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(214, 36, 159, 0.25);
}

.tab-content {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
  display: block;
}

.privacy-body {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.privacy-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

.privacy-body h3:first-child {
  margin-top: 0;
}

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

.privacy-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.privacy-body li {
  margin-bottom: 8px;
}

/* Disclosure Table styling */
.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.disclosure-table th, .disclosure-table td {
  border: 1px solid var(--card-border);
  padding: 12px 16px;
  text-align: left;
}

.disclosure-table th {
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
}

.disclosure-table td {
  color: var(--text-secondary);
}

/* Footer styling */
footer {
  background: rgba(10, 12, 16, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 48px 0;
  text-align: center;
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover {
  color: var(--text-main);
}

.copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .btn-group {
    justify-content: center;
  }
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
