/* Modern Hero Section Styles for Gira Menu - Purple & White Brand */

/* CSS Variables for Your Brand Colors */
:root {
    /* Your brand color palette */
    --brand-purple: #9747ff;
    --brand-purple-light: #b575ff;
    --brand-purple-lighter: #d4b3ff;
    --brand-purple-subtle: rgba(151, 71, 255, 0.1);
    --brand-purple-soft: rgba(151, 71, 255, 0.05);
    
    /* Text colors */
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Background colors */
    --bg-pure-white: #ffffff;
    --bg-light-gray: #fafbfc;
    --bg-purple-gradient: linear-gradient(135deg, #9747ff 0%, #b575ff 100%);
    
    /* Modern shadows with purple tint */
    --shadow-purple-soft: 0 4px 6px -1px rgba(151, 71, 255, 0.1), 0 2px 4px -1px rgba(151, 71, 255, 0.06);
    --shadow-purple-medium: 0 10px 15px -3px rgba(151, 71, 255, 0.15), 0 4px 6px -2px rgba(151, 71, 255, 0.1);
    --shadow-purple-large: 0 20px 25px -5px rgba(151, 71, 255, 0.2), 0 10px 10px -5px rgba(151, 71, 255, 0.1);
    
    /* Modern spacing */
    --radius-modern: 1.5rem;
    --spacing-modern: 2.5rem;
}

/* Modern Purple & White Hero Section */
.modern-hero-section {
    min-height: 100vh;
    background: var(--bg-pure-white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 3rem 0;
}

/* Purple accent background shape */
.modern-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-purple-soft) 0%, var(--brand-purple-subtle) 50%, transparent 100%);
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Floating purple decorative circle */
.modern-hero-section::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    background: var(--bg-purple-gradient);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 1;
    animation: floating-purple-decoration 10s ease-in-out infinite;
}

@keyframes floating-purple-decoration {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.08;
    }
    50% { 
        transform: translateY(-40px) scale(1.1);
        opacity: 0.12;
    }
}

.modern-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Modern Hero Content - Purple & White Theme */
.modern-hero-content {
    color: var(--text-primary);
}

.modern-hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-modern);
    color: var(--brand-purple);
    position: relative;
    text-shadow: 0 2px 4px rgba(151, 71, 255, 0.1);
    letter-spacing: -0.01em;
}

/* Enhanced purple styling for better readability */
.modern-hero-content h1 {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 50%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-modern);
    color: var(--brand-purple);
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
    opacity: 0.85;
}

/* Modern Typing Animation */
.modern-typing-container {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brand-purple);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    min-height: 2em;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.modern-typed-text {
    color: var(--brand-purple);
    font-weight: 500;
}

.modern-cursor {
    display: inline-block;
    background: var(--brand-purple);
    color: var(--brand-purple);
    margin-left: 0.1rem;
    width: 2px;
    font-weight: 400;
    animation: modernBlink 1.2s ease-in-out infinite;
}

.modern-cursor.typing {
    animation: none;
    opacity: 1;
}

@keyframes modernBlink {
    0%, 50% { 
        opacity: 1;
    }
    51%, 100% { 
        opacity: 0.3;
    }
}

/* Modern Button Container */
.hero-buttons-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Premium Purple Button */
.modern-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.3rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-modern);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Primary Button (Get Free Trial) */
.modern-button.primary,
.modern-button:not(.secondary) {
    /* Your brand purple gradient */
    background: var(--bg-purple-gradient);
    color: white;
    box-shadow: var(--shadow-purple-medium);
    transform: translateY(0);
}

/* Secondary Button (Watch Demo) */
.modern-button.secondary {
    background: transparent;
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
    box-shadow: none;
    transform: translateY(0);
}

.modern-button.secondary:hover {
    background: var(--brand-purple);
    color: white;
    box-shadow: var(--shadow-purple-medium);
    transform: translateY(-2px);
}

/* Button Icon Styling */
.button-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modern-button:hover .button-icon {
    transform: translateX(2px) scale(1.1);
}

/* Premium shine effect */
.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-purple-large);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #8a3ff7 0%, #a866ff 100%);
}

.modern-button:hover::before {
    left: 100%;
}

.modern-button:active {
    transform: translateY(-3px);
}

/* Modern Hero Image with Purple Accents */
.modern-hero-image {
    position: relative;
    text-align: center;
}

/* Purple accent background behind image */
.modern-hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: var(--brand-purple-soft);
    border-radius: 2.5rem;
    z-index: -1;
    transform: rotate(-2deg);
}

.modern-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    filter: drop-shadow(0 30px 60px rgba(151, 71, 255, 0.2));
    position: relative;
    z-index: 2;
    max-width: 90%;
}

/* Refined Purple-themed Floating Animation */
.floating-modern {
    animation: floating-purple 8s ease-in-out infinite;
}

@keyframes floating-purple {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

/* Smooth Purple-themed Entrance Animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeftPurple 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRightPurple 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInLeftPurple {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRightPurple {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .modern-hero-section {
        min-height: 90vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .modern-hero-section::before {
        width: 70%;
        clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    
    .modern-hero-section::after {
        width: 200px;
        height: 200px;
        top: 10%;
        right: 5%;
    }
    
    .modern-hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
        letter-spacing: -0.01em;
    }
    
    .modern-hero-content p {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .modern-typing-container {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons-container {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .modern-button {
        padding: 1.1rem 2.8rem;
        font-size: 1rem;
        width: 100%;
        max-width: 340px;
        gap: 0.5rem;
    }
    
    .button-icon {
        width: 18px;
        height: 18px;
    }
    
    .modern-hero-image img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .modern-hero-content h1 {
        font-size: 2.0rem;
        letter-spacing: -0.01em;
    }
    
    .modern-hero-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .modern-typing-container {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons-container {
        gap: 0.6rem;
    }
    
    .modern-button {
        padding: 1rem 2.2rem;
        font-size: 0.95rem;
        gap: 0.4rem;
    }
    
    .button-icon {
        width: 16px;
        height: 16px;
    }
    
    .modern-hero-section::after {
        width: 150px;
        height: 150px;
    }
}

/* Extra touches for premium feel */
.modern-hero-content {
    position: relative;
}

/* Subtle purple glow effect */
.modern-hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 30% 50%, var(--brand-purple-soft) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.3;
    border-radius: 3rem;
}
