:root {
    --bg-color: #fcfcfc;
    --text-primary: #121212;
    --text-secondary: #555555;
    --accent-color: #ff6b35;
    /* From the "7 Days" text */
    --accent-light: #fff5f2;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --black: #000000;
    --luxury-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--body-font);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.luxury-text {
    font-family: var(--luxury-font);
    font-weight: 400;
}

/* Top Bar */
.top-bar {
    background-color: #1a1513;
    /* Dark brown/black from image */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
padding: 2.5% 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.logo-container {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
 }

.logo-container img {
    height: 47px;
    width: auto;
    position: absolute;
    left: -40px;
    top: 3px;
 }

.logo-text {
    font-family: var(--luxury-font);
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
     
}

.nav-right {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.nav-right i {
    cursor: pointer;
    transition: var(--transition);
}

.nav-right i:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.hero-image-side {
    background-color: #fff1f1;
    /* Soft pink/peach from image */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.promo-tag {
    background: var(--accent-light);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.hero-title span {
    color: var(--accent-color);
    font-style: normal;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-luxury {
    background-color: var(--black);
    color: var(--white);
    padding: 18px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-luxury:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.save-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-link:hover {
    text-decoration: underline;
}

/* Background Remover Component (Right Side) */
.remover-container {
    width: 90%;
    height: 90%;
    background: var(--white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.upload-box {
    flex: 1;
    border: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-box:hover {
    border-color: var(--accent-color);
    background: var(--accent-light);
}

.upload-box i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.upload-box h4 {
    margin-bottom: 5px;
    font-weight: 500;
}

.upload-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Feature Bar */
.feature-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px 5%;
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HTMX Transitions */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator {
    opacity: 1;
}

.htmx-request.upload-box {
    opacity: 0.5;
    pointer-events: none;
}

/* Result Styles */
.result-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-stack {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-stack img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.result-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
}

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

    .hero-content {
        padding: 60px 5%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-image-side {
        min-height: 500px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .feature-bar {
        flex-direction: column;
        gap: 20px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-left span {
        display: none;
    }
}

/* Image Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    margin-bottom: 25px;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

.img-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.img-after {
    z-index: 1;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--white);
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-button {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 0.8rem;
    pointer-events: auto;
    cursor: ew-resize;
}

.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    cursor: ew-resize;
    opacity: 0;
}

/* Footer Section */
.main-footer {
    background: #ededed;
    /* Light gray from image */
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 60px 5%;
}

.footer-section {
    padding: 0 40px;
    border-right: 1px solid #dcdcdc;
}

.footer-section:last-child {
    border-right: none;
}

.footer-logo {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.tagline-small {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navigation-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-column a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.link-column a:hover {
    color: var(--accent-color);
}

.signup-form h4 {
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.signup-form p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    background: #e0e0e0;
    padding: 15px 20px;
    align-items: center;
}

.input-group input {
    background: transparent;
    border: none;
    flex: 1;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.input-group button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

.footer-bottom {
    border-top: 1px solid #dcdcdc;
    padding: 30px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    max-width: 1400px;
    margin: 0 auto;
}

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

.bottom-links a {
    text-decoration: none;
    color: inherit;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1rem;
}

.social-icons a {
    color: var(--black);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section {
        border-right: none;
        border-bottom: 1px solid #dcdcdc;
        padding: 0 0 40px 0;
    }

    .navigation-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}