/* 
   ==========================================================================
   CSS DESIGN SYSTEM - MINIMALIST LUXURY CHRISTIAN LANDING PAGE
   ==========================================================================
*/

:root {
    /* Color Palette - Celestial Midnight Navy (matching Imagem-junho.png) */
    --color-white: #040714;           /* Obsidian Midnight Navy background */
    --color-ivory: #090D22;           /* Deep celestial blue background */
    --color-card-bg: #0E142F;         /* Dark navy card background */
    --color-gold-soft: #D4AF37;       /* Soft luxury gold */
    --color-gold-deep: #B68C2A;       /* Deep luxury gold */
    --color-text-primary: #F5F7FA;    /* Off-white celestial light text */
    --color-text-muted: #9099B0;      /* Elegant cool gray/blue text */
    --color-border-gold: rgba(212, 175, 55, 0.25);
    --color-border-light: rgba(212, 175, 55, 0.15);
    --color-shadow: rgba(0, 0, 0, 0.6);
    --color-shadow-hover: rgba(212, 175, 55, 0.08);

    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-xxl: 120px;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 19px; /* Increased base font size for elderly accessibility */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-white);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Base Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.text-serif {
    font-family: var(--font-serif);
}

p {
    font-weight: 400; /* Increased font weight for better readability/contrast */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-medium {
    max-width: 760px;
}

.container-narrow {
    max-width: 600px;
}

/* Ambient Glowing Background (Luxury rays) & Particles */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Falling Gold Particles */
.gold-particle {
    position: absolute;
    background-color: var(--color-gold-soft);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.3px);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
    animation: fall-and-sway linear infinite;
}

@keyframes fall-and-sway {
    0% {
        transform: translateY(-50px) translateX(0) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.45;
    }
    85% {
        opacity: 0.45;
    }
    100% {
        transform: translateY(110vh) translateX(40px) scale(1.2);
        opacity: 0;
    }
}

/* Distribute particles across screen with variations in size, animation duration, delay, and position */
.p1 { left: 8%; width: 2.5px; height: 2.5px; animation-duration: 11s; animation-delay: 0s; }
.p2 { left: 22%; width: 3.5px; height: 3.5px; animation-duration: 15s; animation-delay: 3s; }
.p3 { left: 38%; width: 2px; height: 2px; animation-duration: 9s; animation-delay: 1.5s; }
.p4 { left: 52%; width: 4.5px; height: 4.5px; animation-duration: 19s; animation-delay: 5s; filter: blur(0.8px); }
.p5 { left: 68%; width: 2.5px; height: 2.5px; animation-duration: 13s; animation-delay: 0.5s; }
.p6 { left: 82%; width: 3.5px; height: 3.5px; animation-duration: 17s; animation-delay: 2.2s; }
.p7 { left: 16%; width: 2.2px; height: 2.2px; animation-duration: 12s; animation-delay: 4.5s; }
.p8 { left: 46%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 6.2s; }
.p9 { left: 61%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 1s; }
.p10 { left: 91%; width: 2px; height: 2px; animation-duration: 10s; animation-delay: 3.8s; }

.glow-ray-1 {
    position: absolute;
    top: -10%;
    left: 15%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    animation: pulse-ray 12s infinite alternate ease-in-out;
}

.glow-ray-2 {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.08) 0%, transparent 70%); /* Deep celestial blue glow */
    filter: blur(100px);
    animation: pulse-ray-reverse 18s infinite alternate ease-in-out;
}

@keyframes pulse-ray {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(50px) scale(1.1); opacity: 1; }
}

@keyframes pulse-ray-reverse {
    0% { transform: translateY(0) scale(1.1) rotate(0deg); opacity: 0.7; }
    100% { transform: translateY(-80px) scale(0.95) rotate(15deg); opacity: 1; }
}

/* Custom Selection Style */
::selection {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-text-primary);
}

/* Screen-reader-only utility for SEO heading structure compliance */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Divider */
.golden-divider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--space-md);
}

.golden-divider {
    position: relative;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-soft), transparent);
}

.divider-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gold-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px; /* Larger click target */
    font-family: var(--font-sans);
    font-size: 1.05rem; /* Larger font size */
    font-weight: 600; /* Bolder for readability */
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-gold-soft);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.05);
    animation: cta-pulse 2.2s infinite ease-in-out;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gold-soft);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-white);
    border-color: var(--color-gold-deep);
    box-shadow: 0 8px 30px rgba(182, 140, 42, 0.25);
    transform: translateY(-2px) scale(1.03);
    animation-play-state: paused;
}

.btn-primary:hover::before {
    opacity: 1;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 8px 30px rgba(182, 140, 42, 0.35),
                    0 0 15px rgba(212, 175, 55, 0.2);
        border-color: var(--color-gold-deep);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
    }
}

.btn-secondary {
    background-color: var(--color-gold-deep);
    color: var(--color-white);
    border: 1px solid var(--color-gold-deep);
    box-shadow: 0 4px 20px rgba(182, 140, 42, 0.15);
}

.btn-secondary:hover {
    background-color: #9c751e;
    border-color: #9c751e;
    box-shadow: 0 8px 30px rgba(182, 140, 42, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Spinner for loading state */
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   HERO SECTION & FULL-WIDTH BANNER
   ========================================================================== */
.hero-banner-fullwidth {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--color-white);
}

.hero-banner-fullwidth::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px; /* Increased height for a very smooth and gradual fade */
    background: linear-gradient(to bottom, rgba(4, 7, 20, 0) 0%, var(--color-white) 100%);
    pointer-events: none;
    z-index: 2; /* Set higher than image to overlay properly */
}

.hero-banner-fullwidth .hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1; /* Stacking context base */
}

.hero-section {
    position: relative;
    padding: var(--space-xl) 0 var(--space-md);
    text-align: center;
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
}

.scripture-box {
    margin: var(--space-md) 0;
    padding: 0 var(--space-lg);
    position: relative;
}

.scripture-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem); /* Larger scripture text */
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.scripture-reference {
    font-family: var(--font-sans);
    font-size: 0.95rem; /* Larger reference */
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
    display: block;
}

.hero-support-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

/* Hero Video Frame & Glow (Ref. Second Photo) */
.hero-video-wrapper {
    width: 100%;
    max-width: 720px;
    margin: -22vw auto var(--space-lg); /* raised significantly to overlap higher up in the banner's glow */
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.video-gold-frame {
    background: linear-gradient(135deg, #B68C2A 0%, #FAF7F0 50%, #D4AF37 100%);
    padding: 10px; /* Thick luxury frame border */
    border-radius: 12px;
    box-shadow: 0 0 45px rgba(212, 175, 55, 0.4), 
                0 20px 50px rgba(42, 36, 26, 0.1);
    transition: var(--transition-smooth);
}

.video-gold-frame:hover {
    box-shadow: 0 0 60px rgba(182, 140, 42, 0.65), 
                0 25px 60px rgba(42, 36, 26, 0.15);
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    background-color: #111;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

/* ==========================================================================
   SECTION 2: WORD SECTION
   ========================================================================== */
.word-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-ivory);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gold-deep);
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.word-content {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.word-lead {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.word-paragraph {
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.word-emphasis {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-gold-deep);
    margin-top: var(--space-md);
    font-weight: 400;
}

/* ==========================================================================
   SECTION 3: PRAYER FORM
   ========================================================================== */
.form-section {
    padding: var(--space-lg) 0 var(--space-md); /* Reduced bottom padding */
    position: relative;
    z-index: 1;
}

.prayer-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: var(--space-lg) var(--space-md);
    box-shadow: 0 20px 50px var(--color-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .prayer-card {
        padding: var(--space-xl) var(--space-lg);
    }
}

.prayer-card:hover {
    box-shadow: 0 30px 60px var(--color-shadow-hover);
    border-color: rgba(212, 175, 55, 0.25);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-soft), transparent);
}

.prayer-card-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.card-icon {
    display: inline-flex;
    color: var(--color-gold-deep);
    margin-bottom: var(--space-sm);
}

.card-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.card-subtitle {
    font-size: 1.05rem; /* Larger font size */
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Form Fields */
.prayer-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.95rem; /* Larger labels */
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 1.15rem; /* Larger input text */
    padding: 14px 18px; /* Larger tap target */
    background-color: #0C112C; /* Midnight navy background */
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
    outline: none;
    font-weight: 400; /* Regular weight for better readability */
}

.form-input::placeholder {
    color: #5E6988; /* Cool celestial gray-blue */
    opacity: 0.7;
}

.form-input:focus {
    border-color: var(--color-gold-soft);
    background-color: #121A40; /* Slightly lighter navy */
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.08);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Error States */
.form-group.invalid .form-input {
    border-color: #C5A059; /* Soft dark gold for errors instead of jarring primary red */
    background-color: rgba(197, 160, 89, 0.06);
}

.form-error-msg {
    font-size: 0.75rem;
    color: #B68C2A;
    margin-top: 4px;
    display: none;
}

.form-group.invalid .form-error-msg {
    display: block;
}

/* Form Success State */
.form-success-container {
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    animation: fade-in 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.success-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-ivory);
    border: 1px solid var(--color-border-light);
    color: var(--color-gold-deep);
    margin-bottom: var(--space-md);
}

.success-icon {
    width: 32px;
    height: 32px;
}

.success-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.success-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   SECTION 4: DONATION SECTION
   ========================================================================== */
.donation-section {
    padding: var(--space-md) 0; /* Reduced top/bottom padding to remove huge gaps */
    background-color: var(--color-ivory);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    font-weight: 300;
}

/* Payment Cards Grid */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: left;
}

@media (min-width: 768px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.payment-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: var(--space-md);
    box-shadow: 0 10px 30px var(--color-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--color-shadow-hover);
    border-color: var(--color-gold-soft);
}

/* Highlight the primary PIX option */
.main-payment-card {
    border: 1px solid var(--color-gold-soft);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.08);
}

.card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background-color: var(--color-gold-deep);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.payment-icon {
    display: inline-flex;
    color: var(--color-gold-deep);
    align-items: center;
}

.payment-logo {
    height: 120px; /* Increased to fill the card header area nicely */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.payment-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.payment-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.payment-field-label {
    font-family: var(--font-sans);
    font-size: 0.85rem; /* Larger field label */
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.payment-field-value {
    font-size: 1.05rem; /* Larger field value */
    color: var(--color-text-primary);
    font-weight: 500;
    word-break: break-all;
}

.font-medium {
    font-weight: 500;
}

.bank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }

.payment-note {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: auto;
}

/* Copy Clipboard Elements */
.copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-ivory);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    padding: 4px 8px;
    margin-top: 4px;
}

.copy-value {
    font-size: 0.95rem; /* Larger values */
    color: var(--color-text-primary);
    font-weight: 500;
}

.copy-value.text-small {
    font-size: 0.85rem; /* Larger small values */
}

.btn-copy {
    background: none;
    border: none;
    color: var(--color-gold-deep);
    font-family: var(--font-sans);
    font-size: 0.85rem; /* Larger copy button text */
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 10px; /* Larger tap targets */
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    color: var(--color-text-primary);
    background-color: rgba(212, 175, 55, 0.08);
}

.btn-copy svg {
    transition: var(--transition-fast);
}

.btn-copy.success {
    color: var(--color-gold-soft);
}

/* ==========================================================================
   SECTION 5: FINAL CALL
   ========================================================================== */
.final-section {
    padding: var(--space-xl) 0 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.final-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: 0 var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .final-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        text-align: left;
    }
}

.final-content {
    flex: 1;
    max-width: 600px;
    padding-bottom: var(--space-xl);
}

@media (max-width: 767px) {
    .final-content {
        text-align: center;
        padding-bottom: 0;
    }
}

.final-headline {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.final-actions {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .final-actions {
        justify-content: center;
    }
}

.final-image-wrapper {
    flex: 1.2;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 0;
}

.final-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

@media (max-width: 767px) {
    .final-image-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-lg) 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.footer-link {
    color: var(--color-gold-deep);
    font-weight: 500;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

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

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered Reveal styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
