:root {
    --bg: #08111f;
    --bg-soft: #101b2c;
    --surface: rgba(11, 21, 37, 0.82);
    --surface-solid: #101a2b;
    --card: #ffffff;
    --card-soft: #eef4fb;
    --text: #e8edf6;
    --text-dark: #172130;
    --muted: #90a0b7;
    --accent: #38bdf8;
    --accent-strong: #0ea5e9;
    --accent-warm: #f59e0b;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px rgba(3, 10, 24, 0.28);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(180deg, #f6f8fc 0%, #eef3f9 100%);
}

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

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

p {
    color: inherit;
}

header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(8, 17, 31, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.55);
    box-shadow: 0 10px 22px rgba(56, 189, 248, 0.2);
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 800;
}

.logo-name {
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(232, 237, 246, 0.9);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    transition: 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 4.5rem;
    color: var(--text);
    background:
        linear-gradient(115deg, rgba(4, 10, 18, 0.9) 0%, rgba(4, 10, 18, 0.74) 40%, rgba(7, 17, 31, 0.82) 100%),
        url('casing.jpg') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(56, 189, 248, 0.18), transparent 24%),
        linear-gradient(180deg, transparent 55%, rgba(8, 17, 31, 0.52) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: end;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d8e4f3;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
}

.hero-content p {
    max-width: 640px;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    color: rgba(232, 237, 246, 0.84);
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #03111f;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.28);
}

.secondary-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.cta-button:hover,
.secondary-button:hover,
.add-to-cart:hover,
.view-all:hover,
.contact-form button:hover {
    transform: translateY(-2px);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-highlights span {
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #edf4fb;
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-panel {
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(8, 17, 31, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.panel-label {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(245, 158, 11, 0.16);
    color: #ffd88a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-panel h2 {
    color: #fff;
    font-size: 1.55rem;
    margin-bottom: 1.2rem;
}

.deal-list {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.deal-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.deal-item i {
    color: var(--accent);
    font-size: 1rem;
}

.deal-item strong {
    color: #fff;
    display: block;
    font-size: 0.95rem;
}

.deal-item small {
    color: var(--muted);
}

.deal-item span {
    color: #fff;
    font-weight: 800;
}

.panel-note {
    color: rgba(232, 237, 246, 0.72);
    font-size: 0.92rem;
}

.new-arrivals,
.best-selling,
.about,
.contact {
    padding: 5.5rem 0;
}

.new-arrivals,
.contact {
    background: #f4f7fb;
}

.best-selling,
.about {
    background: #ffffff;
}

.new-arrivals h2,
.best-selling h2,
.about h2,
.contact h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.7rem;
    color: #0d1827;
}

.section-intro {
    max-width: 620px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #607089;
    font-size: 1.05rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(14, 165, 233, 0.32);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(10, 25, 45, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(10, 25, 45, 0.14);
    border-color: rgba(14, 165, 233, 0.7);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-copy {
    padding: 1.25rem 1.25rem 0;
}

.product-meta {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-card h3 {
    font-size: 1.15rem;
    color: #0e1726;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #617187;
    font-size: 0.95rem;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
}

.price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0c1a2c;
}

.add-to-cart {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.add-to-cart:hover {
    background: var(--accent-strong);
}

.view-all {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    color: #0e1726;
    font-weight: 800;
    margin: 0 auto;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.78);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.view-all-wrap {
    text-align: center;
}

.about-content,
.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.about-text {
    padding: 2rem;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #0d1828 0%, #13233a 100%),
        url('casing.jpg') center/cover no-repeat;
    color: var(--text);
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 1rem;
}

.about-text p {
    color: rgba(232, 237, 246, 0.78);
    font-size: 1.04rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature {
    height: 100%;
    padding: 1.6rem 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 30px rgba(10, 25, 45, 0.06);
}

.feature i {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--accent-strong);
}

.feature h4 {
    font-size: 1.1rem;
    color: #0e1726;
    margin-bottom: 0.6rem;
}

.feature p {
    color: #607089;
}

.contact-info,
.contact-form {
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(10, 25, 45, 0.08);
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.15rem;
    color: var(--accent-strong);
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    color: #0e1726;
}

.info-item p {
    color: #617187;
}

.contact-form h3 {
    font-size: 1.7rem;
    color: #0e1726;
    margin-bottom: 1.2rem;
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fbff;
    font: inherit;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

footer {
    background: #09111f;
    color: var(--text);
    padding: 3.5rem 0 1.2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer-section p,
.footer-section a {
    color: rgba(232, 237, 246, 0.7);
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 0.9rem;
    margin-top: 1rem;
}

.social-links a,
.payment-methods span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.payment-methods span {
    min-width: auto;
    padding: 0.65rem 0.95rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(232, 237, 246, 0.6);
}

.reveal-ready {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 920px) {
    .hero-layout,
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        min-height: 78px;
    }

    .logo-name {
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
        background: rgba(8, 17, 31, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.7rem 0.2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-actions,
    .hero-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .product-card img {
        height: 220px;
    }
}

@media (max-width: 520px) {
    .logo-copy {
        display: none;
    }

    .hero-panel,
    .about-text,
    .contact-info,
    .contact-form {
        padding: 1.4rem;
    }

    .new-arrivals,
    .best-selling,
    .about,
    .contact {
        padding: 4rem 0;
    }
}
