/* ========================================
   M/S HAYDAR MANDAL
   SOLAR PANEL BUSINESS LANDING PAGE
======================================== */

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #06101f;
    --background-light: #0c1c32;
    --gold: #ffd166;
    --yellow: #ffbd45;
    --orange: #ff9238;
    --white: #f5f8ff;
    --muted: #a6b5ca;
    --blue: #245b91;
    --border: rgba(255, 255, 255, 0.10);
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;

    color: var(--white);

    background:
        radial-gradient(
            ellipse at 50% 38%,
            rgba(24, 57, 91, 0.75) 0%,
            rgba(12, 28, 50, 0.85) 36%,
            var(--background) 78%
        );

    font-family: Arial, Helvetica, sans-serif;
}

/* ========================================
   ANIMATED STAR BACKGROUND
======================================== */

.stars {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #ffffff;

    box-shadow:
        0 0 5px rgba(165, 214, 255, 0.9);

    animation: twinkle 3s ease-in-out infinite alternate;
}

/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    min-height: 88px;
    padding: 20px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--border);
    background: rgba(4, 12, 25, 0.55);
    backdrop-filter: blur(12px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: var(--gold);
}

.logo-icon {
    display: inline-block;
    flex-shrink: 0;

    font-size: 36px;
    line-height: 1;

    color: var(--gold);

    text-shadow:
        0 0 8px rgba(255, 209, 102, 0.9),
        0 0 18px rgba(255, 159, 67, 0.7),
        0 0 35px rgba(255, 209, 102, 0.45);

    animation: sunRotate 15s linear infinite;
}

.logo-text {
    font-size: clamp(18px, 2.5vw, 27px);
    font-weight: 800;
    letter-spacing: 0.5px;

    animation: logoGlow 2.5s ease-in-out infinite alternate;
}

.header-tagline {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;

    background: #75f0b0;
    box-shadow: 0 0 10px rgba(117, 240, 176, 0.8);
}

/* ========================================
   MAIN CONTENT
======================================== */

.main-content {
    flex: 1;
    width: 100%;
    min-height: 600px;

    padding: 55px 24px 65px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* ========================================
   SOLAR PANEL ILLUSTRATION
======================================== */

.solar-visual {
    position: relative;

    width: 250px;
    height: 190px;
    flex-shrink: 0;

    margin-bottom: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    animation: floatPanel 4s ease-in-out infinite;
}

/* Glowing sun */

.sun {
    position: absolute;
    top: 0;
    right: 35px;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fffbd1 0%,
            var(--gold) 42%,
            var(--orange) 100%
        );

    box-shadow:
        0 0 18px rgba(255, 209, 102, 0.9),
        0 0 38px rgba(255, 159, 67, 0.65),
        0 0 65px rgba(255, 159, 67, 0.25);

    animation: sunPulse 2.5s ease-in-out infinite alternate;
}

/* Sun rays */

.sun-ray {
    position: absolute;

    width: 3px;
    height: 15px;

    border-radius: 10px;

    background: var(--gold);
    box-shadow: 0 0 8px rgba(255, 209, 102, 0.6);
}

.ray-one {
    top: -17px;
    right: 67px;
}

.ray-two {
    top: 22px;
    right: 114px;
    transform: rotate(90deg);
}

.ray-three {
    top: 21px;
    right: 19px;
    transform: rotate(90deg);
}

.ray-four {
    top: 64px;
    right: 67px;
}

/* Solar panel frame */

.solar-panels {
    position: relative;
    z-index: 2;

    width: 210px;
    height: 100px;
    padding: 5px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;

    border: 2px solid #8aa6c7;
    border-radius: 5px;

    background: #172c47;

    transform: perspective(300px) rotateX(12deg) skewX(-5deg);

    box-shadow:
        0 0 18px rgba(72, 169, 255, 0.25),
        0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Solar photovoltaic cells */

.panel {
    border: 1px solid rgba(123, 190, 255, 0.55);

    background:
        linear-gradient(
            135deg,
            #3479b5 0%,
            #174675 55%,
            #0b2442 100%
        );

    transition: background 0.3s ease;
}

.panel:hover {
    background: #3f8dcb;
}

/* Solar panel support */

.panel-stand {
    position: absolute;
    bottom: -3px;

    width: 110px;
    height: 10px;

    border-top: 4px solid #7c94af;
    border-bottom: 2px solid #526b87;

    transform: skewX(-12deg);
}

/* ========================================
   INTRODUCTION TEXT
======================================== */

.eyebrow {
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.eyebrow-line {
    width: 22px;
    height: 1px;
    background: var(--gold);
}

/* ========================================
   MAIN HEADLINE
======================================== */

h1 {
    max-width: 950px;

    color: var(--white);

    font-size: clamp(36px, 6.3vw, 76px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;

    text-wrap: balance;
}

.highlight {
    display: block;
    margin-top: 10px;

    color: var(--gold);

    text-shadow:
        0 0 10px rgba(255, 209, 102, 0.3),
        0 0 28px rgba(255, 159, 67, 0.18);
}

/* ========================================
   DESCRIPTION
======================================== */

.description {
    max-width: 620px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.9;
}

/* ========================================
   COMING SOON BADGE
======================================== */

.coming-soon-badge {
    margin-top: 30px;
    padding: 13px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid rgba(255, 209, 102, 0.3);
    border-radius: 50px;

    background: rgba(255, 209, 102, 0.06);

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);

    animation: dotPulse 1.5s ease-in-out infinite;
}

/* ========================================
   BOTTOM MESSAGE
======================================== */

.bottom-message {
    margin-top: 27px;

    color: #d3dbee;

    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.4px;
}

.bottom-message span {
    color: var(--gold);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    width: 100%;

    padding: 23px 20px;

    text-align: center;

    border-top: 1px solid var(--border);
    background: rgba(4, 12, 25, 0.65);
}

.copyright {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.copyright strong {
    color: var(--gold);
}

.footer-note {
    margin-top: 5px;

    color: #8294af;

    font-size: 10px;
    letter-spacing: 1.8px;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes logoGlow {
    from {
        text-shadow:
            0 0 5px rgba(255, 209, 102, 0.5),
            0 0 12px rgba(255, 159, 67, 0.25);
    }

    to {
        text-shadow:
            0 0 10px rgba(255, 209, 102, 0.95),
            0 0 25px rgba(255, 159, 67, 0.7),
            0 0 40px rgba(255, 159, 67, 0.3);
    }
}

@keyframes sunRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sunPulse {
    from {
        transform: scale(0.95);
    }

    to {
        transform: scale(1.07);
    }
}

@keyframes floatPanel {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.2;
    }

    to {
        opacity: 1;
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 600px) {

    .header {
        min-height: 85px;
        padding: 18px 15px;

        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        font-size: 30px;
    }

    .logo-text {
        font-size: 21px;
    }

    .header-tagline {
        font-size: 11px;
    }

    .main-content {
        min-height: 570px;
        padding: 45px 18px 55px;
    }

    .solar-visual {
        transform: scale(0.88);
        margin-bottom: 23px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
        gap: 6px;
    }

    .eyebrow-line {
        width: 13px;
    }

    h1 {
        font-size: clamp(33px, 8.8vw, 48px);
        letter-spacing: -1px;
        line-height: 1.18;
    }

    .description {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.8;
    }

    .coming-soon-badge {
        padding: 12px 14px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .bottom-message {
        font-size: 12px;
    }

    .footer {
        padding: 20px 12px;
    }

    .copyright {
        font-size: 11px;
    }

    .footer-note {
        font-size: 9px;
        letter-spacing: 1px;
    }
}

/* Extra-small mobile screens */

@media (max-width: 360px) {
    .logo-text {
        font-size: 18px;
    }

    h1 {
        font-size: 32px;
    }

    .coming-soon-badge {
        font-size: 8px;
        padding: 11px;
    }
}

/* Accessibility: respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}