/* Main CSS for deepswap.party */
:root {
  /* Primary colors - teal/cyan + blue theme (distinct from previous sites) */
  --primary-color: #06B6D4; /* Cyan/Teal */
  --secondary-color: #3B82F6; /* Blue */
  --accent-color: #10B981; /* Green */
  
  /* Background colors */
  --bg-dark: #0F172A;
  --bg-light: #F8FAFC;
  --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  
  /* Text colors */
  --text-dark: #1E293B;
  --text-light: #64748B;
  --text-white: #F8FAFC;
  
  /* Other colors */
  --border-color: #E2E8F0;
  --shadow-color: rgba(15, 23, 42, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.section {
  padding: 5rem 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--bg-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 6px var(--shadow-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px var(--shadow-color);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background: #E0F2FE;
  color: var(--secondary-color);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 100;
  transition: all 0.3s ease;
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
}

.scrolled .logo {
  color: var(--text-dark);
}

.logo-icon {
  height: 2.5rem;
  width: 2.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--bg-light);
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  height: auto;
  padding: 1.5rem;
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links .nav-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero section */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  z-index: 0;
}

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

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 90%;
}

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

.hero-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px var(--shadow-color));
}

/* Features section */
.features {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.features-title {
  text-align: center;
  margin-bottom: 4rem;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-light);
}

/* How it works section */
.how-it-works {
  padding: 6rem 0;
  background-color: #F1F5F9;
}

.how-it-works-title {
  text-align: center;
  margin-bottom: 4rem;
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  background: var(--bg-gradient);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--text-light);
}

/* Examples section */
.examples {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.examples-title {
  text-align: center;
  margin-bottom: 4rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.example-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
  background-color: #fff;
}

.example-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.example-content {
  padding: 1.5rem;
}

.example-label {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.example-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

/* Testimonials section */
.testimonials {
  padding: 6rem 0;
  background-color: #F1F5F9;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 4rem;
}

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

.testimonial-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.testimonial-text {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: var(--bg-gradient);
  color: var(--text-white);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background-color: #fff;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--secondary-color);
}

/* Footer */
.footer {
  padding: 5rem 0 2rem;
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-about {
  max-width: 300px;
}

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

.footer-heading {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  color: #94A3B8;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-divider {
  border-top: 1px solid #334155;
  margin: 3rem 0 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94A3B8;
}

/* Legal content styles */
.legal-content {
  padding-top: 120px;
  padding-bottom: 6rem;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-section ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.legal-updated {
  font-style: italic;
  color: var(--text-light);
  margin: 2rem 0;
}

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

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

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image-container {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
