/* ============================================
   LUXURY MINIMAL ADS AGENCY - ENHANCED STYLESHEET
   With elegant background effects and animations
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

/* Elegant gradient background with subtle animation */
body {
    background: linear-gradient(135deg, #f3efe9 0%, #faf8f5 50%, #f5f2ed 100%);
    background-attachment: fixed;
    color: #17284c;
    font-family: 'Lora', serif;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ============================================
   ANIMATED BACKGROUND ELEMENTS
   ============================================ */

/* Floating circle 1 - Top right */
body::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 30% 40%, rgba(23, 40, 76, 0.04) 0%, rgba(23, 40, 76, 0.01) 40%, transparent 50%);
    border-radius: 50%;
    animation: floatCircle1 25s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Floating circle 2 - Bottom left */
body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 60% 50%, rgba(23, 40, 76, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatCircle2 30s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatCircle1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-30px, 30px);
    }
    50% {
        transform: translate(-50px, 0);
    }
    75% {
        transform: translate(-20px, -40px);
    }
}

@keyframes floatCircle2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(40px, -30px);
    }
    50% {
        transform: translate(60px, 0);
    }
    75% {
        transform: translate(30px, 50px);
    }
}

/* Container - Main Wrapper */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* ============================================
   HERO SECTION WITH ENHANCED STYLING
   ============================================ */

.hero-section {
    width: 100%;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23, 40, 76, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 90%;
    margin: 0 auto;
    color: #17284c;
    opacity: 0;
    animation: fadeInUpEnhanced 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    will-change: opacity, transform;
    text-shadow: 0 2px 8px rgba(23, 40, 76, 0.05);
}

/* ============================================
   VIDEO SECTION WITH ENHANCED EFFECTS
   ============================================ */

.video-section {
    width: 100%;
    max-width: 720px;
    opacity: 0;
    animation: fadeInUpEnhanced 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
    will-change: opacity, transform;
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 50% 50%, rgba(23, 40, 76, 0.08) 0%, transparent 70%);
    border-radius: 16px;
    z-index: -1;
    animation: pulseGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #17284c 0%, #1f3458 100%);
    box-shadow: 0 8px 32px rgba(23, 40, 76, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.video-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-frame:hover {
    box-shadow: 0 16px 48px rgba(23, 40, 76, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.video-frame:hover::before {
    opacity: 1;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #17284c 0%, #1f3458 50%, #15233f 100%);
}

/* Premium gradient overlay on video */
.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Play Button with enhanced styling */
.play-button {
    width: 80px;
    height: 80px;
    background: rgba(243, 239, 233, 0.15);
    border: 2px solid #f3efe9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(23, 40, 76, 0.1);
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(243, 239, 233, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.play-button:hover {
    background: rgba(243, 239, 233, 0.25);
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(23, 40, 76, 0.2);
}

.play-button:hover::before {
    opacity: 1;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid #f3efe9;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 4px;
    transition: border-left-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.play-button:hover::after {
    border-left-color: #f3efe9;
}

/* ============================================
   CTA SECTION WITH ENHANCED STYLING
   ============================================ */

.cta-section {
    width: 100%;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(23, 40, 76, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.cta-button {
    padding: 16px 48px;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #17284c 0%, #1f3458 100%);
    color: #f3efe9;
    border: 2px solid #17284c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation: fadeInUpEnhanced 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
    will-change: opacity, transform, background, box-shadow;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(23, 40, 76, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1f3458 0%, #172846 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(23, 40, 76, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: #1f3458;
}

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

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button:focus {
    outline: 2px solid #17284c;
    outline-offset: 4px;
}

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */

@keyframes fadeInUpEnhanced {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle staggered animation for repeated elements */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .container {
        gap: 3rem;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
        max-width: 95%;
    }

    .video-section {
        max-width: 100%;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 15px;
    }

    body::before {
        width: 400px;
        height: 400px;
        top: -80px;
        right: -40px;
    }

    body::after {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: -50px;
    }
}

@media (max-width: 480px) {
    .container {
        gap: 2.5rem;
        padding: 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.8rem);
        max-width: 100%;
    }

    .video-section {
        max-width: 100%;
    }

    .video-frame {
        aspect-ratio: 16 / 9;
    }

    .cta-button {
        padding: 12px 32px;
        font-size: 14px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button::after {
        border-left: 18px solid #f3efe9;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
    }

    body::before {
        width: 300px;
        height: 300px;
        top: -100px;
    }

    body::after {
        width: 280px;
        height: 280px;
        bottom: -80px;
        left: -60px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .video-section,
    .cta-button {
        animation: none;
        opacity: 1;
    }

    .cta-button,
    .play-button,
    .video-frame,
    body::before,
    body::after {
        transition: none;
        animation: none;
    }
}

/* Keyboard navigation focus styles */
.cta-button:focus-visible {
    outline: 3px solid #17284c;
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .cta-button {
        display: none;
    }

    body::before,
    body::after {
        display: none;
    }
}
