/* ===== VARIABLES ===== */
:root {
  --primary: #1DA1F2; /* Twitter blue */
  --secondary: #14171A;
  --accent: #657786;
  --light: #AAB8C2;
  --lighter: #E1E8ED;
  --lightest: #F5F8FA;
  --white: #FFFFFF;
  --black: #14171A;
  --gradient: linear-gradient(135deg, #1DA1F2 0%, #657786 100%);
  --shadow: 0 10px 30px rgba(29, 161, 242, 0.15);
  --shadow-hover: 0 20px 40px rgba(29, 161, 242, 0.25);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--secondary);
  background: var(--lightest);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 3D BACKGROUND ELEMENTS ===== */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation: float 20s infinite linear;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 60%;
  right: 10%;
  animation: float 15s infinite linear reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--light);
  bottom: 10%;
  left: 20%;
  animation: float 25s infinite linear;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .links a {
  color: var(--lighter);
  text-decoration: none;
  margin-right: 20px;
  transition: var(--transition);
}

.top-bar .links a:hover {
  color: var(--primary);
}

.top-bar .phone {
  color: var(--lighter);
}

.top-bar .phone i {
  margin-right: 5px;
  color: var(--primary);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(29, 161, 242, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 55px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* Dropdown Menu */
.menu {
  position: relative;
}

.menu > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.menu.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Accordion Styles */
.accordion {
  padding: 20px;
}

.accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--lighter);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 15px;
  background: var(--lightest);
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--lighter);
}

.accordion-header.active {
  background: var(--primary);
  color: var(--white);
}

.accordion-header i {
  transition: var(--transition);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-content.active {
  max-height: 300px;
}

.accordion-content a {
  display: block;
  padding: 12px 15px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--lighter);
  transition: var(--transition);
}

.accordion-content a:hover {
  background: var(--lightest);
  color: var(--primary);
}

.accordion-content a:last-child {
  border-bottom: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--lightest);
  border-radius: 50%;
  color: var(--accent);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

.close-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--lightest) 0%, var(--white) 100%);
  overflow: hidden;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.1;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; }
.floating-element:nth-child(2) { top: 60%; right: 15%; }
.floating-element:nth-child(3) { top: 40%; left: 20%; }
.floating-element:nth-child(4) { bottom: 30%; right: 20%; }
.floating-element:nth-child(5) { top: 70%; left: 15%; }

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 30px;
}

.hero-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
}

.hero-highlights i {
  color: var(--primary);
}

/* ===== PACKAGES SECTION ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.plan {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.plan.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.plan.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--lighter);
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.price span {
  font-size: 1rem;
  color: var(--accent);
}

.plan-header p {
  color: var(--accent);
  font-size: 0.9rem;
}

.plan ul {
  list-style: none;
  margin-bottom: 30px;
}

.plan li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--lighter);
}

.plan li:last-child {
  border-bottom: none;
}

.plan li i.fa-check {
  color: #10B981;
}

.plan li i.fa-times {
  color: var(--light);
}

/* ===== SERVICE DETAILS ===== */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.detail-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.detail-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.detail-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary);
}

.detail-card p {
  color: var(--accent);
  margin-bottom: 20px;
}

.detail-card ul {
  list-style: none;
  text-align: left;
}

.detail-card li {
  padding: 8px 0;
  color: var(--accent);
  position: relative;
  padding-left: 20px;
}

.detail-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ===== PROCESS SECTION ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary);
}

.step-content p {
  color: var(--accent);
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.benefit i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary);
}

.benefit p {
  color: var(--accent);
}

/* ===== CASE STUDIES ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary);
}

.case p {
  color: var(--accent);
  margin-bottom: 20px;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

summary {
  padding: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--secondary);
  transition: var(--transition);
}

summary:hover {
  background: var(--lightest);
}

summary::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: '-';
}

details p {
  padding: 0 25px 25px;
  color: var(--accent);
  line-height: 1.7;
}

/* ===== CTA CONTACT SECTION ===== */
.cta-contact {
  background: linear-gradient(135deg, var(--secondary) 0%, #2C3E50 100%);
  color: var(--white);
}

.cta-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact h2 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact select,
.contact textarea {
  padding: 15px;
  border: 1px solid var(--lighter);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

.contact button {
  background: var(--gradient);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contact button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p,
.footer-col a {
  color: var(--lighter);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col.social div {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-col.social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-col.social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.newsletter form {
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter input::placeholder {
  color: var(--lighter);
}

.newsletter button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 15px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter button:hover {
  background: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--lighter);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .cta-contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .plan.featured {
    transform: scale(1);
  }
  
  .plan.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .close-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  nav.active {
    right: 0;
  }
  
  .menu {
    width: 100%;
  }
  
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  
  .menu.active .dropdown {
    display: block;
  }
  
  .social-icons {
    margin-top: 20px;
  }
  
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .hero-highlights {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .plans {
    grid-template-columns: 1fr;
  }
  
  .details-grid,
  .process-steps,
  .benefits-grid,
  .cases {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .plan {
    padding: 30px 20px;
  }
  
  .detail-card {
    padding: 30px 20px;
  }
  
  .contact {
    padding: 30px 20px;
  }
  
  .cta h2 {
    font-size: 1.8rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary: #0000FF;
    --secondary: #000000;
    --accent: #333333;
    --light: #666666;
    --lighter: #999999;
    --lightest: #FFFFFF;
  }
}