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

/* Variables */
:root {
  --primary: #FF5722;
  --primary-light: #FF8A65;
  --secondary: #FF9800;
  --secondary-light: #FFCC80;
  --dark: #333333;
  --light: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray: #EEEEEE;
  --text: #212121;
  --text-light: #757575;
  
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s ease;
}

/* Typography */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--gray-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

/* Layout */
header, section, footer {
  padding: 1rem 5%;
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-container h1 {
  font-size: 1.25rem;
  margin-bottom: 0;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.cta-header {
  margin-left: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.primary-btn {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.primary-btn:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 87, 34, 0.4);
}

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

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

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

.small-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 87, 34, 0.1) 100%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Animated GIFs Section */
.animated-section {
  background-color: var(--light);
  text-align: center;
}

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

.gif-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: var(--gray);
}

.gif-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.animation-placeholder {
  display: block;
  width: 100%;
}

.gif-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 87, 34, 0.8);
  padding: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.gif-item:hover .gif-overlay {
  opacity: 1;
}

/* Technology Section */
.tech-section {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 87, 34, 0.1) 100%);
}

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

.tech-feature {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.tech-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tech-icon {
  margin-bottom: 1.5rem;
}

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

/* Create Section */
.create-section {
  background-color: var(--light);
  text-align: center;
}

.create-content {
  max-width: 800px;
  margin: 0 auto;
}

.create-steps {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 150px;
  margin: 1rem;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding-top: 3rem;
}

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

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

.footer-brand h3 {
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.link-group h4 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.link-group a {
  display: block;
  color: var(--light);
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.link-group a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.link-group p {
  opacity: 0.8;
  font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  header {
    flex-direction: column;
    padding: 1rem 0;
    gap: 1rem;
  }
  
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0;
    border-top: 1px solid var(--gray);
  }
  
  .cta-header {
    order: 2;
    margin: 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
  }
  
  nav {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .tech-features {
    grid-template-columns: 1fr;
  }
  
  .create-steps {
    flex-direction: column;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
