/* Humariq Landing Page Styles */

:root {
    /* Primary Colors */
    --primary-yellow: #FFD700;
    --primary-hover: #FFC700;
    --primary-cyan: #4AB8C8;
    --primary-gold: #FFB84D;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --text-light: #707070;

    /* Backgrounds */
    --black: #000000;
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #1A1A1A;
    --bg-hover: #2A2A2A;
    --bg-light: #F5F5F5;

    /* Borders */
    --border-color: #333333;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(255, 215, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(255, 215, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(255, 215, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(255, 215, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--black);
}

/* Sections base styles */
section {
    /* Natural scrolling - no snap */
}

/* Scroll-triggered fade-in animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Humariq-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Logo wrapper for glow effect */
.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    opacity: 0;
    animation: elegantReveal 1.2s ease-out forwards;
}

/* Elegant entrance animations */
@keyframes elegantReveal {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Hidden - no longer using separate glow element */
.hero-glow {
    display: none;
}

.hero-logo {
    position: relative;
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(74, 184, 200, 0.5));
    z-index: 1;
    animation: logoShimmer 1.5s ease-out forwards;
    animation-delay: 1.4s;
}

@keyframes logoShimmer {
    0% {
        filter: drop-shadow(0 0 30px rgba(74, 184, 200, 0.5)) brightness(1);
    }
    30% {
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) brightness(1.3);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(74, 184, 200, 0.5)) brightness(1);
    }
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 184, 77, 0.3);
    margin-top: -3rem;
    opacity: 0;
    animation: elegantFadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pronunciation guide */
.pronunciation {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.15em;
    font-style: italic;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission Section */
.mission {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--black);
    padding: 4rem 0;
}

.mission .container {
    max-width: 900px;
}

.mission .section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--black);
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #333;
}

/* Products Section */
.products {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.products .container {
    width: 100%;
}

.products .section-title {
    color: var(--text-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-yellow);
}

.product-card.featured {
    border: 2px solid var(--primary-yellow);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(74, 184, 200, 0.5));
}

.product-logo.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* Coming Soon card centered */
.product-card.coming-soon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100%;
}

.product-card.coming-soon .product-name {
    margin-bottom: 1.5rem;
}

.product-card.coming-soon .product-description {
    max-width: 300px;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-white);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}

.product-coming-soon {
    font-style: italic;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Combined Values + CTA Section */
.values-cta {
    min-height: auto;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
}

.values-cta .container {
    width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.value-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.value-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA area within combined section */
.cta-area {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-gray);
}

.link {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-yellow);
    color: var(--black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.cta-button.primary {
    margin-top: 1.5rem;
}

.arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: var(--black);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-brand {
    text-align: left;
    align-self: start;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(74, 184, 200, 0.3));
    display: block;
    margin-top: -0.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-logo {
        max-width: 400px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-text {
        font-size: 1.1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-button.large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .main-logo {
        max-width: 200px;
    }
}
