  /* =============================
   RESET & BASE
============================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f6fb;
  font-family: 'Inter', sans-serif;
  color: #111827;
}
  /* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}
.logo-text img {
    height: 55px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.logo-icon {
  font-size: 20px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.nav a:hover {
  color: #4a3dff;
}

.nav-cta {
  padding: 8px 14px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}
/* =============================
   MAIN LAYOUT
============================= */

.app {
  display: flex;
  gap: 15px;
  padding: 48px 80px 30px;
  align-items: flex-start;
}

.app__form .section-title {
    margin-top: 0;
}
.input-with-button input {
    flex: 1;
}
/* =============================
   LEFT PREVIEW PANEL
============================= */

.app__preview {
  flex: 1;
  display: flex;
  justify-content: center;
}

.card--preview {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
    border-radius: 8px;
    padding: 16px;
}
.instagram-post {
    width: 400px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgb(219, 219, 219);
}
.post-likes,
.post-comments {
  max-width: 100%;
}
/* =============================
   POST HEADER
============================= */

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(219, 219, 219);
    padding: 14px 16px;
    min-width: max-content;
    border-bottom-color: rgb(38, 38, 38);
}
.footer {
     border-top: 1px solid rgb(219, 219, 219);
    border-top-color: rgb(38, 38, 38);
}
#carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.post-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-wrapper {
  position: relative;
cursor: pointer;
}
/* After image is uploaded */
.avatar-wrapper.uploaded,
.post-media.uploaded {
  cursor: default; /* or not-allowed if you prefer */
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ddd;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.upload-box {
  border: 1px dashed #d1d5db;
  background: #f9fafb;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

/* Small corner thumbnail */
.upload-preview {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  position: absolute;
  top: 4px;
  right: 8px;
  border: 1px solid #e5e7eb;
}
.upload-box.disabled {
  opacity: 0.6;
  cursor: default;
}
/* Upload text stays left */
.upload-text {
  font-size: 14px;
  color: #6b7280;
  display: flex;
}
.upload-text i {
    font-size: 18px;
    margin-right: 8px;
}
/* Remove button sits over thumbnail */
.remove-image {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: white;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  z-index: 5;
}

.story-ring {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -6px;
    left: -6px;
    background: url(assets/img/story-ring.png) no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.user-info__top {
  display: flex;
}

.username {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verified {
  font-size: 12px;
  color: white;
  padding: 2px 6px;
  border-radius: 50px;
}
.verified svg {
    fill: rgb(0, 149, 246);
}
.post-time {
  font-size: 13px;
  color: #6b7280;
  margin-left: 5px;
}

.location {
    font-size: 12px;
    line-height: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    fill: rgb(0, 0, 0);
}
.form-container .checkbox-grid input {
    height: 20px;
    width: 20px;
}
.btn--verified:hover {
    background: #6a5dff;
    color: #fff;
}
/* =============================
   POST IMAGE
============================= */

.post-media {
    width: 100%;
    height: 370px;
    background: black;
    position: relative;
    /* border-bottom-color: rgb(38, 38, 38); */
    /* border-bottom: 1px solid rgb(219, 219, 219); */
    cursor: pointer;
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.carousel-chevron img {
    object-fit: contain;
    pointer-events: none;
    width: 30px;
    height: 30px;
}

.chevron-right {
  right: 10px;
}

/* =============================
   ACTION BAR
============================= */

.post-actions {
  display: flex;
  justify-content: space-between;
  padding: 14px 6px;
}

.post-actions__left {
  display: flex;
  gap: 1px;
}

.icon {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* =============================
   LIKES & CAPTION
============================= */

.post-likes {
  padding: 0 14px 8px;
  font-size: 14px;
  font-weight: 600;
}

.post-caption {
  padding: 0 14px 8px;
  font-size: 14px;
  line-height: 1.4;
}

.post-caption strong {
  margin-right: 6px;
}

.highlight {
  color: rgb(0, 55, 107);
  cursor: pointer;
}
.tag-icon {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0, 0, 0);
  border-radius: 50%;
  z-index: 2;
}

.instagram-post.dark .tag-icon {
  background: rgba(0, 0, 0, 0.8);
}
/* =============================
   COMMENTS
============================= */

.post-comments {
  padding: 0 14px 14px;
  font-size: 14px;
}

.comment {
  margin-bottom: 4px;
}

.view-comments {
    cursor: pointer;
    color: rgb(115, 115, 115);
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 4px;
}

/* =============================
   RIGHT FORM PANEL
============================= */

.app__form {
  flex: 1.2;
}

.form-container {
  width: 100%;
  max-width: 640px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* =============================
   FORM GRID
============================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  margin-bottom: 15px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

input,
select,
textarea {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: white;
  transition: all 0.2s ease;
  
}
.form-container select {
    background-image: url(./assets/img/slect-arrow.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center right 9px;

    appearance: none;
}
.form-container input {
    height: 40px;
}
.date-input-wrapper {
  position: relative;
  height: 40px;
  z-index: 1;
}
.date-display-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  z-index: 2;
  cursor: pointer;
  margin: 0;
  display: block;
}
.date-display {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  background: white;
  box-sizing: border-box;
  cursor: pointer;
  pointer-events: none;
}
.date-input-picker {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  z-index: 1;
  margin: 0;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

textarea {
  resize: none;
}

/* =============================
   INPUT WITH BUTTON
============================= */

.input-with-button {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn--verified {
  background: #e0e7ff;
  color: #4338ca;
}

.btn--verified.active {
  background: linear-gradient(90deg, #6a5cff, #4a3dff);
  color: white;
}

.btn--upload {
  border: 1px dashed #d1d5db;
  background: #f9fafb;
}

.btn--primary {
    width: 50%;
    background: linear-gradient(90deg, #6a5cff, #4a3dff);
    color: white;
    display: block;
    margin: 0 auto;
    padding: 10px 10px;
    font-size: 20px;
}

.btn--secondary {
  background: #f3f4f6;
}

/* =============================
   CHECKBOX GRID
============================= */

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 14px;
  margin-bottom: 0px;
}

.checkbox-grid label {
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* =============================
   EXPORT SECTION
============================= */

.export-section {
    gap: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.export-section p {
    margin: 0;
}

/* =============================
   UTILITIES
============================= */
a.btn.btn-create-post {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6055cc, #3a2fd7, #5922b8);
  background-size: 200% 200%;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(74, 61, 255, 0.35);
  overflow: hidden;
}

/* Gradient animation */
a.btn.btn-create-post:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px rgba(74, 61, 255, 0.45);
  background-position: right center;
}

/* Active click */
a.btn.btn-create-post:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 18px rgba(74, 61, 255, 0.35);
}

/* Shine animation */
a.btn.btn-create-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.2),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.2)
  );
  transform: skewX(-25deg);
  transition: 0.6s;
}

a.btn.btn-create-post:hover::before {
  left: 130%;
}
.export-section button {
    max-width: 270px;
    font-size: 18px;
    padding: 12px 10px;
}
.hidden {
  display: none;
}
/* DARK MODE WRAPPER */
.instagram-post.dark {
  background: #000;
  color: #fff;
  border-color: #262626;
}
.post-likes,
.view-comments,
#preview-likes,
#preview-comments-count {
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* Make ALL icons white in dark mode */
.instagram-post.dark .icon svg {
  fill: currentColor;
}

.instagram-post.dark .icon {
  color: rgb(255, 255, 255);
}


/* Liked state */
.icon--heart.liked svg path {
  fill: rgb(255, 48, 64);
 stroke: none; 
}
/* ================= HERO ================= */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #6a5cff, #4a3dff);
  color: white;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  opacity: 0.95;
}
.section-generator-cta .section-title::after {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}
.cta-generator-wrap {
    margin-top: 40px;
}
/* ================= FOOTER ================= */

.site-footer {
  margin-top: 0px;
  padding: 30px 20px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
/* Footer links */

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #4a3dff;
}
.footer-links a:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
  color: #9ca3af;
}
/* Dark mode comment count color */
.instagram-post.dark .view-comments,
.instagram-post.dark #preview-comments-count {
  color: rgb(168, 168, 168);
}

/* Dark mode highlight color */
.instagram-post.dark .highlight {
  color: rgb(224, 241, 255);
}
/* ============================= */
/* GLOBAL SECTION STYLING */
/* ============================= */

.instagram-post-generator,.instagram-post-generator-steps,.instagram-post-generator-features,.instagram-post-generator-uses,.instagram-post-generator-benefits,.instagram-post-generator-legal,.instagram-post-generator-faq,.instagram-post-generator-cta {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}

.container-wrap {
  max-width: 1200px;
  margin: auto;
}
.instagram-post-generator,
.instagram-post-generator-steps,
.instagram-post-generator-features,
.instagram-post-generator-uses,
.instagram-post-generator-benefits,
.instagram-post-generator-legal,
.instagram-post-generator-faq,
.instagram-post-generator-cta {
  position: relative;
  overflow: hidden;
}

/* ============================= */
/* ABSTRACT BACKGROUND SHAPES */
/* ============================= */

/* Abstract shapes only for generator sections */

.instagram-post-generator::before,
.instagram-post-generator::after,
.instagram-post-generator-steps::before,
.instagram-post-generator-steps::after,
.instagram-post-generator-features::before,
.instagram-post-generator-features::after,
.instagram-post-generator-uses::before,
.instagram-post-generator-uses::after,
.instagram-post-generator-benefits::before,
.instagram-post-generator-benefits::after,
.instagram-post-generator-legal::before,
.instagram-post-generator-legal::after,
.instagram-post-generator-faq::before,
.instagram-post-generator-faq::after,
.instagram-post-generator-cta::before,
.instagram-post-generator-cta::after {
  content: "";
  position: absolute;
  background: #6a5dff;
  opacity: 0.06;
  border-radius: 50%;
  z-index: 0;
}

/* top abstract */
.instagram-post-generator::before,
.instagram-post-generator-steps::before,
.instagram-post-generator-features::before,
.instagram-post-generator-uses::before,
.instagram-post-generator-benefits::before,
.instagram-post-generator-legal::before,
.instagram-post-generator-faq::before,
.instagram-post-generator-cta::before {
  width: 350px;
  height: 350px;
  top: -120px;
  left: -120px;
}

/* bottom abstract */
.instagram-post-generator::after,
.instagram-post-generator-steps::after,
.instagram-post-generator-features::after,
.instagram-post-generator-uses::after,
.instagram-post-generator-benefits::after,
.instagram-post-generator-legal::after,
.instagram-post-generator-faq::after,
.instagram-post-generator-cta::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -120px;
}

/* ============================= */
/* CONTENT ABOVE SHAPES */
/* ============================= */

section > * {
  position: relative;
  z-index: 2;
}

/* ============================= */
/* TITLES */
/* ============================= */

.instagram-post-generator .section-title,
.instagram-post-generator-steps .section-title,.instagram-post-generator-features .section-title,.instagram-post-generator-uses .section-title,.instagram-post-generator-benefits .section-title,.instagram-post-generator-legal .section-title,.instagram-post-generator-faq .section-title,.instagram-post-generator-cta .section-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #6a5dff;
}

 .instagram-post-generator .section-title::after,.instagram-post-generator-steps .section-title::after,.instagram-post-generator-features .section-title::after,.instagram-post-generator-uses .section-title::after,.instagram-post-generator-benefits .section-title::after,.instagram-post-generator-legal .section-title::after,.instagram-post-generator-faq .section-title::after,.instagram-post-generator-cta .section-title::after{
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #6a5dff;
  margin-top: 10px;
  border-radius: 3px;
}

/* ============================= */
/* TEXT */
/* ============================= */

.section-text {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

/* ============================= */
/* LISTS GENERAL */
/* ============================= */

ul,
ol {
  margin-top: 30px;
  padding-left: 0;
}

/* ============================= */
/* CARD STYLE ITEMS */
/* ============================= */

.step-item,
.feature-item,
.use-item,
.benefit-item,
.legal-item {
  list-style: none;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #eee;
  transition: all 0.25s ease;
  position: relative;
}

.step-item:hover,
.feature-item:hover,
.use-item:hover,
.benefit-item:hover {
  transform: translateY(-3px);
  border-color: #6a5dff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* ============================= */
/* LIST ICONS */
/* ============================= */

/*.step-item::before,
.feature-item::before,
.use-item::before,
.benefit-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #6a5dff;
  border-radius: 50%;
  position: absolute;
  left: -18px;
  top: 26px;
}*/
.step-title {
    display: block;
    margin-bottom: 15px;
}

.use-title {
    display: block;
    margin-bottom: 15px;
}
.benefit-title {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
}
.benefit-description {
    display: block;
    text-align: center;
}
.section-text.benefits-summary {
    text-align: center;
}
.legal-list li {
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    color: #000;
    margin-bottom: 0px;
        border-left: 4px solid #6d6d6d;
        transition: 0.4s;
}
.legal-list li:hover {
    transform: translateY(-3px);
    border-color: #6a5dff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  }
.legal-list {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
}
/* ============================= */
/* LIST GRID */
/* ============================= */

.features-list,
.uses-list,
.benefits-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

/* ============================= */
/* FAQ */
/* ============================= */

.faq-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  background: #fff;
  transition: 0.4s;
}

.faq-question {
  font-size: 20px;
  color: #000;
  margin-bottom: 10px;
}
.faq-item:hover {
  transform: translateY(-3px);
border-color: #6a5dff;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-answer {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* ============================= */
/* CTA SECTION */
/* ============================= */

.section-generator-cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(106,93,255,0.08),
    rgba(106,93,255,0.02)
  );
  border-radius: 14px;
}

.cta-text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}
/* ================= CONTACT PAGE ================= */

.contact-section,
.about-section {
  padding: 80px 20px 20px;
}

.contact-container,
.about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-title,
.about-title {
  font-size: 36px;
  margin-bottom: 10px;
  color: #6a5dff;
}

/* Email card section */
.contact-email-box {
  padding: 20px;
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.contact-text {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.contact-email-wrap {
  margin-top: 25px;
}

.contact-email {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #4a3dff;
  text-decoration: none;
  padding: 12px 22px;
  background: #eef2ff;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.contact-email:hover {
  background: #4a3dff;
  color: #ffffff;
}
/* ================= CONTACT EXTRA SECTION ================= */

.contact-extra {
  padding: 60px 20px 80px;
}

.contact-extra-container {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-extra-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.contact-extra-card:hover {
  transform: translateY(-3px);
  border-color: #6a5dff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.contact-extra-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: #111827;
}

.contact-extra-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
/* ================= LEGAL PAGES ================= */

.legal-section {
  padding: 80px 20px;
}

.legal-container {
  max-width: 900px;
  margin: auto;
}

.legal-title {
  font-size: 36px;
  color: #6a5dff;
  margin-bottom: 25px;
}

.legal-subtitle {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #111827;
}

.legal-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

.legal-contact {
  font-size: 18px;
  font-weight: 600;
  color: #4a3dff;
}
.legal-list{
margin:15px 0 20px;
padding-left:20px;
}

.legal-list li{
margin-bottom:8px;
line-height:1.6;
}
/* =============================
   EXPORT DROPDOWN
============================= */

.export-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  width: 260px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 50;
  animation: dropdownFade 0.18s ease;
}

/* dropdown item */
.export-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.18s ease;
}

/* hover effect */
.export-item:hover {
  background: #f3f4f6;
  color: #4a3dff;
}

/* divider between items */
.export-item:not(:last-child) {
  border-bottom: 1px solid #f1f3f7;
}
div#comments-form-section {
    padding: 20px 148px 30px;
}

/* subtle animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
   RESPONSIVE IMPROVEMENTS
========================================= */

/* Large Tablets */
@media (max-width: 1200px) {
  .app {
    padding: 40px 40px;
    gap: 15px;
  }
}
@media (max-width: 600px) {

  .footer-links {
    gap: 14px;
  }

}
/* Tablets */
@media (max-width: 1024px) {
  .legal-list {
    grid-template-columns: 1fr 1fr;
}

  .app {
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    gap: 15px;
  }

  .app__preview,
  .app__form {
    width: 100%;
    max-width: 720px;
  }

  .form-container {
    max-width: 100%;
  }

  .instagram-post {
    width: 100%;
    max-width: 420px;
  }
  .instagram-post-generator,.instagram-post-generator-steps,.instagram-post-generator-features,.instagram-post-generator-uses,.instagram-post-generator-benefits,.instagram-post-generator-legal,.instagram-post-generator-faq,.instagram-post-generator-cta {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .features-list,
  .uses-list,
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .nav {
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 768px) {

  .legal-title{
    font-size:28px;
  }

  .legal-subtitle{
    font-size:20px;
  }

 .contact-section {
    padding: 60px 20px 10px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-box {
    padding: 28px 22px;
  }

  .contact-text {
    font-size: 16px;
  }

  .contact-email {
    font-size: 16px;
    padding: 10px 18px;
  }
    .contact-extra-container {
    grid-template-columns: 1fr;
  }


  .app {
    padding: 30px 20px;
    
  }

  .instagram-post {
    width: 100%;
    max-width: 100%;
  }

  .post-media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
  }

  input,
  select,
  textarea {
    font-size: 16px; /* Prevent iOS zoom */
  }

  .card--preview {
    padding: 12px;
  }
  .instagram-post-generator,.instagram-post-generator-steps,.instagram-post-generator-features,.instagram-post-generator-uses,.instagram-post-generator-benefits,.instagram-post-generator-legal,.instagram-post-generator-faq,.instagram-post-generator-cta {
    padding: 60px 18px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-text {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .legal-list {
    grid-template-columns: 1fr;
}
  .export-section button {
    max-width: 100%;
    width: 100%;
}
.export-section {
    padding: 0 20px;
}
.input-with-button input#username-input {
    flex: 1;
}
.export-section p {
    font-size: 16px;
    text-align: center;
}
}
/* Small Mobile */
@media (max-width: 480px) {

  .post-header {
    padding: 12px;
  }

  .post-actions {
    padding: 10px 12px;
  }

  .post-likes,
  .post-caption,
  .post-comments {
    padding-left: 12px;
    padding-right: 12px;
  }

  .avatar {
    width: 32px;
    height: 32px;
  }

  .story-ring {
    width: 38px;
    height: 38px;
  }

  .username {
    font-size: 13px;
  }

  .location {
    font-size: 11px;
  }
   .instagram-post-generator,.instagram-post-generator-steps,.instagram-post-generator-features,.instagram-post-generator-uses,.instagram-post-generator-benefits,.instagram-post-generator-legal,.instagram-post-generator-faq,.instagram-post-generator-cta {
    padding: 50px 16px;
  }

  .section-title {
    font-size: 22px;
  }
}
