:root {
  --primary: #FF5F6D;
  --secondary: #FFC371;
  --dark: #2A1D2F;
  --darker: #1A0F1E;
  --light: #FFFFFF;
  --text: #F0F0F5;
  --text-dark: #331D33;
  --border-radius: 10px;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 10px 30px rgba(255, 95, 109, 0.25);
  --glow: 0 0 20px rgba(255, 195, 113, 0.5);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 3rem;
}

p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.domain {
  color: var(--secondary);
  font-weight: 600;
}

/* Background Hexagon Pattern */
.hexagon-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(var(--darker) 20%, transparent 20%), 
                    radial-gradient(var(--darker) 20%, transparent 20%);
  background-position: 0 0, 30px 30px;
  background-size: 60px 60px;
  opacity: 0.3;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(42, 29, 47, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo-svg {
  filter: drop-shadow(0 0 5px rgba(255, 95, 109, 0.7));
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu li a {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}

.menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--light);
  margin: 6px 0;
  transition: var(--transition);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--light);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow), var(--glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary);
  padding: 0.6rem 1.5rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Hero Section */
#hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

#hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Hexagon Visual Element */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

.hexagon-main {
  position: relative;
  width: 300px;
  height: 260px;
  background: var(--gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow), var(--glow);
  animation: pulse 3s infinite alternate;
}

.hex-inner {
  width: 90%;
  height: 90%;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hex-inner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.5) 50%, transparent 52%);
  animation: shine 3s infinite;
}

.hex-core {
  width: 50%;
  height: 50%;
  background: var(--dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.8;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: var(--shadow); }
  100% { transform: scale(1.05); box-shadow: var(--shadow), 0 0 30px var(--primary); }
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(100%); }
  100% { transform: translateX(100%) translateY(-100%); }
}

/* Features Section */
#features {
  padding: 5rem 0;
  background: rgba(26, 15, 30, 0.7);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 95, 109, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255, 95, 109, 0.1);
  font-size: 1.8rem;
}

.feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--secondary);
  animation: spin 15s linear infinite;
}

.ai-icon::before { content: '🧠'; }
.speed-icon::before { content: '⚡'; }
.privacy-icon::before { content: '🔒'; }
.quality-icon::before { content: '✨'; }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* How It Works Section */
#how-it-works {
  padding: 5rem 0;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
}

.step {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.step-content {
  text-align: center;
  margin-top: 1rem;
}

.step-divider {
  display: flex;
  align-items: center;
  color: var(--primary);
  padding: 0 0.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Stats Section */
#stats {
  padding: 5rem 0;
  background: rgba(26, 15, 30, 0.5);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 20% 80%, var(--primary) 0%, transparent 10%),
                    radial-gradient(circle at 80% 30%, var(--secondary) 0%, transparent 15%);
  opacity: 0.1;
  z-index: -1;
}

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

.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* FAQ Section */
#faq {
  padding: 5rem 0;
}

.accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-item.active .accordion-header {
  background: rgba(255, 95, 109, 0.1);
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-content p {
  padding: 1.2rem;
  padding-top: 0;
}

/* Final CTA Section */
#final-cta {
  padding: 5rem 0;
  position: relative;
}

.cta-box {
  background: rgba(255, 95, 109, 0.1);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 95, 109, 0.2);
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--darker);
  padding: 4rem 0 1rem;
  margin-top: 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.links-group h4 {
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.links-group ul li {
  margin-bottom: 0.8rem;
}

.links-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }
  
  #hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .button-group {
    justify-content: center;
  }
  
  .hero-visual {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 15, 30, 0.95);
    flex-direction: column;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu li {
    width: 100%;
    text-align: center;
  }
  
  .menu li a {
    display: block;
    padding: 1rem;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    width: 100%;
    max-width: 400px;
  }
  
  .step-divider {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
  
  .footer-main {
    flex-direction: column;
  }
  
  .footer-links {
    gap: 2rem;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hexagon-main {
    width: 250px;
    height: 220px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
  }
}
