:root {
    --primary: #1a1a1a;
    --secondary: #666;
    --accent: #d4a373;
    /* Sophisticated gold/tan accent */
    --background: #ffffff;
    --surface: #f9f9f9;
    --text: #1a1a1a;
    --text-muted: #666;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a,
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.2px;
}

.logo-icon {
    height: 48px;
    width: auto;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 17, 19, 0.1);
    transition: var(--transition);
}

.text-link:hover {
    border-bottom-color: var(--primary);
    color: var(--accent);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding-top: var(--header-height);
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #0f1113;
    /* Darker base for contrast */
    color: white;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 0 0.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-stock-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero.revealed .hero-stock-image {
    transform: scale(1);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(15, 17, 19, 0.4) 0%, rgba(15, 17, 19, 0) 100%);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Featured Product Section */
.featured-product {
    padding: 6rem 0;
    background: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.featured-image {
    background: #f9f9f9;
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.featured-info h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.featured-by {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.featured-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stock-note {
    font-size: 0.9rem;
    color: #e63946;
    font-weight: 600;
}

/* Snowfall Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 1;
    filter: blur(0.5px);
    /* Subtle dark shadow for visibility */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 3px rgba(0, 20, 20, 0.1);
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0);
    }

    100% {
        transform: translateY(105vh) translateX(20px);
    }
}

/* Trust Standard Section */
.trust-standard {
    padding: 1rem 0;
    background: #fdfdfd;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 5;
}

.section-subtitle {
    max-width: 700px;
    margin: -2rem auto 4rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Marquee Carousel */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
    background: #fdfdfd;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 4rem;
    flex-shrink: 0;
}

.marquee-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.pixel-icon {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.marquee-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-text b {
    color: var(--accent);
    margin-right: 0.5rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Products */
.products {
    padding: 8rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.product-card.highlight {
    border: 2px solid var(--accent);
    position: relative;
}

.choice-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(212, 163, 115, 0.3);
}

.product-image {
    aspect-ratio: 1;
    background-color: #f5f5f5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-variant {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-links {
    display: flex;
    gap: 1rem;
}

.shop-link {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.shop-link:hover {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stat-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 4rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .nav-links {
        display: none;
    }
}

/* Storytelling Section */
.storytelling {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.storytelling::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Promptly%20Yours%20Watermark_Web.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-out;
    pointer-events: none;
    z-index: 0;
}

.animate-story::before {
    opacity: 0.12;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-visual {
    position: relative;
    height: 400px;
    background: #f8f9fa;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.visual-stress-active,
.visual-promptly-solution {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-promptly-solution {
    opacity: 0;
    transform: scale(0.8);
}

.animate-story .visual-stress-active {
    opacity: 0;
    transform: scale(1.1);
}

.animate-story .visual-promptly-solution {
    opacity: 1;
    transform: scale(1);
}

/* Stressed Queue CSS */
.stress-group {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.stress-figure {
    width: 30px;
    background: #e9ecef;
    border-radius: 15px 15px 0 0;
    position: relative;
    animation: jitter 0.2s infinite alternate;
}

.stress-figure::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 2.5px;
    width: 25px;
    height: 25px;
    background: #dee2e6;
    border-radius: 50%;
}

.person-1 {
    height: 100px;
    animation-delay: 0.1s;
}

.person-2 {
    height: 80px;
    animation-delay: 0.3s;
}

.person-3 {
    height: 110px;
    animation-delay: 0.0s;
}

.person-4 {
    height: 90px;
    animation-delay: 0.2s;
}

.merchant-door {
    position: absolute;
    right: 40px;
    width: 80px;
    height: 140px;
    background: #343a40;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Solution Package CSS */
.promptly-package {
    position: relative;
    font-size: 80px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.package-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes jitter {
    from {
        transform: translateX(-1px);
    }

    to {
        transform: translateX(1px);
    }
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.story-content h2 {
    font-size: 3rem;
    margin: 20px 0;
    line-height: 1.1;
}

.story-lead {
    font-size: 1.25rem;
    color: #495057;
    margin-bottom: 40px;
}

.story-comparison {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comparison-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.comparison-item .icon {
    font-size: 24px;
    padding-top: 5px;
}

.comparison-item h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.comparison-item p {
    color: #6c757d;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .comparison-item {
        justify-content: center;
        text-align: left;
    }
}