/* MCube - Premium Clear Ice
   CSS Stylesheet
   ========================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-bg-dark: #0a0a0a;
    --color-bg-section: #111111;
    --color-bg-card: #1a1a1a;
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    --color-accent: #c9a962;
    --color-accent-hover: #dfc582;
    --color-border: #2a2a2a;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20bd5a;

    /* Typography */
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul,
ol {
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

li {
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.logo {
    display: block;
    height: 56px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-smooth);
}

.main-nav a:hover {
    color: var(--color-text-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section--dark {
    background-color: var(--color-bg-section);
}

.section--centered {
    text-align: center;
}

.section__header {
    margin-bottom: var(--space-lg);
}

.section__subheading {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--space-xxl) var(--space-md);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

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

/* Mobile: Reduce hero height to show more of the image naturally */
@media (max-width: 767px) {
    .hero {
        min-height: 85vh;
    }
}

/* Hero Shimmer Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(212, 175, 55, 0.03) 25%,
            transparent 50%,
            rgba(212, 175, 55, 0.03) 75%,
            transparent 100%);
    background-size: 400% 400%;
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Product Tag */
.product-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    margin-bottom: var(--space-md);
}

.hero__content {
    max-width: var(--container-narrow);
}

.hero__eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.hero__title {
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.hero__subtitle--tension em {
    color: var(--color-text-primary);
    font-style: normal;
    font-weight: 500;
}

.hero__intro {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* Hook Section */
.section--hook {
    background-color: var(--color-bg-dark);
    padding: var(--space-xxl) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hook__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-weight: 400;
}

.hook__subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.hook__points {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hook__points li {
    font-size: 1rem;
    color: var(--color-text-secondary);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-bg-section);
    border-radius: 4px;
    border-left: 3px solid var(--color-accent);
    text-align: left;
    margin: 0;
}

.hook__closing {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    font-weight: 400;
    margin-bottom: 0;
}

/* Micro-hook Section */
.section--micro-hook {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.micro-hook {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    font-style: italic;
    margin: 0;
}

/* Section Lead Text */
.section__lead {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    display: inline-block;
    text-align: left;
}

.benefits-list li {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    padding: var(--space-xs) 0;
    margin: 0;
}

.benefits-list li strong {
    color: var(--color-accent);
    font-weight: 500;
}

.section__bridge {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-style: italic;
}

/* Hook Icon */
.hook__icon {
    margin-bottom: var(--space-md);
}

.hook__icon svg {
    stroke: var(--color-accent);
}

/* Hook Points with Icons */
.hook__points li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    border-left: none;
    padding: var(--space-sm) var(--space-md);
}

.hook__point-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.hook__points li:last-child .hook__point-icon {
    color: var(--color-whatsapp);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.benefit-card {
    background-color: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-card__icon {
    margin-bottom: var(--space-md);
}

.benefit-card__icon svg {
    stroke: var(--color-accent);
}

.benefit-card__title {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.benefit-card__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Responsive: Benefits Grid */
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* WhatsApp Button */
.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    color: white;
}

.btn__icon {
    flex-shrink: 0;
}

/* Large Button Variant */
.btn--large {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Final CTA Section */
.cta--final {
    padding: var(--space-xxl) 0;
    background: linear-gradient(180deg, var(--color-bg-section) 0%, var(--color-bg-dark) 100%);
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-md);
}

/* Page Header */
.page-header {
    padding: var(--space-xxl) 0 var(--space-lg);
    text-align: center;
    position: relative;
}

.page-header__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.page-header__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-header__title {
    margin-bottom: var(--space-sm);
}

.page-header__subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Split Section */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Mobile: Image always appears first for better visual hierarchy */
.split__visual {
    order: -1;
}

.split__content {
    order: 1;
}

/* Desktop: Restore normal order */
@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }

    .split__visual {
        order: unset;
    }

    .split__content {
        order: unset;
    }

    .split--reverse .split__content {
        order: 2;
    }

    .split--reverse .split__visual {
        order: 1;
    }
}

.split__visual {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--color-bg-card);
}

.split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* 5-column grid for full product lineup */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid--five {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .product-grid--five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid--five {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    background-color: var(--color-bg-card);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-smooth);
}

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

.product-card__image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--color-bg-section);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__content {
    padding: var(--space-md);
}

.product-card__title {
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.product-card__description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}


/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.comparison-card {
    background-color: var(--color-bg-card);
    padding: var(--space-md);
    border-radius: 4px;
}

.comparison-card--highlight {
    border: 1px solid var(--color-accent);
}

.comparison-card__title {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.client-item {
    background-color: var(--color-bg-card);
    padding: var(--space-md);
    border-radius: 4px;
    text-align: center;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-section);
}

.cta__title {
    margin-bottom: var(--space-sm);
}

.cta__text {
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg-dark);
}

.btn--outline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn--outline:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

/* Forms */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info */
.contact-info {
    margin-top: var(--space-lg);
}

.contact-info__item {
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.contact-info__label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Cards Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card--primary {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.05) 100%);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-card--primary:hover {
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
}

.contact-card__icon {
    margin-bottom: var(--space-md);
}

.contact-card__icon svg {
    stroke: var(--color-accent);
}

.contact-card--primary .contact-card__icon svg {
    fill: var(--color-whatsapp);
    stroke: none;
}

.contact-card__title {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.contact-card__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.contact-card__cta {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
}

.contact-card--primary .contact-card__cta {
    color: var(--color-whatsapp);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile contact card fixes */
@media (max-width: 767px) {
    .contact-grid {
        padding: 0 var(--space-sm);
    }

    .contact-card {
        padding: var(--space-md);
    }

    .contact-card__text {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .contact-card__title {
        font-size: 1.1rem;
    }
}


/* Footer */
.site-footer {
    background-color: var(--color-bg-section);
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
    text-align: center;
}

.site-footer__nav {
    margin-bottom: var(--space-md);
}

.site-footer__nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
}

.site-footer__nav a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.site-footer__nav a:hover {
    color: var(--color-text-primary);
}

.site-footer__copy {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Image Container (Safe for responsive) */
.image-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.mb-0 {
    margin-bottom: 0;
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

/* Responsive: Tablet and up */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

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

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

    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Desktop */
@media (min-width: 1024px) {
    .section {
        padding: var(--space-xxl) 0;
    }

    .client-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Menu Open State */
.main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--color-bg-section);
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.main-nav.is-open ul {
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Gradient Overlay (luxury readability fix) */
.hero__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.6),
            rgba(10, 10, 10, 0.85));
}

/* Page Header Gradient Overlay */
.page-header__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.5),
            rgba(10, 10, 10, 0.8));
}

/* Scroll margin for fixed header */
section {
    scroll-margin-top: 100px;
}

/* Product Card Image Hover (luxury polish) */
.product-card__image img {
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

/* Split Visual Image Hover */
.split__visual img {
    transition: transform 0.4s ease;
}

.split__visual:hover img {
    transform: scale(1.02);
}

/* Mobile hero height adjustment */
@media (max-width: 767px) {
    .hero {
        min-height: 85vh;
    }

    .page-header {
        padding: var(--space-xl) 0 var(--space-md);
    }

    .logo {
        height: 40px;
    }
}

/* ==========================================
   LUXURY ANIMATIONS & INTERACTIONS
   ========================================== */

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-md);
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    text-decoration: none;
}

.floating-whatsapp.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Floating button pulse animation */
.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    opacity: 0;
    z-index: -1;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Scroll Reveal Animations */
.reveal {
    /* Keep content visible by default so product cards/sections never appear as
       empty black space while scroll-triggered JS is waiting to run. */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered animation for child elements */
.product-card.reveal:nth-child(1) {
    transition-delay: 0s;
}

.product-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.product-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.hook__points li.reveal:nth-child(1) {
    transition-delay: 0s;
}

.hook__points li.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.hook__points li.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.client-item.reveal:nth-child(1) {
    transition-delay: 0s;
}

.client-item.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.client-item.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.client-item.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* Enhanced Button Hover States */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Refined Link Underline Animation */
.main-nav a::after,
.site-footer__nav a::after {
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Lift Effect */
.product-card,
.comparison-card,
.client-item {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover,
.comparison-card:hover,
.client-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Content Entrance */
.hero__content {
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__eyebrow {
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.hero__title {
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    opacity: 0;
}

.hero__subtitle {
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    opacity: 0;
}

.hero__intro {
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
    opacity: 0;
}

.hero__cta-group {
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    opacity: 0;
}

/* Smooth Section Transitions */
.section {
    position: relative;
}

/* Premium Focus States (Accessibility + Polish) */
.btn:focus-visible,
.form__input:focus-visible,
.form__textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Logo Subtle Hover */
.logo {
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* Image Reveal on Load */
.hero__background img,
.page-header__background img {
    transition: opacity 1s ease, transform 0.6s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .floating-whatsapp {
        opacity: 1;
        transform: scale(1);
    }
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@300;400;500&display=swap');