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

:root {
  --bg-primary: #09090B;
  --bg-secondary: #121214;
  --bg-card: #18181B;
  --text-primary: #FAFAF9;
  --text-secondary: #A1A1AA;
  --accent-blue: #38BDF8;
  --accent-blue-rgb: 56, 189, 248;
  --accent-green: #34D399;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.1);
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #FAFAF9 30%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-blue);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #000000;
}

.btn-primary:hover {
  background-color: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

/* Hero Section */
.hero {
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(9, 9, 11, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-blue);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Device Preview Frame */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-frame-container {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.05);
  transition: var(--transition-smooth);
}

.device-frame-container:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 60px rgba(56, 189, 248, 0.1);
}

.device-screen {
  border-radius: 2rem;
  overflow: hidden;
  background-color: #000;
}

.device-screen img {
  width: 100%;
  display: block;
}

/* Feature Grid Section */
.features {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.03);
}

.feature-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background-color: rgba(56, 189, 248, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Showcase Section */
.showcase {
  padding: 6rem 0;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse .showcase-content {
  direction: ltr;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.showcase-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.showcase-features-list li::before {
  content: '✓';
  color: var(--accent-blue);
  font-weight: 700;
}

.showcase-image-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.showcase-image-wrapper:hover {
  border-color: rgba(56, 189, 248, 0.15);
}

/* Static Pages Layout (Privacy, Support, Contact) */
.page-header {
  padding: 8rem 0 3rem 0;
  text-align: center;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.05) 0%, rgba(9, 9, 11, 0) 60%);
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 4rem 0 8rem 0;
}

/* Policy Content Styling */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-body h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  color: var(--text-primary);
}

.policy-body h3 {
  font-size: 1.15rem;
  margin-top: 0.5rem;
  color: var(--accent-blue);
}

.policy-body p, .policy-body ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.policy-body ul {
  list-style-position: inside;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* FAQ / Support Grid styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: rgba(56, 189, 248, 0.15);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-question::before {
  content: 'Q.';
  color: var(--accent-blue);
  font-family: var(--font-headings);
  font-weight: 800;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact Page Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.info-detail {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.contact-form-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: #050507;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Hamburger Menu Button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .showcase-row.reverse {
    direction: ltr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #0b0b0d;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 1050;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .policy-container, .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}
