/* =============================================
   GOUTAGO WEBSITE - CUSTOM STYLES
   Architecture MVC - PHP + Bootstrap 5
   ============================================= */

/* ============= ROOT VARIABLES ============= */
:root {
    /* Brand Colors */
    --color-primary: #fa5b0f;
    --color-secondary: #28235b;
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #fa5b0f 0%, #ff7e3f 100%);
    --gradient-secondary: linear-gradient(135deg, #28235b 0%, #3a3575 100%);
    
    /* Shadows - Reduced for cleaner look */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(250, 91, 15, 0.15);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

.font-galindo {
    font-family: 'Galindo', cursive !important;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    overflow: hidden;
}

/* ============= UTILITY CLASSES ============= */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--color-white);
    font-weight: 500;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #ff6520 0%, #ff8f50 100%);
}

.btn-outline-primary {
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
    transition: var(--transition-base);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============= NAVBAR ============= */
.navbar {
    padding: 1rem 0;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar .nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition-base);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-primary);
    background-color: rgba(250, 91, 15, 0.1);
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.navbar .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition-base);
}

.navbar .dropdown-item:hover {
    background-color: rgba(250, 91, 15, 0.1);
    color: var(--color-primary);
}

/* ============= HERO SECTION ============= */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(250, 91, 15, 0.05) 0%, rgba(40, 35, 91, 0.05) 100%);
    position: relative;
    overflow: visible;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-section h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 2rem;
}

.hero-section .btn {
    margin: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666666;
    font-weight: 500;
    margin: 0;
}

.hero-phone-mockup {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-phone-mockup img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

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

/* ============= FEATURES SECTION ============= */
.feature-card {
    transition: var(--transition-base);
    border-radius: 16px;
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 91, 15, 0.1);
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666666;
    margin: 0;
}

/* ============= USER TYPES SECTION ============= */
.user-type-section {
    padding: 80px 0;
}

.user-type-image {
    position: relative;
}

.user-type-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.user-type-image:hover img {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.user-type-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.user-type-content .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefit-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    color: #555555;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* ============= PAGE HEADER ============= */
.page-header {
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(250, 91, 15, 0.9) 0%, rgba(255, 126, 63, 0.9) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--color-white) !important;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ============= MISSION SECTION ============= */
.mission-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.mission-content h2 {
    margin-bottom: 1.5rem;
}

.mission-content .lead {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============= VALUE CARD ============= */
.value-card {
    transition: var(--transition-base);
    border-radius: 16px;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon i {
    color: var(--color-primary);
}

/* ============= TIMELINE ============= */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-white);
}

.timeline-content {
    width: 45%;
    margin: 0 2.5%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

/* ============= PARTNER CARD ============= */
.partner-card {
    transition: var(--transition-base);
    border-radius: 16px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============= CONTACT CARD ============= */
.contact-card {
    transition: var(--transition-base);
    border-radius: 16px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card .contact-icon i {
    color: var(--color-primary);
}

.contact-card a {
    transition: var(--transition-base);
}

.contact-card:hover a {
    color: var(--color-primary) !important;
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ============= SUPPORT CARD ============= */
.support-card {
    transition: var(--transition-base);
    border-radius: 16px;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon i {
    color: var(--color-primary);
}

/* ============= CONTACT FORM ============= */
.contact-form-card {
    border-radius: 20px;
    overflow: hidden;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(250, 91, 15, 0.15);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* ============= FAQ ACCORDION ============= */
.accordion-item {
    border: none !important;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-radius: 12px !important;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(250, 91, 15, 0.05);
    color: var(--color-primary);
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 1.5rem;
}

/* ============= CTA SECTION ============= */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

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

/* ============= FOOTER ============= */
footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

footer .store-badge {
    transition: var(--transition-base);
    opacity: 0.9;
}

footer .store-badge:hover {
    opacity: 1;
    transform: translateY(-3px);
}

footer h5 {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

footer a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

footer .footer-link {
    display: block;
    padding: 0.5rem 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 0.75rem;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* ============= RESPONSIVE STYLES ============= */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .user-type-content h3 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0 !important;
    }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============= LOADING ANIMATION ============= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(250, 91, 15, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============= PAYMENT METHODS CARDS ============= */
.payment-method-card {
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.payment-method-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.payment-method-img {
    transition: var(--transition-base);
}

.payment-method-card:hover .payment-method-img {
    transform: scale(1.1);
}

/* ============= HOVER LIFT EFFECT ============= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* ============= SMART DOWNLOAD BUTTON ============= */
button[data-smart-download] {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

button[data-smart-download]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

button[data-smart-download]:active {
    transform: translateY(0);
}
