/* 
   Liquid Glass Hero Styles 
*/

:root {
    --bg-main: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-1: #ff9a9e;
    --accent-2: #a18cd1;
    --accent-3: #fad0c4;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    --blur-amount: 24px;
}

/* Typography */
.wp-block-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.display-text {
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95;
    margin-bottom: 2rem;
}

.display-text.large {
    font-size: clamp(4rem, 12vw, 9rem);
}

.display-text .line {
    display: block;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    /* min-height is handled by the block settings inline style */
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Default: Visual Left, Text Right */
    align-items: center;
    gap: 4rem;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section.right-visual {
    grid-template-columns: 1.2fr 0.8fr;
    /* Text Left, Visual Right */
}

.hero-content {
    padding: 0 2rem;
    /* Added margin/padding for text area */
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 480px;
    font-weight: 400;
}

/* Hero Visual 3D */
.hero-visual-3d {
    position: relative;
    height: 100%;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed Sphere Styles */

/* Glass Card Content */
.glass-card.small {
    width: 360px;
    /* Increased size from 280px */
    height: 480px;
    /* Increased height */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    position: relative;
    /* Changed from absolute to relative */
    top: auto;
    right: auto;
    transform: rotate(6deg);
    animation: floatCard 6s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.card-inner-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-inner-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(6deg);
    }

    50% {
        transform: translateY(-20px) rotate(6deg);
    }
}

/* Buttons - More Transparent */
.glass-button {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-button.primary {
    background: rgba(0, 0, 0, 0.75);
    /* Semi-transparent black */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.glass-button.primary:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.glass-button.glow-effect {
    position: relative;
    overflow: hidden;
}

.glass-button.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.glass-button.glow-effect:hover::after {
    opacity: 1;
    transform: scale(1);
}

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

    .hero-visual-3d {
        min-height: 300px;
        order: -1;
        /* Ensure visual is on top (though HTML order handles this now) */
    }

    .glass-card.small {
        width: 200px;
        height: 280px;
        /* No need for transform translate since it's relative now */
    }
}