/*
 * Front Page Styles — Giftcard AI Theme v2.0
 * Minimalist High-Contrast redesign (SSENSE-inspired).
 * Replaces previous glassmorphism approach.
 */


/* ==========================================================================
   1. Hero Section — Asymmetric Split Layout
   ========================================================================== */

.hero-section {
    background: #fff;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #E5E5E5;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1fr;         /* Mobile: single column */
    align-items: center;
    gap: var(--space-10);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 60fr 40fr;  /* Desktop: 60/40 split */
        min-height: 88vh;
        gap: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ── Left: Typography Block ── */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 640px;
}

@media (min-width: 900px) {
    .hero-left {
        padding: var(--space-20) var(--space-12) var(--space-20) 0;
    }
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    margin: 0;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem); /* Fluid large type */
    font-weight: 800;
    line-height: 1.05;
    color: #0B0B0C;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-title em {
    font-style: normal;
    color: #0B0B0C;
    position: relative;
    display: inline-block;
}

/* Underline accent on italic */
.hero-title em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 3px;
    background: #0B0B0C;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── Sharp-edge Buttons (new button language) ── */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

.btn-sharp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 0;          /* ZERO border-radius — the "sharp" look */
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-sharp--dark {
    background: #0B0B0C;
    color: #fff;
    border: 2px solid #0B0B0C;
}

.btn-sharp--dark:hover {
    background: #2d2d2d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sharp--ghost {
    background: transparent;
    color: #0B0B0C;
    border: 2px solid #0B0B0C;
}

.btn-sharp--ghost:hover {
    background: #0B0B0C;
    color: #fff;
}

.btn-sharp--outline {
    background: transparent;
    color: #0B0B0C;
    border: 2px solid #0B0B0C;
}

.btn-sharp--outline:hover {
    background: #0B0B0C;
    color: #fff;
}

/* ── Trust mini-line ── */
.hero-trust-line {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #999;
    margin-top: var(--space-2);
}

.hero-trust-line span[aria-hidden] {
    font-size: 16px;
    color: #ccc;
}

/* ── Right: 3D Mockup Image ── */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) 0;
}

@media (min-width: 900px) {
    .hero-right {
        justify-content: flex-end;
        padding: var(--space-16) 0;
        border-left: 1px solid #E5E5E5;
        padding-left: var(--space-16);
    }
}

.hero-mockup-wrap {
    position: relative;
    width: min(420px, 90vw);
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.18));
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* Ambient purple glow */
.hero-mockup-glow {
    position: absolute;
    inset: 20% 10%;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}


/* ==========================================================================
   2. Trust Bar — Horizontal Strip
   ========================================================================== */

.trust-bar {
    background: #0B0B0C;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: var(--space-4) 0;
    overflow: hidden;
}

.trust-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-8);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ccc;
}

.trust-bar-item svg {
    color: #888;
    flex-shrink: 0;
}

.trust-bar-divider {
    width: 1px;
    height: 24px;
    background: #333;
    display: none;
}

@media (min-width: 640px) {
    .trust-bar-divider { display: block; }
}


/* ==========================================================================
   3. Featured Products — Strict CSS Grid
   ========================================================================== */

.featured-products {
    padding: var(--space-20) 0;
    background: #FAFAFA;
}

/* Wider container for products (max 1200px, centered) */
.fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0B0B0C;
    margin: 0 0 var(--space-2);
    line-height: 1.15;
}

.section-subtitle {
    font-size: var(--font-size-base);
    color: #888;
    margin: 0;
}

/* ── Product Grid ── */
.front-page-products {
    width: 100%;
}

/* Override WC defaults for front-page context */
.front-page-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (min-width: 600px) {
    .front-page-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .front-page-products ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Cards inherit from woocommerce.css gcat-product-card — only override ratio */
.front-page-products .gcat-product-card {
    aspect-ratio: 4 / 5;   /* 4:5 portrait — slender & luxe */
}

/* ── View All ── */
.fp-view-all {
    text-align: center;
    margin-top: var(--space-12);
    margin-bottom: var(--space-8);
}


/* ==========================================================================
   4. Trust & How It Works Section
   ========================================================================== */

.trust-how-section {
    background: #0B0B0C;
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
}

.trust-how-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: 1fr;          /* Mobile: stacked */
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .trust-how-inner {
        grid-template-columns: 40fr 60fr; /* Desktop: 40/60 split */
        gap: var(--space-16);
        align-items: center;
    }
}

/* ── Left: Guarantee Text ── */
.trust-how-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding-right: 0;
}

@media (min-width: 768px) {
    .trust-how-left {
        padding-right: var(--space-8);
        border-right: 1px solid #222;
    }
}

.trust-how-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #555;
    margin: 0;
}

.trust-how-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin: 0;
}

.trust-how-body {
    font-size: var(--font-size-base);
    color: #777;
    line-height: 1.8;
    margin: 0;
    max-width: 380px;
}

/* ── Right: 3 Columns horizontal ── */
.trust-how-right-cols {
    display: grid;
    grid-template-columns: 1fr;     /* mobile: stacked */
    gap: var(--space-8);
}

@media (min-width: 600px) {
    .trust-how-right-cols {
        grid-template-columns: repeat(3, 1fr);  /* horizontal columns */
        gap: var(--space-6);
    }
}

.trust-step {
    display: flex;
    flex-direction: column;   /* icon on top, text below (card style) */
    align-items: flex-start;
    gap: var(--space-4);
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 2px;
    padding: var(--space-6);
}

/* Remove old separator — layout now uses equal columns */
.trust-step + .trust-step {
    padding-top: var(--space-6);
    border-top: none;
}

.trust-step-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    color: #fff;
    background: #0B0B0C;
}

.trust-step-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.trust-step-title {
    font-size: var(--font-size-base);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.2;
}

.trust-step-desc {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: 1.65;
    margin: 0;
}
