/* Main variables */
:root {
  --primary-color: #00BCD4;
  --secondary-color: #FF5722;
  --dark-color: #263238;
  --light-color: #FAFAFA;
  --gradient: linear-gradient(135deg, #00BCD4, #FF5722);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset and base styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--dark-color);
  background-color: var(--light-color);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 8rem 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

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

/* Button */
.btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--gradient);
  color: white;
  border-radius: 5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 188, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
}

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

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

.logo svg {
  height: 4rem;
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  margin-left: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  gap: 3rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

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

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  padding-top: 15rem;
  padding-bottom: 10rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.1);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.1);
  z-index: -1;
}

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

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

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.hero-image {
  position: relative;
}

/* Features Section */
.features {
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: var(--gradient);
  border-radius: 2rem;
}

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

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 3rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 2rem;
  display: inline-block;
}

.feature-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* How It Works Section */
.how-it-works {
  background-color: #f5f5f5;
}

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

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: 700;
}

.step-content h3 {
  margin-bottom: 1rem;
}

/* Examples Section */
.examples {
  background-color: white;
}

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

.example:last-child {
  margin-bottom: 0;
}

.example-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.cta h2 {
  color: white;
}

.cta .btn {
  background: white;
  color: var(--primary-color);
  margin-top: 2rem;
}

.cta .btn:hover {
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
}

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

.footer-info .logo {
  margin-bottom: 2rem;
}

.footer-info p {
  margin-bottom: 3rem;
}

.footer-links h4, .footer-social h4 {
  color: white;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after, .footer-social h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 5rem;
  height: 0.2rem;
  background: var(--gradient);
}

.footer-links ul, .footer-social ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a, .footer-social a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover, .footer-social a:hover {
  color: var(--primary-color);
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social svg {
  width: 2rem;
  height: 2rem;
  fill: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover svg {
  fill: var(--primary-color);
}

.copyright {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
  max-width: 10rem;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .hero-container, .example {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 4rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 50%;
  }
  
  .menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 12rem 3rem 3rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  nav.open {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}
