/* 
   Main Stylesheet for aiporngenerator.bid
   Unique design with orange-pink gradient theme
*/

:root {
  /* Core Colors */
  --primary: #ee0979;
  --secondary: #ff6a00;
  --dark: #222222;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--secondary), var(--primary));
  
  /* Typography */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Layout */
  --container-width: 1140px;
  --border-radius: 10px;
  --section-padding: 80px 0;
}

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

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

body {
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: var(--section-padding);
}

.center {
  text-align: center;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(238, 9, 121, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(238, 9, 121, 0.5);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-icon {
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  color: var(--dark);
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 80%;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-shape {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  color: white;
  line-height: 0;
}

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

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(238, 9, 121, 0.1));
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray);
}

/* Process Section */
.process {
  background-color: var(--light);
  position: relative;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.5rem;
  margin-right: 25px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.step-content p {
  color: var(--gray);
}

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

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
}

.tab {
  padding: 12px 30px;
  border-radius: 30px;
  background: transparent;
  color: var(--gray);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--light);
}

.tab.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.example-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.example-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.example-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  padding: 20px;
}

.example-placeholder span {
  margin-top: 15px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.example-card p {
  padding: 20px;
  background: white;
}

/* FAQ Section */
.faq {
  background-color: var(--light);
}

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

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: white;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
  background: var(--gradient);
  color: white;
}

.accordion-header .icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .icon {
  transform: rotate(180deg);
  stroke: white;
}

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

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

.accordion-content p {
  padding: 20px;
  color: var(--gray);
}

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

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: white;
  margin: 15px 0;
}

.footer-brand p {
  opacity: 0.7;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.link-group h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.link-group h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--gradient);
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: var(--light);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.link-group ul li a:hover {
  opacity: 1;
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

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

/* Responsive Styles */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
  }
  
  .nav-links a {
    display: block;
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .tabs {
    flex-direction: column;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .example-cards {
    grid-template-columns: 1fr;
  }
}
