/* ====== Root Variables ====== */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #EC4899;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-700);
    background: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ====== Typography ====== */
h1, h2, h3, h4 { color: var(--gray-900); line-height: 1.2; }
h1 { font-size: 2.5rem; margin-bottom: 1.2rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ====== Header ====== */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo img { height: 40px; }
.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 0.5px;
}
.nav {
    display: flex;
    align-items: center;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary);
}
.mobile-menu {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary);
    margin-left: 1rem;
    cursor: pointer;
}

/* ====== Responsive Header ====== */
@media (max-width: 900px) {
    .header .container { flex-direction: column; align-items: stretch; }
    .nav { width: 100%; }
    .nav-links { justify-content: flex-end; }
}
@media (max-width: 700px) {
    .header .container { flex-direction: row; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        background: #fff;
        position: absolute;
        top: 64px;
        right: 1rem;
        min-width: 180px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-radius: 0.5rem;
        padding: 1rem;
        z-index: 1001;
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
}

/* ====== Hero Section ====== */
.hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #fff 60%, #FCE7F3 100%);
}
.hero .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}
.hero-content { flex: 1 1 320px; }
.hero-image { flex: 1 1 320px; text-align: center; }
.hero-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}
.badge {
    display: inline-block;
    background: #EEF2FF;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    margin-bottom: 1.2rem;
}
.hero-buttons { display: flex; gap: 1rem; margin-top: 2rem; }

/* ====== Responsive Hero ====== */
@media (max-width: 900px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content, .hero-image { width: 100%; }
    .hero-buttons { justify-content: center; }
}

/* ====== Services, WhatsApp, Instagram, Instabot ====== */
.services, .whatsapp, .instagram, .instagram-bot {
    padding: 4rem 0;
    background: var(--gray-50);
    text-align: center;
}
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 2rem;
}
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.service-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}
.feature-image {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    margin: 2rem auto 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    display: block;
}

/* ====== Pricing Section ====== */
.pricing {
    padding: 4rem 0;
    background: var(--gray-100);
    text-align: center;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.pricing-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}
.pricing-table th,
.pricing-table td {
    border: 1px solid #eee;
    padding: 0.6rem;
    text-align: left;
}
.pricing-table th {
    background: var(--primary);
    color: #fff;
}
.view-details-wrapper { margin-top: 2rem; }
.view-details-btn { margin-top: 1rem; }

/* ====== Testimonials ====== */
.testimonials {
    padding: 4rem 0;
    background: var(--gray-50);
    text-align: center;
}
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    display: none;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    padding: 2rem;
}
.testimonial-card.active { display: block; }
.testimonial-content p { font-size: 1.1rem; color: var(--gray-700); }
.testimonial-author strong { color: var(--gray-900); }
.testimonial-author span { color: var(--gray-600); font-size: 0.9rem; }
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.dot {
    width: 0.7rem; height: 0.7rem;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
}
.dot.active { background: var(--primary); }

/* ====== Contact Section ====== */
.contact {
    padding: 4rem 0;
    background: #fff;
}
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.contact-form { margin-top: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ====== Footer ====== */
.footer {
    background: #1F2937;
    color: #F9FAFB;
    padding: 3rem 1.5rem 2rem 1.5rem;
    position: relative;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand {
    flex: 1 1 220px;
    min-width: 200px;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.footer-brand .logo img { height: 36px; }
.footer-brand .logo-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}
.footer-brand p {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}
.social-link {
    color: var(--gray-100);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.social-link:hover { color: var(--secondary); }
.footer-links, .footer-contact {
    flex: 1 1 160px;
    min-width: 140px;
    margin-bottom: 1.5rem;
}
.footer-links h3, .footer-contact h3 {
    font-size: 1rem;
    color: var(--gray-50);
    margin-bottom: 0.7rem;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--secondary); }
.footer-contact p {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}
.footer-legal {
    margin-top: 0.5rem;
}
.footer-legal a {
    color: var(--gray-400);
    margin: 0 0.5rem;
    text-decoration: underline;
    font-size: 0.9rem;
}
.footer-legal a:hover { color: var(--secondary); }
.footer-inline-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin: 0.7rem 0 0.7rem 0;
    font-size: 1rem;
}
.footer-inline-links strong {
    margin-right: 0.7rem;
    font-weight: 600;
    color: #EC4899;
}
.footer-inline-links a {
    color: #F9FAFB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-inline-links a:hover {
    color: #EC4899;
    text-decoration: underline;
}
.social-links .social-link {
    margin-right: 1.2rem;
    font-weight: 500;
    color: #F9FAFB;
}
.social-links .social-link:hover {
    color: #EC4899;
}
.footer-vibe-image {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  z-index: 2;
  display: block;
}
.footer-vibe-image img {
  max-width: 120px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.footer-copyright {
  position: absolute;
  right: 2.5rem;
  bottom: 1.2rem;
  font-size: 0.85rem;
  color: #F9FAFB;
  opacity: 0.85;
  margin: 0;
  z-index: 2;
}
.footer-legal-left {
  position: absolute;
  left: 2.5rem;
  bottom: 1.2rem;
  font-size: 0.85rem;
  color: #F9FAFB;
  opacity: 0.85;
  margin: 0;
  z-index: 2;
}
.footer-legal-left a {
  color: #F9FAFB;
  margin-right: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-left a:last-child {
  margin-right: 0;
}
.footer-legal-left a:hover {
  color: #EC4899;
  text-decoration: underline;
}

/* ====== Responsive Footer ====== */
@media (max-width: 900px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand, .footer-links, .footer-contact {
        min-width: 0;
        margin-bottom: 1.2rem;
    }
    .footer-vibe-image {
      position: static;
      margin: 0 auto 1.2rem auto;
      display: block;
      text-align: center;
    }
    .footer-vibe-image img {
      max-width: 90vw;
    }
    .footer-copyright {
      position: static;
      display: block;
      text-align: center;
      margin: 1.2rem auto 0 auto;
      width: 100%;
    }
    .footer-legal-left {
      position: static;
      display: block;
      text-align: center;
      margin: 0.8rem auto 0 auto;
      width: 100%;
    }
    .footer-legal-left a {
      margin-right: 1.1rem;
      font-size: 0.95rem;
    }
}
@media (max-width: 800px) {
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .footer {
        padding: 2rem 1rem 1rem 1rem;
    }
    .footer-inline-links {
        font-size: 0.98rem;
        gap: 0.7rem;
    }
}

/* ====== Modal ====== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
}
.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    position: relative;
    background: #fff;
    padding: 2rem;
    max-width: 500px;
    margin: 10% auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    z-index: 1;
    text-align: center;
}
.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ====== Misc ====== */
.responsive-img { max-width: 100%; height: auto; display: block; }
::-webkit-scrollbar { width: 8px; background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }