/* Base Styles and Variables */
:root {
  --primary: #ff0844;
  --primary-dark: #e00039;
  --primary-light: #ff99ae;
  --secondary: #ffb199;
  --dark: #111827;
  --light: #f9fafb;
  --gray: #9ca3af;
  --text: #374151;
  --gradient: linear-gradient(135deg, #ff0844, #ffb199);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: var(--spacing);
  color: var(--dark);
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-lg);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-text, .btn-cta {
  display: inline-block;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

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

.btn-text {
  background: transparent;
  color: var(--primary);
  padding: 0;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary);
  bottom: -4px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.btn-cta {
  background: white;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: rgba(255, 8, 68, 0.1);
}

/* Header Styles */
.main-header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing) 0;
}

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

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

.logo-icon {
  height: auto;
  width: 240px;
  max-width: 100%;
}

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

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

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

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

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

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

.cta-button {
  margin-left: var(--spacing);
}

.cta-button a {
  padding: 0.6rem 1.2rem;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius);
}

.cta-button a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  overflow: hidden;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.hero-content {
  flex: 1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing);
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  max-width: 100%;
  height: auto;
}

/* Featured Section */
.featured-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

.featured-section .container {
  text-align: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.feature-card-visual {
  margin-bottom: var(--spacing);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card h3 {
  color: var(--primary);
}

/* Categories Section */
.categories-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(255, 8, 68, 0.05), rgba(255, 177, 153, 0.05));
}

.categories-section .container {
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.category-card {
  background: white;
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  margin-bottom: var(--spacing);
}

.category-link {
  display: inline-block;
  margin-top: var(--spacing);
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

.category-link::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.category-link:hover::after {
  transform: translateX(5px);
}

/* Technology Section */
.technology-section {
  padding: var(--spacing-xl) 0;
  background: white;
}

.technology-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.technology-info {
  flex: 1;
}

.tech-features {
  margin: var(--spacing-md) 0 var(--spacing-lg);
}

.tech-features li {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.checkmark {
  margin-right: var(--spacing-sm);
}

.technology-visual {
  flex: 1;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(255, 8, 68, 0.05), rgba(255, 177, 153, 0.05));
}

.faq-section .container {
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing);
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
}

.faq-item h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.faq-item h3::after {
  content: '+';
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-item.active .faq-answer {
  height: auto;
  margin-top: var(--spacing);
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: var(--spacing);
}

.cta-content p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

/* Footer Styles */
.main-footer {
  background-color: var(--dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

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

.footer-logo p {
  opacity: 0.7;
  margin-top: var(--spacing-sm);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--spacing);
  font-size: 1.1rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: var(--spacing);
}

.footer-favicon {
  width: 60px;
  height: 60px;
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .technology-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 6rem var(--spacing-lg) var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .featured-grid, .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    gap: var(--spacing-lg);
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
    text-align: center;
  }
}
