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

:root {
  --bg-dark: #00020B;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --text-main: #FFFFFF;
  --text-muted: #A0A5B5;
  --accent-teal: #00E5FF;
  --accent-purple: #B651FF;
  --accent-gradient: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 14, 25, 0.5);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Dynamic background glows */
body::before, body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

body::before {
  top: -100px;
  left: -100px;
  background: var(--accent-purple);
}

body::after {
  bottom: -100px;
  right: -100px;
  background: var(--accent-teal);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 50px) scale(1.1); }
  100% { transform: translate(-50px, 100px) scale(0.9); }
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.top-nav {
  display: flex;
  gap: 32px;
}

.top-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.lang-controls {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn.active {
  background: var(--text-main);
  color: var(--bg-dark);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(182, 81, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  margin-left: 16px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

/* iPhone mock up using CSS */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.iphone-mockup {
  width: 300px;
  height: 600px;
  background: #0D111A;
  border-radius: 40px;
  border: 8px solid #2A2F3D;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,229,255,0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: float-phone 6s infinite ease-in-out;
}

@keyframes float-phone {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #2A2F3D;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.app-screen {
  padding: 60px 20px 20px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breathing-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.5);
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 0 40px rgba(182,81,255,0.2);
  animation: breath 8s infinite alternate ease-in-out;
}

.breathing-circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.1;
  animation: pulse 4s infinite alternate;
}

.breath-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.app-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.1);
}

.app-card h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--accent-teal);
}
.app-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes breath {
  0% { transform: scale(0.8); box-shadow: 0 0 20px rgba(0,229,255,0.2); }
  100% { transform: scale(1.1); box-shadow: 0 0 60px rgba(182,81,255,0.4); }
}

@keyframes pulse {
  0% { opacity: 0.1; }
  100% { opacity: 0.3; }
}

/* Features */
.features {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 30px;
  border-radius: 20px;
  transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--accent-purple);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--accent-teal);
}

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

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer / Contact */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  margin-top: 80px;
  background: rgba(0,0,0,0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  line-height: 1.8;
  display: block;
}

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

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

/* Privacy Page Specific */
.privacy-page {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(8, 12, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}
.privacy-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 20px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.privacy-container h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: #fff;
}
.privacy-container h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}
.privacy-container p, .privacy-container li {
  color: #b0b5c5;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.privacy-container ul {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style-type: disc;
}
.privacy-container ul ul {
  margin-top: 8px;
  margin-bottom: 8px;
}
.privacy-container a {
  color: #00E5FF;
  text-decoration: underline;
}
.privacy-container strong {
  color: #e0e4f0;
}
.privacy-container em {
  color: #c0c4d5;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    margin: 0 auto 30px;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 16px;
  }
  .top-nav {
    display: none;
  }
  .privacy-container {
    padding: 24px;
  }
}
