:root {
    --bg-black: #0B2447; /* Changed to dark cyan blue */
    --bg-dark-gray: #19456B; /* Changed to medium cyan blue */
    --danos-cyan: #40E0D0; /* Primary accent from logo */
    --danos-magenta: #E83E8C; /* Secondary accent from logo */
    --danos-dark-blue: #162a53;
    --text-white: #FFFFFF;
    --text-gray: #cccccc;
    --font-heading: 'Poppins', sans-serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
    font-family: var(--font-subheading);
    font-weight: 600;
}

a {
    color: var(--danos-cyan);
    text-decoration: none;
}

.highlight {
    color: var(--danos-cyan);
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.main-nav a {
    color: var(--text-white);
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--danos-cyan);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Header height */
    overflow: hidden; /* Hide particles that go outside */
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: ken-burns-1 20s ease-in-out infinite alternate;
}

.hero-bg:nth-child(2) { animation-name: ken-burns-2; }
.hero-bg:nth-child(3) { animation-name: ken-burns-3; }
.hero-bg:nth-child(4) { animation-name: ken-burns-4; }

.hero-bg.active {
    opacity: 1;
}

#ink-effect-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float-particle infinite ease-in-out;
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translate(var(--x-end), var(--y-end));
        opacity: 0;
    }
}

@keyframes ken-burns-1 {
    0% { transform: scale(1) translateX(0) rotate(0deg); }
    100% { transform: scale(1.1) translateX(-2%) rotate(-1deg); }
}
@keyframes ken-burns-2 {
    0% { transform: scale(1) translateX(0) rotate(0deg); }
    100% { transform: scale(1.1) translateX(2%) rotate(1deg); }
}
@keyframes ken-burns-3 {
    0% { transform: scale(1) translateY(0) rotate(0deg); }
    100% { transform: scale(1.1) translateY(-2%) rotate(1deg); }
}
@keyframes ken-burns-4 {
    0% { transform: scale(1) translateY(0) rotate(0deg); }
    100% { transform: scale(1.1) translateY(2%) rotate(-1deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
}

.rotating-headline {
    position: relative;
    min-height: 120px; /* Adjust based on font size to prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.headline-item {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    font-size: 3rem;
}

.headline-item .h2-line {
    font-size: 2.5rem;
    display: inline-block;
    line-height: 1.2;
}

.headline-item.active {
    opacity: 1;
    transform: translateY(-50%);
}

.animated-headline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
    animation: reveal-word 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.animated-headline span:nth-child(1) { animation-delay: 0.1s; }
.animated-headline span:nth-child(2) { animation-delay: 0.2s; }
.animated-headline span:nth-child(3) { animation-delay: 0.3s; }
.animated-headline span:nth-child(4) { animation-delay: 0.4s; }
.animated-headline span:nth-child(5) { animation-delay: 0.5s; }

@keyframes reveal-word {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}


.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin: 1rem 0 2.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--danos-cyan);
    color: var(--bg-black);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(64, 224, 208, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
}

.cta-button i {
    margin-right: 0.75rem;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background-color: var(--bg-black);
}

.benefits-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--danos-cyan);
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.benefit-item p {
    color: var(--text-gray);
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background-color: var(--bg-dark-gray);
}

.product-carousel {
    width: 100%;
    padding: 2rem 0 3rem;
}

.product-carousel .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 420px;
}

.product-card {
    background: var(--bg-black);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    border: 1px solid #222;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image {
    max-width: 80%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #0004);
}

.product-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-cta {
    display: inline-block;
    border: 2px solid var(--danos-cyan);
    color: var(--danos-cyan);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.product-cta:hover {
    background-color: var(--danos-cyan);
    color: var(--bg-black);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--danos-cyan);
}

.swiper-pagination-bullet-active {
    background: var(--danos-cyan);
}

/* Intermediate CTA */
.intermediate-cta {
    padding: 5rem 0;
    background: var(--bg-black) url('cta_background.png') center center/cover;
    text-align: center;
}

.intermediate-cta h2 {
    font-size: 2.2rem;
}

.intermediate-cta p {
    font-size: 1.1rem;
    margin: 0.5rem 0 2rem;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--danos-cyan);
    color: var(--danos-cyan);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.cta-button-secondary:hover {
    background: var(--danos-cyan);
    color: var(--bg-black);
}

/* Brands Section */
.brands-section {
    padding: 6rem 0;
    background: var(--bg-dark-gray);
}

.brands-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.brand-card {
    background: #000;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--danos-dark-blue);
    min-width: 220px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float-animation 6s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.brand-card:nth-child(2) { animation-delay: -1.5s; }
.brand-card:nth-child(3) { animation-delay: -3s; }
.brand-card:nth-child(4) { animation-delay: -4.5s; }
.brand-card:nth-child(5) { animation-delay: -1s; }
.brand-card:nth-child(6) { animation-delay: -2.5s; }


.brand-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.1);
    border-color: var(--danos-cyan);
    animation-play-state: paused;
}

.brand-logo {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.4s ease-in-out;
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%) brightness(1);
}

.hp-logo {
    max-height: 80px; /* HP logo is a bit taller */
}

@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Final Contact Section */
.final-contact-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-black) 0%, var(--danos-dark-blue) 100%);
}

.final-contact-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.final-contact-section p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.cta-button.giant {
    padding: 1.5rem 3.5rem;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #000;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in {
    animation: fadeInAnimation 1s ease-in forwards;
    opacity: 0;
}
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }


.fade-in-delay {
    opacity: 0;
    animation: fadeInAnimation 1s ease-in forwards;
}
.fade-in-delay:nth-of-type(1) { /* Paragraph */
    animation-delay: 0.8s;
}
.fade-in-delay:nth-of-type(2) { /* Button */
    animation-delay: 1s;
}


@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .rotating-headline {
        min-height: 100px;
    }

    .headline-item {
        font-size: 2.2rem;
    }

    .header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-section {
        min-height: 80vh;
    }

    .cta-button.giant {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .brands-logos {
        gap: 1.5rem;
    }
    
    .brand-card {
        min-width: 180px;
        height: 100px;
    }

    .brand-logo {
        max-height: 50px;
    }
    .hp-logo {
        max-height: 60px;
    }
}

.no-wrap { white-space: nowrap; }

/* Additional Animations */
@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}