:root {
    --pink: #ff2498;
    --orange: #ff5427;
    --black: #181818;
}

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

body {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
}

h2 {
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 48px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}



/* buttons */

.generate-btn {
    height: 35px; 
    width: 374px;
    color: white;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;

    background: 
        linear-gradient(#111, #111) padding-box, 
        linear-gradient(180deg, var(--pink), var(--orange)) border-box;

    border: 2px solid transparent;
    border-radius: 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}


/* Header */

header {
    position: sticky;
    top: 5px;
    z-index: 1000;

    width: 100%;
    height: 70px;  
    
    display: flex;
    align-items: center;      /* vertically center the content */
    justify-content: center;  /* center the nav container horizontally */

    background-color:
}



nav {
    width: 99%;
    height: 100%;
    top: 5px;
  
    padding: 0;
    border-radius: 12px;
    

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    display: flex;
    align-items: center;   /* vertical centering of logo */
}

.logo-link img {
    width: auto;
    height: 80px;
    display: block;    
}



/* Mini-nav for tool navigation */
/* Top mini navigation */

.mini-nav {
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  margin-bottom: 12px; /* space before upload box */
  padding-left: 4px;   /* the 4px you wanted */
  
  display: flex;
  gap: 8px;
  align-items: center;
  
  width: 100%;   /* ensures it aligns with the upload-box width */
  justify-content: flex-start;  /* left align */
  text-align: left;
}


/* Normal link style */
.nav-link {
  cursor: default; /* since not clickable yet */
  transition: 0.15s ease;
}

/* Single Image color */
.nav-link.single {
  color: #f03dd4;
  font-weight: 500;
  text-decoration: underline;
}

/* Bulk Upload default color */
.nav-link.bulk {
  color: #3b66ff;
  position: relative;
}

/* Separator style */
.nav-separator {
  color: #aaa;
  opacity: 0.6;
}

/* Tooltip on hover */
.nav-link.bulk:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: -22px; /* position above text */
  background: #ffffff;
  padding: 2px 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  color: #555;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}



/* ----------------------------------------- */
/* HERO SECTION BASE */
/* ----------------------------------------- */

.hero-section {
    position: relative;
    min-height: 600px;                 /* full first scroll */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    
    /* Background glow image */
    background: url("../images/opening_bg.png") center top/cover no-repeat;
    background-size: 1000px;           /* soft glow look */
    background-repeat: no-repeat;
    background-position: center -100px;
    opacity: 1;                         /* don’t fade entire section */
}

.hero-section .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ----------------------------------------- */
/* HEADING */
/* ----------------------------------------- */

.hero-section h1 {
    font-family: "Inter", sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 57px;

    filter:
    drop-shadow(0 0 10px rgba(255, 120, 180, 0.45))
}

.hero-section .colored {
    font-family: "Inter Tight", sans-serif;
    font-size: 56px;
    font-weight: 500;
    font-style: italic;
    opacity: 0.7;
    background: linear-gradient(45deg, var(--pink) 10%, var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter:
    drop-shadow(0 0 20px rgba(255, 120, 165, 0.286))
    drop-shadow(0 0 20px rgba(246, 120, 255, 0.444));
}

/* ----------------------------------------- */
/* HERO CONTENT LAYOUT (left + right) */
/* ----------------------------------------- */

.hero-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 90px;
    max-width: 900px;
}

/* ----------------------------------------- */
/* HERO LEFT */
/* ----------------------------------------- */

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-box {
    width: 374px;
}

.upload-area {
    width: 100%;
    height: 238px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(#fff, #fff) border-box;
    border: 2px dashed #dedfe0;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;

    box-shadow: 0 3px 12px #e7e7e9,
                inset 0 0 20px rgba(0,0,0,0.03);

    transition: 0.25s ease;
}

.upload-image-icon { width: 48px; }

.upload-area p {
    margin: 0;
    font-size: 14px;
    font-family: "Inter Tight", sans-serif;
    color: #8c8e93;
}

.upload-area a {
    color: #3B66FF;
    text-decoration: underline;
}

.upload-note {
    font-size: 10px;
    color: #b1b2b5;
    margin-top: -8px;
}

/* ============================
   Upload Box Hover State
   ============================ */

.upload-area:hover {
    border: 2px dashed transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(45deg, var(--pink), var(--orange)) border-box;
    box-shadow: 
        0 6px 18px rgba(0,0,0,0.08),
        inset 0 0 25px rgba(0,0,0,0.04);
}

/* Swap icon on hover */
.upload-area:hover .upload-image-icon {
    content: url("../images/image_upload-active.png");
}


/* ============================
   Keyword Input Styling
   ============================ */


/* Keyword box spacing + styling */
.keyword-box {
    margin-top: 12px;    /* gap from upload box bottom */
    margin-bottom: 8px; /* gap before button */
}

/* Minimal input line style */
.keyword-input {
    width: 374px;
    border: none;
    border-bottom: 1px solid #b1b2b5d5; /* default underline */
    padding: 0 2px;
    font-size: 12px;
    line-height: 1.7;
    height: 21px;
    outline: none;
    background: transparent;
    color: #454444;   /* typed text color */
    font-family: "inter tight", sans-serif;
    font-style: italic;
}

/* Placeholder default color */
.keyword-input::placeholder {
    color: #b1b2b5d5;
    opacity: 1;
}

/* On focus */
.keyword-input:focus {
    border-bottom: 1px solid #454444; /* focused underline */
}

/* Hide placeholder on focus */
.keyword-input:focus::placeholder {
    color: transparent; /* makes it disappear */
}



/* Error on >2 keyword*/

.keyword-error {
    font-size: 11px;
    color: #d9534f; /* soft red */
    margin-top: 3px;
    margin-bottom: 0;
    height: 14px;  /* reserves space so UI doesn't jump */
}


/* ============================
   Image Preview Styling
   ============================ */

.image-preview {
    display: none;            /* hidden until an image is uploaded */
    max-width: 368px;
    max-height: 232px;
    object-fit: contain;      /* maintain aspect ratio */
    border-radius: 3px;
}

/* When preview is visible, hide the upload UI elements */
.preview-active .upload-image-icon,
.preview-active p,
.preview-active .upload-note {
    display: none;
}

/* Center the preview image perfectly */
.upload-area {
    position: relative;
}

.image-preview {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}





/* ----------------------------------------- */
/* HERO RIGHT */
/* ----------------------------------------- */

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.output-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 374px;
}

/* Shared output card styles */
.output-box {
    background: #fff;
    border-radius: 6px;
    padding: 6px 16px;

    box-shadow: 0 3px 12px #e7e7e9,
                inset 0 0 20px rgba(0,0,0,0.03);

    border: 1px solid #dedfe0;
    position: relative;
}

.output-box.has-content {
  font-size: 12px;
  color: #454444;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}


/* Heights only */
.alt-output { height: 108px; }
.caption-output,
.filename-output { height: 53px; }

/* Header inside cards */
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.output-header span {
    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #454444;
}

/* Copy icon button */
.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px;
    border-radius: 3px;
    transition: 0.2s ease;
}
.copy-btn img {
    width: 12px;
    height: 15px;
}
.copy-btn:hover {
    background: #f3f3f3;
}

.copy-btn.copied {
    background: f3f3f3;
    transform: scale(0.85);
    transition: all 0.15s ease-out;
    box-shadow: 0 0 12px rgba(255, 36, 218, 0.436);
}

.output-placeholder {
    font-family: "Inter Tight", sans-serif;
    font-size: 10px;
    color: #b1b2b5;
    margin: 0;
}

#altTextOutput.has-content,
#captionOutput.has-content,
#filenameOutput.has-content {
  font-size: 12px;
  color: #454444;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}





/* ===========================================
   Tutorial Section 
   =========================================== */
.tutorial-section {
    width: 100%;
    padding: 110px 0;          /* vertical spacing */
    position: relative;

    /* Soft radial background glow */
    background: radial-gradient(
        circle at center,
        rgba(255, 182, 193, 0.35) 0%,   /* soft pink */
        rgba(255, 228, 225, 0.20) 40%,  /* lighter pink */
        rgba(255, 255, 255, 0) 75%      /* fade to transparent */
    );
}

/* Wrapper: constrains content to 900px & aligns L/R columns */
.tutorial-section .tutorial-content {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 145px;                /* space between text and video */
}

/* ===========================================
   Left Column — Steps (1, 2, 3)
   =========================================== */
.tutorial-left {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* <-- THIS makes the text centered vertically */
    height: 276px;             /* <-- MATCH video height! */
    max-width: 374px;
}

.bullet {
    margin-left: 0px;
    margin-bottom: 24px;       /* spacing between bullet groups */
}

/* Step Title */
.pointer {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 6px 0;
}

/* Step Description */
.description {
    max-width: 304px;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* ===========================================
   Right Column — YouTube Frame
   =========================================== */

.tutorial-right {
    display: flex;
    align-items: flex-end;
    max-width: 374px;
}  

.video-container {
    width: 374px;
    height: 250px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;

    /* same shadow style as hero cards */
    box-shadow: 
        0 3px 12px #e7e7e9,
        inset 0 0 20px rgba(0,0,0,0.03);    
}

/* YouTube iframe */
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ======================================================
   FAQ Section (Accordion)
   ====================================================== */

.faq-section {
    width: 100%;
    padding: 126px 0;

    background: radial-gradient(
        circle at center,
        rgba(255, 182, 193, 0.28) 0%,
        rgba(255, 228, 225, 0.18) 35%,
        rgba(255, 255, 255, 0) 75%
    );
}

.faq-section .wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.all-faqs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

/* =============== Card Container =============== */

.faq {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #f7f7f9;

    box-shadow:
        0 3px 12px #e7e7e9,
        inset 0 0 20px rgba(0,0,0,0.03);

    overflow: hidden; /* smooth animation */
    transition: 0.5s ease-in-out;
}

/* =============== Summary (Questions) =============== */

.faq summary {
    padding: 22px 48px 22px 22px;
    font-family: "Inter Tight", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: ba;

    cursor: pointer;
    list-style: none;
    position: relative;
}

/* Remove default triangle */
.faq summary::-webkit-details-marker {
    display: none;
}

/* Custom arrow */
.faq summary::after {
    content: "›";
    font-size: 24px;
    font-weight: 300;
    position: absolute;
    right: 22px;
    top: 22px;

    transform: rotate(90deg);
    transition: transform 0.55s ease;
    color: #181818;
}

/* Rotate arrow when open */
.faq[open] summary::after {
    transform: rotate(270deg);
}

/* =============== Answer Text =============== */

.faq .answer {
    padding: 0 48px 22px 22px;
    margin: 0;

    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: black;
}

/* Smooth open animation */
.faq[open] .answer {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* ======================================================
   Footer
   ====================================================== */

footer {
    width: 100%;
    max-height: 52px;
    background: #181818;
    color: #ffffff;
    padding: 16px 60px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;  /* true centering */
    align-items: center;
    gap: 40px;

    font-family: "Inter", sans-serif;
}

/* Left Quote */
.footer-left {
    font-size: 14px;
    font-weight: 200;
    font-style: italic;
    white-space: nowrap;
}

/* Center LinkedIn icon */
.footer-center a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-linkedin {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Right side links */
.footer-right {
    display: flex;
    justify-content: flex-end; 
    gap: 40px;

}

.footer-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
    position: relative;
}

/* Animated underline */
.footer-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: white;
    transition: width 0.25s ease;
}

.footer-right a:hover::after {
    width: 100%;
}

/* Left-side footer navigation */
.footer-left {
    font-style: normal;   /* remove italics */
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

/* Match link styling from right side */
.footer-left a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
    position: relative;
}

/* Reuse underline animation */
.footer-left a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: white;
    transition: width 0.25s ease;
}

.footer-left a:hover::after {
    width: 100%;
}


/* ======================================================
   ABOUT PAGE — Hero Section (The Product)
   ====================================================== */

/* Try Button */

.try-btn {
    height: 35px; 
    width: 374px;
    color: white;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;

    background: 
        linear-gradient(#111, #111) padding-box, 
        linear-gradient(180deg, var(--pink), var(--orange)) border-box;

    border: 2px solid transparent;
    border-radius: 40px;

    cursor: pointer;
}



.about-hero-section {
    width: 100%;
    padding: 80px 80px;
    background: radial-gradient(
        circle at center,
        rgba(255, 182, 193, 0.372) 0%,
        rgba(255, 228, 225, 0.094) 40%,
        rgba(255, 255, 255, 0) 70%
    );
}

.about-wrapper {
    max-width: 470px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero-content .title {
    font-family: "Inter Tight", sans-serif;
    font-size: 10px;
    font-weight: 300;
    margin-bottom: 5px;
    color: black;
}

.about-hero-content .heading {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}

.about-hero-content .heading img {
    width: 48px;
    height: auto;
}

.about-hero-content h2 {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}

.about-hero-content .info-description {
    max-width: 680px;
    margin: 0 auto 28px;
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: black;
}

.info-description p {
    margin: 0 0 14px;  /* ← vertical gap between paragraphs */
}

/* ======================================================
   ABOUT PAGE — Video Section
   ====================================================== */

  .about-video-section {
  width: 100%;
  display: flex;
  justify-content: center;  /* centers horizontally */
  padding: 60px 0;
}

.about-video-container {
  width: 800px;              /* your fixed width */
  position: relative;
  padding-bottom: 56.25%;    /* maintains 16:9 ratio */
  background: #fefefe;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
}

.about-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;               /* fill the 800px container */
  height: 100%;              /* auto height via ratio */
  border: none;
}



/* ======================================================
   ABOUT PAGE — WHY / HOW Sections
   ====================================================== */

.info1-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 270px;
    padding: 80px 0 40px;
}

.info-wrapper {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

.heading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
}

.heading img {
    width: 40px;
    height: 40px;
}

.info h2,
.info {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}

.title {
    font-family: "Inter Tight", sans-serif;
    font-size: 10px;
    font-weight: 300;
    margin-bottom: 5px;
    color: black;
    text-align: center; 
}    

.info-description {
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: black;
    text-align: center;
    margin-top: 10px;
}




/* ======================================================
   ABOUT PAGE — WHO Section
   ====================================================== */

.info2-section {
    padding: 60px 0 60px;
    display: flex;
    justify-content: center;
}

.who-content {
    text-align: center;
}

.who-box {
    width: 400px;
    margin: 20px auto;
    background: #fff;
    border-radius: 6px;
    padding: 5px 30px;

    box-shadow:
        0 3px 12px #e7e7e9,
        inset 0 0 20px rgba(0,0,0,0.03);

    border: 1px solid #f0f0f0;

    display: grid;
    grid-template-columns: 1fr 2fr; 
    align-items: center;
    gap: 20px;
}

.who-image img {
    width: 100px;
    height: auto;
    margin-top: 4px;
}

.who-details {
    margin: 20px auto;
}

.who-details h3 {
    font-family: "Inter", sans-serif;
    text-align: left;
    font-size: 20px;
    font-weight: 400;
    padding: 0 auto;
}

.who-details .info-description {
    font-size: 10px;
    margin: 4px 0 6px;
    text-align: left;
}

.who-details img {
    width: 18px;
    height: 18px;
    display: block;
}



/* ======================================================
   ABOUT PAGE — FAQ spacing override
   (same section as homepage, just tighter top padding)
   ====================================================== */

.about-hero-section + .info1-section + .info2-section + .faq-section {
    padding-top: 100px;
}


/* ============================
   Button Hover & Active States
   ============================ */

.generate-btn,
.try-btn {
    transition: all 0.2s ease;
}

/* Hover: float + shadow */
.generate-btn:hover,
.try-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

/* Active: press down */
.generate-btn:active,
.try-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}


/* Disabled / Loading */
.generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ======================================================
   MOBILE WARNING (shown only on mobile)
   ====================================================== */

.mobile-warning {
    display: none; /* hidden by default */
    width: 100%;
    padding: 40px 20px;
}

.mobile-warning-box {
    max-width: 360px;
    margin: 60px auto;
    padding: 24px 20px;
    background: #fff;
    border-radius: 12px;

    box-shadow:
        0 3px 12px #e7e7e9,
        inset 0 0 20px rgba(0,0,0,0.03);

    border: 1px solid #f0f0f0;
    text-align: center;
}

.mobile-warning-box h2 {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
    color: #181818;
}

.mobile-warning-box p {
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 0 0 10px;
}


/* ======================================================
   SHOW ONLY WARNING ON MOBILE
   ====================================================== */

@media (max-width: 768px) {
    main,
    header,
    footer {
        display: none;
    }

    .mobile-warning {
        display: block;
    }
}


/* ==========================================================================================
==========================================================================================
   BULK PAGE STYLES
==========================================================================================
   ========================================================================================== */


/* ==============================
   BULK PAGE — Mini Navigation
   ============================== */

.bulk-mini-nav {
    font-family: "Inter Tight", sans-serif;
    font-size: 10px;
    margin-bottom: 12px;

    display: flex;
    gap: 10px;
    align-items: center;

    width: 100%;
    text-align: left;
}

/* Blue link (Single Image) */
.bulk-nav-link.bulk-single {
    color: #3b66ff;
    text-decoration: none;
    cursor: pointer;
    transition: 0.15s ease;
}

.bulk-nav-link.bulk-single:hover {
    text-decoration: underline;
}

/* Pink text for active Bulk Upload */
.bulk-nav-link.bulk-active {
    color: #f03dd4;
    font-weight: 500;
    position: relative;
    cursor: default;
}

/* Separator */
.bulk-nav-separator {
    color: #aaa;
    opacity: 0.6;
}

/* Tooltip for active (Bulk Upload) */
.bulk-nav-link.bulk-active:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: -22px;

    background: #ffffff;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;

    font-size: 10px;
    white-space: nowrap;
    color: #555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


/* ==============================
   BULK — Upload Section
   ============================== */

/* -----------------------
   BULK Upload cleaned styles (icons via <img>)
   ----------------------- */

.bulk-upload-wrapper { max-width: 900px; margin: 0 auto; }
.bulk-upload-area {
  width: 837px;
  height: 238px;
  margin: 0;
  border: 2px dashed #dedfe0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px #e7e7e9, inset 0 0 20px rgba(0,0,0,0.03);
  transition: 0.25s ease;
  background: linear-gradient(#fff, #fff) padding-box;
}

/* Hover glow */
.bulk-upload-area:hover {
  border: 2px dashed transparent;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(45deg, var(--pink), var(--orange)) border-box;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08), inset 0 0 25px rgba(0,0,0,0.04);
}

/* Active/inactive control for JS (no !important) */
.bulk-upload-area.inactive {
  border: 2px dashed #dedfe0;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(#e5e5e5,#e5e5e5) border-box;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
  cursor: not-allowed;
}

.bulk-upload-area.inactive * {
  pointer-events: none; /* inner contents unclickable */
}

.bulk-upload-area.active { pointer-events: auto; }

/* Inner container */
.bulk-upload-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }

/* Generic state box — hidden/shown by JS */
.bulk-state-box { width: 100%; height: 100%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

/* Default UI */
#bulkDefaultUI { display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ICONS: Use <img> sizes */
.bulk-upload-icon
 {
  width: 72px; height: auto; margin-bottom: 2px; display: inline-block;
}

/* Swap to active icon on hover */
.bulk-upload-area:hover .bulk-upload-icon {
    content: url("../images/upload_bulk-active.svg");
}


/* Making the states overlap */
.bulk-state-frame {
  display: grid;
  grid-template-rows: 1fr 1fr;  /* top half for icon, bottom half for text */
  align-items: center;
  justify-items: center;

  max-height: 80px;       /* fixed height */
  width: 100%;
  text-align: center;

  padding: 0;
}

.bulk-state-frame img {
  align-self: start;
}

.bulk-state-frame p {
  align-self: end;
}

/* Icons */

.uploading-icon,
.uploading-done-icon {
  width: 52px; height: auto; margin-bottom: 12px; display: inline-block;
}


/* progress icon and remark */
.bulk-progress-icon {
  width: 48px; height: auto; margin-bottom: 12px; display: inline-block;
}

/* The status line (“Putting AI…”) */
.bulk-progress-text { margin: 0; font-size: 14px; color: #8c8e93; }

/* The red error remark while processing */
.bulk-progress-remark {
    font-size: 11px;
    color: #d9534f;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Positioning the processing box to align with uploading/uploaded box */
#bulkProcessingBox .bulk-state-frame {
  margin-top: 20px;   /* shift entire processing block down */
}

#bulkProcessingBox .bulk-progress-icon {
  transform: translateX(-5px);  /* move left */
}



/* Upload text / notes */
.bulk-upload-text { margin: 0; font-size: 14px; color: #8c8e93; }
.bulk-upload-note { font-size: 10px; color: #b1b2b5; margin-top: 6px; }

/* Uploading text */
.uploading-text { margin: 0; font-size: 14px; color: #8c8e93; }


/* DONE — ICON */
.bulk-done-icon {
  width: 82px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* Done */ 
.bulk-done-text { 
    font-size: 22px;
    font-weight: bold;
    
    background: linear-gradient(45deg, var(--pink) 10%, var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter:
    drop-shadow(0 0 14px rgba(255, 120, 165, 0.30));

    margin: -12px 0px 10px 0px;
}

/* DOWNLOAD LINK */

.bulk-backup-text {
  font-size: 10px;
  font-weight: 200;
  color: #8c8e93;
  margin: 0 auto;
  display: inline-block;
}

.bulk-backup-text a.bulk-download-link {
  color: #3b66ff;
  text-decoration: underline;
  cursor: pointer;
}

#bulkDoneBox, 
#bulkDoneBox * {
  pointer-events: auto !important;
}

/* Error 1 */
/* Error icon */
.bulk-error-icon {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

/* Error headline */
.bulk-error-heading {
  font-size: 14px;
  color: #8c8e93;
  margin: -4px auto 0;
  display: inline-block;
}

/* Each error bullet */
.bulk-error-list {
  padding-left: 0;
  margin-top: 6px;
  list-style: disc;
  text-align: left;
  font-size: 11px;
  color: #d9534f;
}

.bulk-error-list li {
  margin-bottom: 4px;
  line-height: 1.4;
}



/* Error boxes */
.bulk-error-box { /* if you use a separate container elsewhere */ }

/* blink animation (used only for processing / uploading icons) */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.35; }
  100% { opacity: 1; }
}

/* Apply blink only to the elements we want */
.uploading-icon { animation: blink 1.2s infinite; }
.bulk-progress-icon { animation: blink 1s infinite; }


/* ==============================
BULK — Description Input
============================== */

.bulk-desc-box {
margin-top: 12px;
margin-bottom: 8px;
}

.bulk-desc-input {
width: 837px;
border: none;
border-bottom: 1px solid #b1b2b5d5;
background: transparent;
outline: none;

font-family: "Inter Tight", sans-serif;
font-size: 12px;
font-style: italic;

padding: 3px 2px;

color: #454444;
}

.bulk-desc-input::placeholder {
color: #b1b2b5d5;
}

.bulk-desc-input:focus {
border-bottom: 1px solid #454444;
}

.bulk-desc-input:focus::placeholder {
color: transparent;
}

.bulk-desc-error {
font-size: 11px;
color: #d9534f;
margin-top: 3px;
height: 14px; /* keeps layout from jumping */
margin-bottom: 0;
}


/* ==========================================================================================
==========================================================================================
   PAGE SCAN PAGE STYLES
==========================================================================================
   ========================================================================================== */



   /* ==============================
Page Scan — Hero Section
============================== */

/* ===========================================
   HERO (Page Scan only) — Smaller height
   =========================================== */

.hero-section.hero-pagescan {
    min-height: 400px !important;   /* shrink height from 600 → 400 */
    background-position: center -60px; /* adjust glow slightly */
    background-size: 750px;
    margin-bottom: 0;               /* remove any accidental spacing */
    padding-bottom: 0;
}

   /* Mini-nav text for in-active Page Scan Feature */
.bulk-nav-link.bulk-pagescan {
    color: #3b66ff;
    font-weight: 500;
    position: relative;
    cursor: default;
}

/* Tooltip for active (Bulk Upload) */
.bulk-nav-link.bulk-pagescan:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: -22px;

    background: #ffffff;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;

    font-size: 10px;
    white-space: nowrap;
    color: #555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Outer box */
.link-box {
  width: 837px;
  height: 52px;
  margin: 0 auto;
  border: 2px dashed #dedfe0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 12px #e7e7e9, inset 0 0 20px rgba(0,0,0,0.03);
  padding: 16px;
}

/* Hover glow */
.link-box:hover {
  border: 2px dashed transparent;
  background: linear-gradient(#fff,#fff) padding-box,
              linear-gradient(45deg, var(--pink), var(--orange)) border-box;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08),
              inset 0 0 25px rgba(0,0,0,0.04);
}

/* Input */
#urlInput {
  width: 100%;
  border: none;
  outline: none;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  color: #454444;
  background: transparent;
}

/* Placeholder */
#urlInput::placeholder {
  color: #b1b2b5;
  font-style: italic;
}

/* Disabled state */
.link-box.inactive {
  border: 2px dashed #dedfe0; 
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(#e5e5e5,#e5e5e5) border-box; 
  box-shadow: inset 0 0 20px rgba(0,0,0,0.03); 
  cursor: not-allowed;
}

.link-box.inactive * {
  pointer-events: none; /* inner contents unclickable */
}

.link-box.active {
  pointer-events: auto; 
}


/* ================================= */
/* Scan Button */
.action-btn {
  appearance: none;
  border: none;

  padding: 7px auto;
  margin: 22px auto 22px;

  font-size: 16px;
  font-weight: 400;
  color: white;
  background: #1a1a1a;
  border: 2px solid transparent;

  background: 
        linear-gradient(#111, #111) padding-box, 
        linear-gradient(180deg, var(--pink), var(--orange)) border-box;
  border: 2px solid transparent;
  border-radius: 40px;

  cursor: pointer;
  transition: 0.25s ease;
    
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover */
.action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

/* Press Down */
.action-btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Disabled / Loading */
.action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Scan Error */
#scanError {
  color: #d9534f;
  margin-top: 12px;
  font-size: 11px;
  text-align: center;
}


 /* ==============================
Page Scan — Preview Section
============================== */

/* Preview Section background */
  
/* Outer section stays clean */
.results-section {
  position: relative;
  padding-top: 20px;
}


/* The WRAPPER gets the glow, not the SECTION */
.results-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  z-index: 1;
  overflow: hidden;        /* <-- the key so glow stays INSIDE */
}


/* Move the gradient HERE */
.results-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  z-index: 1;
  overflow: visible;   /* allow the glow to spill OUT softly */
}

.results-wrapper::before {
  content: "";
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);

  width: 160%;
  height: 190%;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 179, 206, 0.28) 0%,     /* center (slightly softer than before) */
    rgba(255, 185, 216, 0.16) 28%,    /* fade begins earlier */
    rgba(255, 210, 230, 0.08) 52%,    /* much lighter mids */
    rgba(255, 235, 245, 0.03) 75%,    /* extremely faint edges */
    rgba(255, 255, 255, 0) 100%       /* fully invisible outer extremes */
  );

  filter: blur(70px);    /* bigger blur = softer extremes */
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}





/* Entire results area */
.results-section {
  width: 100%;
  background: #fefefe; /* soft cream */
  padding: 40px;
  display: none; /* shown by JS */
}

/* inner wrapper containing header + cards */
.results-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #fefefe;
  padding: 40px;
}


/* Header bar containing title + image count + export */
.scan-header {
  max-width: 1120px;
  height: 120px;
  background: #fbfbfb; 
  border-radius: 6px;
  padding: 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 20px;
  border: 1px solid #dedfe0;  
  box-shadow: 0 3px 10px rgba(0,0,0,0.05); 
}

/* Page Title fetched by the backend */
.scan-page-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #454444;
  line-height: 1.2;
  max-width: 732px;
  margin: 0px;
}

/* Page meta */

.scan-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Page meta - Image Counter */


.image-count-box {
  width: 124px;      /* ← instead of max-width */
  min-width: 124px;  /* ← prevents flex shrinking */
  height: 56px;
  flex-shrink: 0;     /* ← hard stop: never shrink inside flex */

  display: flex;
  align-items: center; /* CENTER vertically */ 
  justify-content: center; /* CENTER horizontally */
  gap: 2px;

  background: #fefefe; 
  border-radius: 6px;

  padding: 0 !important;

  font-size: 14px;
  font-weight: 400;
  color: #454444;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.2;

  border: 1px solid #dedfe0;  
  cursor: default;
}

.image-count-box .image-meta-icon {
  width: 37px;
  height: auto;

  margin-bottom: 6px;
}

.image-count-text {
  display: inline-block;
  text-align: left;
  white-space: nowrap; /* prevents weird wrapping on "7 / 16" */
  line-height: 1.1;
}

.image-count-text br {
  line-height: 0; /* reduces spacing between the two lines */
}



/* Page meta - Export Button */
.export-box {
  width: 124px;      /* ← instead of max-width */
  min-width: 124px;  /* ← prevents flex shrinking */
  height: 56px;
  flex-shrink: 0;     /* ← hard stop: never shrink inside flex */
    
  display: flex; 
  align-items: center; /* CENTER vertically */ 
  justify-content: center; /* CENTER horizontally */ 
  gap: 6px;

  background: #fefefe;
  border-radius: 6px;

  border: 1px solid #dedfe0;  
  cursor: pointer;

  font-size: 14px;
  font-weight: 400;
  color: #454444;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.2;

  transition: 0.2s ease;
}

.export-box .export-meta-icon {
  width: 30px;
  height: auto;
}


.export-box:disabled {
  cursor: not-allowed;
}

.export-box:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.export-box:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* export tool tip in inactive state */
/* Export tooltip: only when disabled AND hovered */
.export-box:disabled:hover::after {
  content: "Generate ALT Text to activate";
  position: absolute;
  
  top: -22px; /* position above text */
  background: #fffcc7;
  padding: 2px 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  color: #555;
  box-shadow: 0 2px 2px rgba(0,0,0,0.05);

  z-index: 20;
  pointer-events: none; /* tooltip does not block hover */
}

/* Required: allow absolute-positioned tooltip inside the box */
.export-box {
  position: relative;
}


/* Scan warnings or erros. hidden temporarily */




/* ==========================================================
   SCAN CARD (Outer Container)
   ========================================================== */
.scan-card {
  width: 100%;
  max-height: 315px;
  background: #fbfbfb;  
  border: 1px solid #dedfe0;
  border-radius: 6px;
  padding: 12px 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05); 
  display: flex;
  flex-direction: column;
  gap: 8px;
}



/* ==========================================================
   TOP ROW = IMAGE COLUMN + EXISTING META + AI META
   Uses flex instead of grid for better control
   ========================================================== */
.card-top-row {
  display: grid;
  grid-template-columns: 336px 1fr 1fr;
  gap: 8px;
}


/* META COLUMNS */
.meta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;

  width: 374px;         /* ← makes every block inside fixed-width */
  min-width: 374px;     /* ← prevents flex/grid from shrinking */
  max-width: 374px;     /* ← prevents growing */
}


/* ==========================================================
   IMAGE PREVIEW (left 1 column)
   ========================================================== */
.scan-image-box {
  max-width: 336px;
  height: 230px;

  background: #ffffff;  
  border-radius: 2px;
  border: 1px solid #dedfe0;  

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  padding: 5px;
}

.scan-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img-error {
  font-family: "inter tight", sans-serif;
  font-size: 10px;
  color: #ee461a;
  padding: 8px;
  text-align: center;
}



/* ==========================================================
   DETAILS GRID (Existing + AI columns)
   This entire block covers BOTH meta columns
   ========================================================== */
.scan-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================
   INDIVIDUAL BLOCKS FIXED HEIGHTS
========================================================== */
.meta-block {
  background: #fff;
  border: 1px solid #dedfe0;
  border-radius: 2px;
  padding: 6px 16px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  overflow: hidden;
}

.alt-block { height: 108px; }
.caption-block { height: 53px; }
.filename-block { height: 53px; }




/* ==========================================================
   LABEL + VALUE STYLING
   ========================================================== */
.meta-label {
    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #454444;

    margin-bottom: 2px; 
    }



.meta-value{
  font-size: 12px;
  color: #454444;
  margin: 0;

  line-height: 1.35;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  text-overflow: unset;
}

/* Placeholder grey */
.placeholder {
  color: #b1b2b5 !important;
  font-style: italic;
}

/* copy buttons */
.meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ==========================================================
   CONTEXT BOX (full width below top row)
   ========================================================== */
.context-box {
  background: #ffffff; 
  border-radius: 2px;
  padding: 6px 16px;
  border: 1px solid #dedfe0;
  height: 53px;
  
  margin-bottom: 12px;
  margin-top: 8px;

  display: flex;
  flex-direction: column;
  gap: 2px;

}

.context-label {
    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #454444;
    display: block;
}



.context-input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}


.context-input {
  flex: 1;
  height: 20px;  
  padding: 0;
  border: none;
  outline: none;
  resize: none;

  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.7;
  color: #454444;

  overflow: hidden !important;   /* hides scrollbar */
  resize: none !important;       /* user can't resize */
}

.context-charcount {
  font-size: 8px;
  color: #b1b2b5;
  margin: 0px;
  text-align: right;

  min-width: 30px;
}


/* Button 2 - Result Area Button */
.results-actions {
    margin-top: 40px;   /* push the button downward */
}




/* ==========================================================================================
==========================================================================================
   404 PAGE STYLES
==========================================================================================
   ========================================================================================== */



/* === 404 Page Layout === */

.hero-section-404 {
    text-align: center;
    padding: 80px 20px;        /* top + bottom padding */
    max-height: 600px;
    margin-top: -70px;

    background: radial-gradient(
        circle at center 65%,
        rgba(255, 182, 193, 0.372) 0%,
        rgba(255, 228, 225, 0.094) 40%,
        rgba(255, 255, 255, 0) 70%
    );
}

.wrapper-404 {
    max-width: 600px;
    margin: 0 auto;
}

/* Heading (404!) */
#warning-404 {
    font-family: "Inter", sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #f23908;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 10px;
}

/* Subheading */
#description-404 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* Image */
.hero-section-404 img {
    max-width: 312px;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 3px 12px #e7e7e9,
        inset 0 0 20px rgba(0,0,0,0.03);

    margin: 0 auto 40px auto;
    display: block;
}