/* Dividend Theme Variables */
:root {
    --dividend-primary: #0369a1;
    --dividend-secondary: #dc2626;
    --dividend-accent: #15803d;
    --dividend-gold: #b45309;
    --dividend-dark: #1e293b;
    --dividend-light: #f8fafc;
}

/* Custom Animations */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(3, 105, 161, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(3, 105, 161, 0);
    }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scale-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Text Effects */
.gradient-text-animated {
    background: linear-gradient(-45deg, var(--dividend-primary), var(--dividend-secondary), var(--dividend-accent), var(--dividend-gold));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

/* Section Backgrounds */
.hero-background-overlay {
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.95) 0%, rgba(21, 128, 61, 0.85) 100%);
}

/* Cards and Components */
.feature-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.dark .feature-card-enhanced {
    background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
}

.testimonial-card-premium {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid var(--dividend-primary);
}

.dark .testimonial-card-premium {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-left-color: #0ea5e9;
}

/* Button Styles */
.cta-button-primary {
    background: linear-gradient(135deg, var(--dividend-primary) 0%, #0c4a6e 50%, #0c4a6e 100%);
    box-shadow: 0 10px 25px rgba(3, 105, 161, 0.3);
    transition: all 0.3s ease;
}

.cta-button-primary:hover {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 50%, #0e7490 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(3, 105, 161, 0.4);
}

.cta-button-secondary {
    background: linear-gradient(135deg, var(--dividend-accent) 0%, #166534 50%, #1e40af 100%);
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.3);
}

.cta-button-secondary:hover {
    background: linear-gradient(135deg, #166534 0%, #1e3a8a 50%, var(--dividend-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(21, 128, 61, 0.4);
}

.floating-whatsapp-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* Risk Disclosure */
.risk-disclosure-section {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
}

.dark .risk-disclosure-section {
    background: linear-gradient(145deg, #7f1d1d 0%, #991b1b 100%);
    border-color: #dc2626;
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0c4a6e;
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-text {
    margin-bottom: 15px;
    font-size: 16px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cookie-btn-accept {
    background-color: var(--dividend-accent);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #166534;
}

.cookie-btn-decline {
    background-color: #6b7280;
    color: white;
}

.cookie-btn-decline:hover {
    background-color: #4b5563;
}

.cookie-link {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #3b82f6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cookie-text {
        font-size: 14px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Additional responsive adjustments for mobile */
    .gradient-text-animated {
        font-size: 1.5rem;
    }
    
    .feature-card-enhanced {
        margin-bottom: 1rem;
    }
    
    .testimonial-card-premium {
        margin-bottom: 1rem;
    }
}

/* Scroll Animations */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode Enhancements */
.dark body {
    background-color: var(--dividend-dark);
    color: #e2e8f0;
}

.dark .bg-white {
    background-color: #1f2937;
}

.dark .text-gray-600 {
    color: #94a3b8;
}

.dark .text-gray-700 {
    color: #cbd5e1;
}

.dark .text-black-700 {
    color: #000;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve accessibility */
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--dividend-primary);
    outline-offset: 2px;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}