/* ============================================
   iClam — Always Ready to Shine
   Feminine Luxury Landing Page
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-bg: #faf8f6;
    --color-bg-dark: #0a0a0a;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-accent: #c4a0e8;
    --color-accent-deep: #9b6fc7;
    --color-accent-soft: #e8d5f5;
    --color-lavender: #d4b8e8;
    --color-rose: #e8c4d4;
    --color-cream: #f5f0eb;
    --color-white: #ffffff;
    --color-border: #e8e4e0;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-logo: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --container: 1200px;
    --gap: 2rem;
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* --- Typography --- */
.section__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-deep);
    margin-bottom: 1rem;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent-deep), var(--color-accent));
    color: var(--color-white);
    box-shadow: 0 4px 24px rgba(155, 111, 199, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(155, 111, 199, 0.45);
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}

.nav--scrolled {
    background: rgba(250, 248, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.1);
}

.nav--scrolled .nav__logo {
    color: var(--color-text);
}

.nav__cta {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
}

.nav--scrolled .nav__cta {
    color: var(--color-accent-deep);
    border-color: var(--color-accent-deep);
}

.nav--scrolled .nav__cta:hover {
    background: var(--color-accent-deep);
    color: var(--color-white);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.1) 40%,
        rgba(10, 10, 10, 0.6) 100%
    );
    z-index: 2;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.85;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero__title {
    font-family: var(--font-logo);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero__sub {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero__content .btn {
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* --- Section General --- */
.section {
    padding: 7rem 0;
}

/* --- Problem Section --- */
.section--problem {
    background: var(--color-white);
    text-align: center;
}

.section--problem .section__title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem__card {
    padding: 2.5rem 2rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.problem__card:hover {
    transform: translateY(-4px);
}

.problem__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-rose);
}

.problem__card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.problem__card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Solution Section --- */
.section--solution {
    background: var(--color-bg);
}

.solution__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution__image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-dark);
}

.solution__image img {
    width: 100%;
    transition: transform 0.6s ease;
}

.solution__image:hover img {
    transform: scale(1.03);
}

.solution__video {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-dark);
}

.solution__video video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

.solution__disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(155, 111, 199, 0.06);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.solution__desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.solution__stats {
    display: flex;
    gap: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-deep);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat__label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- How It Works --- */
.section--how {
    background: var(--color-white);
    text-align: center;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 4rem;
}

.step {
    flex: 1;
    max-width: 280px;
    padding: 0 1.5rem;
}

.step__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-soft);
    line-height: 1;
    margin-bottom: 1rem;
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.step__line {
    width: 60px;
    height: 1px;
    background: var(--color-border);
    margin-top: 2.5rem;
    flex-shrink: 0;
}

/* --- Features --- */
.section--features {
    background: var(--color-bg);
    text-align: center;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2.5rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--color-accent-soft);
    box-shadow: 0 8px 32px rgba(155, 111, 199, 0.08);
    transform: translateY(-4px);
}

.feature__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent-deep);
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Lifestyle --- */
.section--lifestyle {
    background: var(--color-white);
    overflow: hidden;
}

.lifestyle__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lifestyle__icon {
    width: 110px;
    height: auto;
    margin-bottom: 1.5rem;
}

.lifestyle__text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lifestyle__quote {
    font-family: var(--font-display);
    font-size: 1.4rem !important;
    font-style: italic;
    color: var(--color-accent-deep) !important;
    margin-bottom: 0.25rem !important;
}

.lifestyle__hint {
    font-size: 0.85rem !important;
    color: var(--color-text-light) !important;
}

.lifestyle__image {
    border-radius: var(--radius);
    overflow: hidden;
}

.lifestyle__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.lifestyle__image:hover img {
    transform: scale(1.03);
}

/* --- Specs --- */
.section--specs {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.section--specs .section__label {
    color: var(--color-lavender);
}

.section--specs .section__title {
    color: var(--color-white);
}

.specs__disclaimer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-left: 2px solid var(--color-lavender);
}

.specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.spec__key {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-lavender);
}

.spec__val {
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-align: right;
}

/* --- Pre-order --- */
.section--preorder {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-cream) 100%);
    padding: 8rem 0;
}

.preorder__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.preorder__info p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.preorder__perks {
    list-style: none;
}

.preorder__perks li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text);
}

.preorder__perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.preorder__form-wrap {
    position: relative;
}

.preorder__form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    border: 1px solid var(--color-border);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 0.9rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 160, 232, 0.15);
}

.form__group textarea {
    resize: vertical;
    min-height: 100px;
}

.form__checkbox {
    margin-bottom: 1rem;
}

.form__checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1.5;
}

.form__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-accent-deep);
    cursor: pointer;
}

.form__checkbox a {
    color: var(--color-accent-deep);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.form__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.preorder__success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    border: 1px solid var(--color-border);
}

.preorder__success.active {
    display: block;
    animation: fadeUp 0.6s ease forwards;
}

.success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent-deep);
}

.preorder__success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.preorder__success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.5);
    padding: 3rem 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__logo-img {
    width: 50px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer__logo {
    font-family: var(--font-logo);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.footer__brand p {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.15rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-lavender);
}

.footer__contact {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.footer__contact p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.footer__contact a {
    color: var(--color-lavender);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__contact a:hover {
    opacity: 0.7;
}

.footer__copy {
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .solution__layout,
    .lifestyle__layout,
    .preorder__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lifestyle__image img {
        height: auto;
    }

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

    .spec:nth-child(odd) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }

    .problem__grid,
    .features__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step__line {
        width: 40px;
        margin-top: 0;
    }

    .step {
        padding: 0;
    }

    .solution__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero__content {
        padding: 2rem 1.5rem;
    }

    .preorder__form {
        padding: 1.75rem;
    }

    .lifestyle__image img {
        height: auto;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero__bg {
        position: relative;
        width: 100%;
        height: 60vh;
    }

    .hero__img {
        object-fit: contain;
        object-position: center bottom;
    }

    .hero__bg::after {
        background: linear-gradient(
            to bottom,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0) 60%,
            rgba(10, 10, 10, 0.8) 100%
        );
    }

    .hero__content {
        position: relative;
        z-index: 3;
        background: var(--color-bg-dark);
        padding: 1.5rem 2rem 2rem;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__scroll {
        display: none;
    }

    .nav__cta {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
}
