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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Brand Colors Based on Consult Gapac */
:root {
    --primary-navy: #1B2951;
    --primary-orange: #E67E22;
    --secondary-orange: #D35400;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #495057;
    --white: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

/* TaxMate GPT Navigation Access Button */
.taxmate-access {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-orange) 100%) !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-decoration: none !important;
}

.taxmate-access:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(27, 41, 81, 0.4) !important;
    color: white !important;
}

/* User Settings Modal Styles */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: var(--primary-navy);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.setting-group select,
.setting-group input[type="text"],
.setting-group input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.setting-group select:focus,
.setting-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.setting-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.btn-danger {
    background: #ef4444 !important;
    color: white !important;
}

.btn-danger:hover {
    background: #dc2626 !important;
    color: white;
}

/* BIR Toolkit Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--primary-navy);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #fff5e6, #ffebe0);
    color: var(--primary-orange);
    transform: translateX(4px);
}

.dropdown-link i {
    width: 1.25rem;
    text-align: center;
    color: var(--primary-orange);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0;
        background: transparent;
    }
    
    .dropdown-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* BIR Toolkit Section Styles */
.bir-toolkit {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.toolkit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.toolkit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toolkit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
}

.toolkit-card:hover::before {
    opacity: 1;
}

.toolkit-card.primary {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, #fff5e6 0%, white 100%);
}

.toolkit-card.primary::before {
    opacity: 1;
}

.toolkit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.toolkit-icon i {
    font-size: 2rem;
    color: white;
}

.toolkit-card:hover .toolkit-icon {
    transform: scale(1.1) rotate(5deg);
}

.toolkit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.toolkit-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.toolkit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #fff3e0, #ffebe0);
    color: var(--primary-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.toolkit-btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.toolkit-btn:hover {
    transform: translateY(-2px);
}

.toolkit-notice {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary-navy), #2563eb);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.3);
}

.notice-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.notice-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.notice-content .btn {
    background: var(--primary-orange);
    border: none;
}

.notice-content .btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

/* Mobile responsiveness for toolkit */
@media (max-width: 768px) {
    .toolkit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .toolkit-card {
        padding: 1.5rem;
    }
    
    .toolkit-notice {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .notice-icon {
        font-size: 2.5rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(27, 41, 81, 0.08);
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 126, 34, 0.1);
}

.nav {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-text strong {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 500;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.brand-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--primary-orange);
    margin-left: 8px;
}

/* Hero Brand */
.hero-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: rgba(27, 41, 81, 0.05);
    border-radius: 20px;
    border: 2px solid var(--primary-orange);
    width: fit-content;
}

.hero-logo {
    width: 60px;
    height: 60px;
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 1rem;
    color: var(--primary-orange);
    margin: 0;
    font-weight: 500;
}

/* Section Brand */
.section-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50px;
    border: 1px solid var(--primary-orange);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-logo {
    width: 30px;
    height: 30px;
}

.section-brand-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

/* Company Badge in Hero */
.company-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: rgba(27, 41, 81, 0.1);
    border-radius: 50px;
    border: 2px solid var(--primary-orange);
    width: fit-content;
}

.company-logo {
    width: 60px;
    height: auto;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 2px;
}

.logo-img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(27, 41, 81, 0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-btn {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 25px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #d35400, #c0392b);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.nav-cta {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #ff6b00, #e65100);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.5);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3); }
    100% { box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5); }
}

/* Free CTA Button Styling */
.btn.free-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    animation: free-pulse 2s ease-in-out infinite alternate;
}

.btn.free-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #34d399, #10b981, #34d399, #10b981);
    border-radius: 52px;
    z-index: -1;
    animation: free-border-glow 3s ease-in-out infinite;
}

.btn.free-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn.free-cta .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn.free-cta .btn-subtitle {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 2px;
}

.btn.free-cta i {
    font-size: 20px;
    animation: rocket-bounce 1.5s ease-in-out infinite;
}

@keyframes free-pulse {
    0% { 
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

@keyframes free-border-glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes rocket-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Premium CTA Button Styling */
.btn.premium-cta {
    background: linear-gradient(135deg, #f59e0b, #d97706, #f59e0b);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    animation: premium-pulse 2.5s ease-in-out infinite alternate;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn.premium-cta::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706, #b45309, #f59e0b, #fbbf24);
    border-radius: 53px;
    z-index: -1;
    animation: premium-border-glow 3s linear infinite;
    background-size: 300% 300%;
}

.btn.premium-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn.premium-cta:hover::after {
    width: 300px;
    height: 300px;
}

.btn.premium-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #d97706, #b45309, #d97706);
}

.btn.premium-cta .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    flex: 1;
}

.btn.premium-cta .btn-subtitle {
    font-size: 11px;
    opacity: 0.95;
    font-weight: 400;
    margin-top: 3px;
    color: #fef3c7;
}

.btn.premium-cta i {
    font-size: 22px;
    animation: crown-shine 2s ease-in-out infinite;
    color: #fbbf24;
}

.premium-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    animation: badge-float 2s ease-in-out infinite alternate;
}

@keyframes premium-pulse {
    0% { 
        box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 15px 35px rgba(245, 158, 11, 0.6);
        transform: scale(1.02);
    }
}

@keyframes premium-border-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes crown-shine {
    0%, 100% { 
        transform: scale(1);
        color: #fbbf24;
    }
    50% { 
        transform: scale(1.1);
        color: #fde047;
        filter: drop-shadow(0 0 8px #fbbf24);
    }
}

@keyframes badge-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.author-info span {
    font-size: 14px;
    color: #718096;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.trust-item i {
    font-size: 24px;
    color: #10b981;
}

.trust-item span {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

.contact-method i {
    font-size: 24px;
    color: #ff9500;
}

.contact-method h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.contact-method span {
    font-size: 14px;
    color: #718096;
}

/* Navigation responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-indicators {
        gap: 20px;
    }
    
    .contact-info-row {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(230, 126, 34, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--primary-navy);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 350px;
    height: 220px;
    background-image: url('assets/consult-gapac-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.25;
    z-index: 1;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.hero-illustration i {
    font-size: 4rem;
    color: var(--primary-orange);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(27, 41, 81, 0.1);
    transition: transform 0.3s ease;
}

.hero-illustration i:hover {
    transform: translateY(-10px);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 25px;
    width: fit-content;
    margin: 0 auto 20px auto;
}

.section-logo {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

.section-brand-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    position: relative;
    transition: transform 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    margin: 2rem 0 1rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-orange);
}

.step-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.step-description {
    color: #6b7280;
}

/* BIR Compliance Section */
.bir-compliance {
    padding: 5rem 0;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: white;
    position: relative;
}

.bir-compliance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,149,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.bir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.bir-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.bir-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bir-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
}

.bir-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ff9500;
}

.bir-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.bir-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.bir-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.bir-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9500;
    font-weight: bold;
}

/* Features */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 3%;
    width: 300px;
    height: 180px;
    background-image: url('assets/consult-gapac-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    width: 200px;
    height: 120px;
    background-image: url('assets/consult-gapac-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.08;
    z-index: 1;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-orange);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 41, 81, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: white;
    font-size: 1.2rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 3px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--primary-orange);
    font-weight: 500;
    margin-bottom: 2px;
}

.author-company {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0;
}

/* Toolkit */
.toolkit {
    padding: 80px 0;
    background: white;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.toolkit-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.toolkit-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.toolkit-icon {
    margin-bottom: 1.5rem;
}

.toolkit-icon i {
    font-size: 3rem;
    color: var(--primary-orange);
}

.toolkit-title {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.toolkit-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 8%;
    width: 280px;
    height: 170px;
    background-image: url('assets/consult-gapac-logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 1;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 2rem;
    }
}

.pricing-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-align: center;
    overflow: hidden;
    height: fit-content;
    max-width: 260px;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

/* Tier Badges */
.tier-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    z-index: 10;
}

.free-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.starter-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pro-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.premium-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.white-label-badge {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Tier Icons */
.tier-icon {
    font-size: 1.1rem;
    margin-right: 0.3rem;
    display: inline-block;
}

/* Enhanced Pricing Title */
.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tier-specific styling */
.pricing-card.free {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #10b981;
}

.pricing-card.starter {
    background: linear-gradient(135deg, #fefbf2, #fef3c7);
    border-color: #f59e0b;
}

.pricing-card.pro {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #3b82f6;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
    border-width: 2px;
}

.pricing-card.pro::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8, #3b82f6);
    border-radius: 18px;
    z-index: -1;
    animation: shimmer 2s ease-in-out infinite;
}

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

.pricing-card.premium {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-color: #8b5cf6;
}

.pricing-card.white-label {
    background: linear-gradient(135deg, #312e81, #1e1b4b);
    color: white;
    border-color: #6366f1;
    position: relative;
    overflow: hidden;
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
    border-width: 2px;
}

.pricing-card.white-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    pointer-events: none;
    animation: glow 3s ease-in-out infinite alternate;
}

.pricing-card.white-label::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #6366f1, #4f46e5);
    border-radius: 19px;
    z-index: -1;
    animation: enterprise-shine 3s linear infinite;
}

@keyframes enterprise-shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.pricing-card.white-label .pricing-title,
.pricing-card.white-label .pricing-price,
.pricing-card.white-label .pricing-subtitle {
    color: white;
}

.pricing-card.white-label .pricing-features li {
    color: #e2e8f0;
}


    border-color: #FF6B35;
}

.pricing-card.featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card.enterprise {
    border: 2px solid var(--primary-navy);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-card.enterprise .pricing-title {
    color: var(--primary-navy);
    font-weight: 700;
}

.pricing-card.enterprise .amount {
    color: var(--primary-navy);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-style: italic;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features .fas.fa-check {
    color: var(--primary-orange);
}

.pricing-features .fas.fa-times {
    color: #dc2626;
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.pricing-note p {
    margin: 0;
    color: var(--primary-navy);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.consult-gapac-footer {
    margin-top: 10px;
}

.consult-logo {
    width: 120px;
    height: auto;
    opacity: 0.8;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--primary-orange);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-consult-gapac {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 15px;
    border: 2px solid var(--primary-orange);
}

.footer-consult-logo {
    width: 80px;
    height: auto;
}

.footer-company-info h3 {
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.footer-company-info p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.copyright {
    color: #9ca3af;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
        gap: 1rem;
    }
    
    /* Pricing Grid Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .pricing-card {
        max-width: 100%;
        margin: 0;
        padding: 1.2rem;
    }
    
    .pricing-card.pro,
    .pricing-card.white-label {
        transform: none;
        margin: 0;
    }
    
    .pricing-price .amount {
        font-size: 2rem;
    }
    
    .pricing-title {
        font-size: 1.2rem;
    }
    
    .pricing-subtitle {
        font-size: 0.75rem;
    }
    
    .pricing-features li {
        font-size: 0.75rem;
        padding: 3px 0;
    }
    
    /* Engine Bars Mobile */
    .engine-bars-container {
        flex-direction: column;
        gap: 0.4rem;
        margin: 0.6rem 0;
    }
    
    .engine-separator {
        font-size: 0.5rem;
        padding: 0.2rem;
    }
    
    .engine-bar {
        min-width: 80px;
        padding: 0.3rem 0.6rem;
    }
    
    .bar-label {
        font-size: 0.6rem;
    }
    
    .bar-subtitle {
        font-size: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 0.5rem 1rem;
        display: block;
    }
    
    .auth-buttons {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .company-badge {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .company-name {
        font-size: 14px;
        text-align: center;
    }
    
    .section-brand {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
    }
    
    .footer-consult-gapac {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .footer-company-info h3 {
        font-size: 16px;
        text-align: center;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero-illustration i {
        font-size: 2.5rem;
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-grid,
    .features-grid,
    .testimonials-grid,
    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    /* Hero section mobile optimizations */
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-illustration {
        margin-top: 30px;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .hero-illustration .feature-icon {
        padding: 20px;
        font-size: 2rem;
    }
    
    /* Button mobile improvements */
    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.3s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn i {
        font-size: 16px;
    }
    
    .btn-text {
        white-space: nowrap;
    }
    
    /* Touch-friendly interactive elements */
    .pricing-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .engine-bar {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 5px;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .pricing-price .amount {
        font-size: 1.8rem;
    }
    
    .pricing-title {
        font-size: 1.1rem;
    }
    
    .tier-icon {
        font-size: 1rem;
    }
    
    .pricing-features li {
        font-size: 0.7rem;
        padding: 2px 0;
    }
    
    /* Engine bars extra small screens */
    .engine-bars-container {
        gap: 0.3rem;
        margin: 0.4rem 0;
    }
    
    .engine-bar {
        min-width: 70px;
        padding: 0.25rem 0.5rem;
    }
    
    .bar-label {
        font-size: 0.55rem;
    }
    
    .bar-subtitle {
        font-size: 0.45rem;
    }
    
    .engine-separator {
        font-size: 0.45rem;
    }
    
    /* Footer mobile */
    .footer-consult-gapac {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    
    .footer-company-info h3 {
        font-size: 16px;
    }
    
    .footer-company-info p {
        font-size: 12px;
    }
    
    /* Navigation mobile */
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 16px;
    }
    
    .company-badge {
        padding: 8px 12px;
        flex-direction: column;
        gap: 5px;
    }
    
    .company-name {
        font-size: 12px;
    }
}

/* Engine Bars */
.engine-bars-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.8rem 0;
    justify-content: center;
}

.engine-bar {
    position: relative;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    overflow: hidden;
    min-width: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.silver-bar {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db, #9ca3af);
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.3);
}

.gold-bar {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.bar-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.bar-content {
    position: relative;
    z-index: 2;
}

.bar-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.bar-subtitle {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 0.2rem;
    line-height: 1;
}

.engine-separator {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 0.3rem;
}

.engine-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.silver-bar:hover {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb, #9ca3af);
}

.gold-bar:hover {
    background: linear-gradient(135deg, #fcd34d, #fbbf24, #f59e0b);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.auth-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(0, 31, 63, 0.1);
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(0, 31, 63, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-menu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--primary-navy);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 149, 0, 0.1);
}

.dropdown-item i {
    width: 16px;
}

/* Payment Modal */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.payment-modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.payment-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-modal-header h3 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-modal-body {
    padding: 1.5rem;
}

.payment-details {
    margin-bottom: 1rem;
}

.subscription-payment-options {
    text-align: center;
}

.subscription-payment-options h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.subscription-amount {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 2rem;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-method-btn {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-method-btn:hover {
    border-color: var(--primary-orange);
    background: #fef3e2;
}

.payment-method-btn h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.payment-method-btn span {
    font-size: 0.875rem;
    color: #666;
}

.qr-payment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.qr-code-section {
    text-align: center;
}

.qr-code-placeholder {
    margin-bottom: 1rem;
}

.qr-code-generator img {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.qr-label {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0;
}

.payment-amount-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    padding: 1rem;
    background: #fef3e2;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.manual-payment-option h4 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.manual-payment-option ol {
    padding-left: 1.5rem;
    line-height: 1.6;
}

.manual-payment-option li {
    margin-bottom: 0.5rem;
    color: #555;
}

@media (max-width: 768px) {
    .payment-method-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-payment-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* New Optimized CTA Section */
.cta-section {
    margin: 40px 0 30px 0;
}

.primary-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-free-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    animation: free-pulse 3s ease-in-out infinite alternate;
}

.btn-free-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #10b981, #059669, #047857, #065f46, #059669, #10b981);
    border-radius: 18px;
    z-index: -1;
    animation: free-border-glow 2.5s linear infinite;
    background-size: 300% 300%;
}

.btn-free-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.btn-free-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-free-primary:hover::after {
    width: 250px;
    height: 250px;
}

.btn-premium-primary {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
    position: relative;
    overflow: hidden;
    animation: premium-pulse 2.5s ease-in-out infinite alternate;
}

.btn-premium-primary::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706, #b45309, #f59e0b, #fbbf24);
    border-radius: 19px;
    z-index: -1;
    animation: premium-border-glow 3s linear infinite;
    background-size: 300% 300%;
}

.btn-premium-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn-premium-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.6);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-premium-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-premium-primary .premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.btn-icon i {
    font-size: 24px;
    color: white;
}

.btn-content {
    flex: 1;
}

.btn-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.btn-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-benefit {
    font-size: 11px;
    opacity: 0.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.social-proof {
    text-align: center;
    margin: 20px 0;
}

.proof-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #059669;
    font-size: 14px;
    font-weight: 500;
}

.proof-item i {
    color: #10b981;
}

.secondary-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-buttons .btn {
    font-size: 14px;
    padding: 12px 20px;
}

/* Button Animation Keyframes */
@keyframes free-pulse {
    0% { 
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
        transform: scale(1.01);
    }
}

@keyframes free-border-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes premium-pulse {
    0% { 
        box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 12px 30px rgba(234, 88, 12, 0.5);
        transform: scale(1.02);
    }
}

@keyframes premium-border-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Icon Animations */
.btn-icon i {
    font-size: 24px;
    color: white;
    animation: icon-shine 2s ease-in-out infinite;
}

.btn-free-primary .btn-icon i {
    animation: rocket-shine 2s ease-in-out infinite;
}

.btn-premium-primary .btn-icon i {
    animation: crown-shine 2s ease-in-out infinite;
}

@keyframes icon-shine {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
        transform: scale(1.1);
    }
}

@keyframes rocket-shine {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.8));
        transform: scale(1.1);
    }
}

@keyframes crown-shine {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.8));
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .primary-buttons {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btn-free-primary,
    .btn-premium-primary {
        padding: 20px;
        gap: 12px;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
    }
    
    .btn-icon i {
        font-size: 20px;
    }
    
    .btn-title {
        font-size: 16px;
    }
    
    .btn-subtitle {
        font-size: 12px;
    }
    
    .secondary-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* AI Engines Showcase */
.ai-engines-showcase {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.engine-brand {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.max-engine {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.max-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    animation: service-shine 3s ease-in-out infinite;
}

.optimax-service {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(101, 52, 15, 0.1));
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.optimax-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.3), transparent);
    animation: service-shine 3s ease-in-out infinite 1.5s;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.max-service .service-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.optimax-service .service-icon {
    background: linear-gradient(135deg, #8b4513, #654013);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.service-icon i {
    font-size: 16px;
    animation: service-icon-pulse 2s ease-in-out infinite;
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-desc {
    font-size: 11px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.max-service .service-name {
    color: #10b981;
}

.optimax-service .service-name {
    color: #cd853f;
}

@keyframes service-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes service-icon-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

.enterprise-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    animation: enterprise-glow 2s ease-in-out infinite alternate;
}

@keyframes enterprise-glow {
    0% {
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 6px 16px rgba(139, 92, 246, 0.6);
        transform: scale(1.02);
    }
}

/* Responsive AI Service Display */
@media (max-width: 768px) {
    .ai-services-showcase {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .service-brand {
        padding: 10px;
    }
    
    .service-icon {
        width: 28px;
        height: 28px;
    }
    
    .service-icon i {
        font-size: 14px;
    }
    
    .service-name {
        font-size: 13px;
    }
    
    .service-desc {
        font-size: 10px;
    }
}

.payment-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.payment-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.payment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.payment-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 1.5rem;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.payment-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.payment-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.stripe-payment-form {
    margin-top: 1rem;
}

.stripe-element {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.pay-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pay-button:hover {
    background: #e8850a;
}

.pay-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* TaxMate Avatar Styles */
.taxmate-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.taxmate-avatar {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(255, 149, 0, 0.3);
    animation: avatarFloat 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: avatarGlow 2s ease-in-out infinite alternate;
}

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

@keyframes avatarGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.hero-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-icons i {
    font-size: 2rem;
    color: var(--primary-orange);
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-icons i:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 149, 0, 0.2);
}

/* Daily Tips Puzzle Styles */
.daily-tips-puzzle {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.daily-tips-puzzle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #F7931E, #FFD23F);
}

.puzzle-header {
    text-align: center;
    margin-bottom: 2rem;
}

.puzzle-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.puzzle-logo {
    width: 35px;
    height: 35px;
}

.puzzle-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.puzzle-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1rem;
}

/* Single Puzzle Styles */
.single-puzzle-container {
    max-width: 400px;
    margin: 0 auto;
}

.puzzle-drop-zone {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.single-drop-slot {
    width: 280px;
    height: 140px;
    border: 2px dashed #0052cc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05), rgba(255, 255, 255, 0.95));
}

.single-drop-slot.drag-over {
    border-color: #003d99;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(255, 255, 255, 0.98));
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.25);
}

.single-drop-slot.filled {
    border: 2px solid #0038a8;
    background: linear-gradient(135deg, rgba(0, 56, 168, 0.08), rgba(255, 255, 255, 0.98));
    box-shadow: 0 4px 25px rgba(0, 56, 168, 0.2);
}

.slot-outline {
    text-align: center;
    color: #64748b;
    pointer-events: none;
}

.outline-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
    color: #0052cc;
}

.outline-subtext {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    color: #64748b;
}

.single-drop-slot.filled .slot-outline {
    display: none;
}

/* Draggable Pieces Area */
.puzzle-pieces-area {
    margin: 2rem auto;
    max-width: 400px;
}

.puzzle-instruction {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.single-piece-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.puzzle-piece {
    width: 90px;
    height: 90px;
    background: linear-gradient(to bottom, #0038a8 0%, #0038a8 50%, #ce1126 50%, #ce1126 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #0038a8;
    box-shadow: 0 4px 15px rgba(0, 56, 168, 0.3);
}

.puzzle-piece::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 45px 0 45px 35px;
    border-color: transparent transparent transparent #fcd116;
    z-index: 1;
}

.puzzle-piece.single-piece {
    width: 100px;
    height: 100px;
    background: linear-gradient(to bottom, #0038a8 0%, #0038a8 50%, #ce1126 50%, #ce1126 100%);
    border: 2px solid #0038a8;
    box-shadow: 0 6px 20px rgba(0, 56, 168, 0.4);
}

.puzzle-piece.single-piece::after {
    border-width: 50px 0 50px 40px;
}

.puzzle-piece.draggable {
    cursor: grab;
}

.puzzle-piece.draggable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 56, 168, 0.5);
}

.puzzle-piece.draggable:active {
    cursor: grabbing;
    transform: scale(1.05);
    z-index: 1000;
}

.puzzle-piece.dragging {
    opacity: 0.8;
    transform: rotate(2deg) scale(1.05);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 56, 168, 0.6);
}

.puzzle-piece.placed {
    width: 180px;
    height: 100px;
    cursor: default;
    border: 2px solid #0038a8;
    background: linear-gradient(to bottom, #0038a8 0%, #0038a8 50%, #ce1126 50%, #ce1126 100%);
    box-shadow: 0 0 25px rgba(0, 56, 168, 0.4);
}

.puzzle-piece.placed::after {
    border-width: 50px 0 50px 70px;
}

.puzzle-piece::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.puzzle-piece:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.puzzle-piece:hover::before {
    transform: translateX(100%);
}

.puzzle-piece.clicked {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-color: #d97706;
    transform: translateY(-2px);
    animation: pieceClick 0.5s ease;
}

.puzzle-piece.clicked .piece-content {
    transform: scale(1.1);
}

.puzzle-piece.clicked .piece-fragment {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.puzzle-piece.clicked .piece-icon {
    filter: brightness(0) invert(1);
}

@keyframes pieceClick {
    0% { transform: translateY(-2px) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
    100% { transform: translateY(-2px) scale(1); }
}

.piece-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 0.4rem;
    margin: 0.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 56, 168, 0.2);
}

.piece-fragment {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0038a8;
    text-shadow: none;
    letter-spacing: 1px;
}

.piece-icon {
    font-size: 1.5rem;
    color: #0038a8;
    filter: none;
}

.puzzle-piece.placed .piece-content {
    gap: 0.5rem;
    flex-direction: row;
}

.puzzle-piece.placed .piece-fragment {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.puzzle-piece.placed .piece-icon {
    font-size: 2.5rem;
    margin-right: 0.5rem;
}

.tip-reveal {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.15);
    border: 2px solid #0052cc;
    animation: slideUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.tip-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0038a8, #ce1126, #fcd116);
}

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

.tip-reveal .tip-category {
    background: linear-gradient(135deg, #0052cc, #003d99);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
}

.tip-reveal .tip-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.tip-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tip-btn {
    background: linear-gradient(135deg, #0052cc, #003d99);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2);
}

.tip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.3);
    background: linear-gradient(135deg, #003d99, #002966);
}

.tip-btn.secondary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.tip-btn.secondary:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Flag Puzzle Styles */
.flag-puzzle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.puzzle-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.puzzle-header p {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.simple-puzzle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.simple-puzzle-game {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.piggy-bank {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border: 3px solid #1e293b;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.piggy-bank.drag-over {
    border-color: #fcd116;
    background: rgba(252, 209, 22, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(252, 209, 22, 0.4);
}

.bank-body {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.coin-slot {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
    background: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.peso-coin {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #fcd116, #f59e0b);
    border: 3px solid #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.peso-coin:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.peso-coin.dragging {
    transform: rotate(15deg) scale(1.1);
    z-index: 1000;
    opacity: 0.9;
}

.coin-face {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.coin-slot.success {
    background: #22c55e;
    color: #ffffff;
    border-color: #16a34a;
    font-weight: bold;
}

/* Responsive design for simple puzzle */
@media (max-width: 768px) {
    .simple-puzzle-game {
        gap: 2rem;
        flex-direction: column;
    }
    
    .piggy-bank {
        width: 100px;
        height: 100px;
    }
    
    .bank-body {
        font-size: 2.5rem;
    }
    
    .peso-coin {
        width: 70px;
        height: 70px;
        order: -1;
    }
    
    .coin-face {
        font-size: 1.5rem;
    }
}

.slot-outline {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.triangle-slot {
    background: transparent;
    position: relative;
}

.triangle-placeholder {
    font-size: 1.5rem;
    color: #cbd5e1;
    text-align: center;
}

.puzzle-pieces-container {
    text-align: center;
}

.puzzle-instruction {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.draggable-piece-area {
    text-align: center;
}

.philippine-flag-piece {
    width: 200px;
    height: 150px;
    position: relative;
    cursor: grab;
    transition: all 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    clip-path: polygon(
        0% 0%, 
        70% 0%, 
        85% 15%, 
        100% 15%, 
        100% 35%, 
        85% 35%, 
        85% 50%, 
        100% 50%, 
        100% 70%, 
        85% 70%, 
        70% 85%, 
        70% 100%, 
        35% 100%, 
        35% 85%, 
        20% 85%, 
        20% 70%, 
        5% 70%, 
        5% 50%, 
        20% 50%, 
        20% 35%, 
        5% 35%, 
        5% 15%, 
        20% 15%, 
        35% 0%
    );
}

.philippine-flag-piece:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.philippine-flag-piece.dragging {
    transform: rotate(8deg) scale(1.1);
    z-index: 1000;
    opacity: 0.95;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.flag-triangle {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 75px 0 75px 100px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 3;
}

.flag-blue-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 75px;
    background: #0038a8;
    z-index: 1;
}

.flag-red-section {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 75px;
    background: #ce1126;
    z-index: 1;
}

.flag-sun {
    position: absolute;
    left: 30px;
    top: 50px;
    font-size: 1.8rem;
    color: #fcd116;
    z-index: 4;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.flag-stars {
    position: absolute;
    z-index: 4;
}

.flag-star {
    position: absolute;
    color: #fcd116;
    font-size: 0.8rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.flag-star:nth-child(1) {
    top: 20px;
    left: 15px;
}

.flag-star:nth-child(2) {
    top: 35px;
    left: 65px;
}

.flag-star:nth-child(3) {
    top: 95px;
    left: 10px;
}

.completed-flag-piece {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: polygon(
        0% 0%, 
        70% 0%, 
        85% 15%, 
        100% 15%, 
        100% 35%, 
        85% 35%, 
        85% 50%, 
        100% 50%, 
        100% 70%, 
        85% 70%, 
        70% 85%, 
        70% 100%, 
        35% 100%, 
        35% 85%, 
        20% 85%, 
        20% 70%, 
        5% 70%, 
        5% 50%, 
        20% 50%, 
        20% 35%, 
        5% 35%, 
        5% 15%, 
        20% 15%, 
        35% 0%
    );
}

.flag-slot.completed {
    border: 3px solid #fcd116;
    box-shadow: 0 0 20px rgba(252, 209, 22, 0.4);
    animation: completionGlow 2s ease-in-out;
}

@keyframes completionGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(252, 209, 22, 0.4); }
    50% { box-shadow: 0 0 30px rgba(252, 209, 22, 0.8); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .flag-puzzle-wrapper {
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .puzzle-board {
        padding: 2rem 1.5rem;
    }
    
    .philippine-flag-piece,
    .flag-slot {
        width: 160px;
        height: 120px;
    }
    
    .flag-triangle {
        border-width: 60px 0 60px 80px;
    }
    
    .flag-blue-section,
    .flag-red-section {
        width: 80px;
        height: 60px;
    }
    
    .flag-sun {
        left: 24px;
        top: 40px;
        font-size: 1.4rem;
    }
    
    .flag-star:nth-child(1) {
        top: 16px;
        left: 12px;
    }
    
    .flag-star:nth-child(2) {
        top: 28px;
        left: 52px;
    }
    
    .flag-star:nth-child(3) {
        top: 76px;
        left: 8px;
    }
    
    .puzzle-instruction {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .philippine-flag-piece,
    .flag-slot {
        width: 140px;
        height: 105px;
    }
    
    .flag-triangle {
        border-width: 52.5px 0 52.5px 70px;
    }
    
    .flag-blue-section,
    .flag-red-section {
        width: 70px;
        height: 52.5px;
    }
    
    .flag-sun {
        left: 21px;
        top: 35px;
        font-size: 1.2rem;
    }
    
    .flag-star {
        font-size: 0.7rem;
    }
    
    .puzzle-board {
        padding: 1.5rem 1rem;
    }
}

.drop-hint {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

.flag-piece:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.flag-piece.dragging {
    transform: rotate(5deg) scale(1.05);
    z-index: 1000;
    opacity: 0.9;
}

.triangle-piece {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-30%, -20%);
}

.sun-symbol {
    position: relative;
    width: 60px;
    height: 60px;
}

.sun-center {
    width: 24px;
    height: 24px;
    background: #fcd116;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sun-rays {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
}

.ray {
    position: absolute;
    background: #fcd116;
    transform-origin: center;
}

.ray-1, .ray-3, .ray-5, .ray-7 {
    width: 3px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.ray-2, .ray-4, .ray-6, .ray-8 {
    width: 2px;
    height: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.ray-1 { top: 0; }
.ray-2 { top: 3px; transform: translateX(-50%) rotate(45deg); }
.ray-3 { right: 0; top: 50%; transform: translateY(-50%) rotate(90deg); }
.ray-4 { bottom: 3px; right: 3px; transform: rotate(135deg); }
.ray-5 { bottom: 0; left: 50%; transform: translateX(-50%) rotate(180deg); }
.ray-6 { bottom: 3px; left: 3px; transform: rotate(225deg); }
.ray-7 { left: 0; top: 50%; transform: translateY(-50%) rotate(270deg); }
.ray-8 { top: 3px; left: 3px; transform: rotate(315deg); }

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    color: #fcd116;
    font-size: 12px;
    font-weight: bold;
}

.star-top {
    top: 15%;
    left: 20%;
}

.star-right {
    top: 30%;
    right: 25%;
}

.star-bottom {
    bottom: 20%;
    left: 15%;
}

.puzzle-slot.filled {
    animation: slot-fill 0.5s ease;
}

@keyframes slot-fill {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .flag-puzzle-grid {
        width: 250px;
        height: 167px;
    }
    
    .flag-piece {
        width: 123px;
        height: 81px;
    }
    
    .puzzle-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 150px;
    }
    
    .puzzle-piece {
        width: 50px;
        height: 50px;
    }
    
    .piece-content {
        font-size: 1.2rem;
    }
    
    .tip-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .tip-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Chat Preview Styles */
.chat-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(27, 41, 81, 0.15);
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.chat-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.chat-avatar {
    position: relative;
}

.chat-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.bouncing-avatar {
    animation: avatarBounce 2s ease-in-out infinite !important;
    transform-origin: center bottom;
}

.chat-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 4px 0;
}

.status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.status.online {
    background: #dcfce7;
    color: #16a34a;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.message.bot {
    flex-direction: row;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-content {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 280px;
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
}

@keyframes avatarBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
    75% {
        transform: translateY(-4px) scale(1.1);
    }
}

/* Mobile responsiveness for avatar */
@media (max-width: 768px) {
    .taxmate-avatar {
        width: 200px;
        height: 200px;
    }
    
    .avatar-glow {
        width: 220px;
        height: 220px;
    }
    
    .chat-preview {
        max-width: 350px;
        padding: 1.25rem;
    }
    
    .chat-avatar img {
        width: 24px;
        height: 24px;
    }
    
    .hero-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-icons i {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .taxmate-avatar {
        width: 150px;
        height: 150px;
    }
    
    .avatar-glow {
        width: 170px;
        height: 170px;
    }
}

/* GCash and Maya Payment Styles */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.payment-method-btn:hover {
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.15);
}

.gcash-btn:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.maya-btn:hover {
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    color: white;
}

.payment-method-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-method-info i {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.gcash-btn .payment-method-info i {
    color: #007bff;
}

.maya-btn .payment-method-info i {
    color: #00c851;
}

.payment-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-orange);
}

.payment-instructions {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.payment-instructions h4 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.payment-step {
    color: #555;
    line-height: 1.6;
}

.payment-step ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.payment-step li {
    margin-bottom: 0.5rem;
}

.payment-step strong {
    color: var(--primary-navy);
}

.payment-step em {
    color: #666;
    font-style: italic;
}

.confirm-payment-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-payment-btn:hover {
    background: #e8850a;
    transform: translateY(-1px);
}

/* Mobile responsiveness for payment options */
@media (max-width: 480px) {
    .payment-method-btn {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .payment-method-info {
        justify-content: center;
    }
    
    .payment-instructions {
        padding: 1rem;
    }
}

/* Payment note styling */
.payment-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

/* Professional Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
}

.service-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.05);
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e88900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 149, 0, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

/* Consultation CTA */
.consultation-cta {
    background: var(--primary-navy);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.consultation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

.cta-buttons .btn-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.cta-buttons .btn-primary:hover {
    background: #e88900;
    border-color: #e88900;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-navy);
}

/* Responsive adjustments for services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .consultation-cta {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

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

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-orange);
    background: var(--primary-orange);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e88900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Responsive contact section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Premium Access Styling */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: premiumGlow 2s ease-in-out infinite alternate;
}

.premium-badge i {
    color: #ff8c00;
}

@keyframes premiumGlow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }
}

.btn.premium-active {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: var(--primary-navy);
    border-color: #ffd700;
    position: relative;
    overflow: hidden;
}

.btn.premium-active:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

.btn.premium-active::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;
}

.btn.premium-active:hover::before {
    left: 100%;
}

/* Access Restriction Notification */
.access-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-orange);
    z-index: 10000;
    max-width: 400px;
    text-align: center;
    animation: accessNotificationSlide 0.3s ease-out;
}

@keyframes accessNotificationSlide {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.access-notification h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.access-notification p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.access-notification .btn {
    margin: 0 0.5rem;
}

/* Restricted content overlay */
.content-restricted {
    position: relative;
}

.content-restricted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10;
    border-radius: inherit;
}

.restriction-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    text-align: center;
    color: var(--primary-navy);
}

.restriction-overlay i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.restriction-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.restriction-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* QR Code Payment Styling */
.qr-payment-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.qr-code-placeholder {
    text-align: center;
    margin-bottom: 1rem;
}

.qr-code-generator {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

#gcash-qr-canvas,
#maya-qr-canvas {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qr-label {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.payment-amount-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.2);
}

.manual-payment-option {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.manual-payment-option h4 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.manual-payment-option ol {
    margin: 0;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.manual-payment-option strong {
    color: var(--primary-orange);
    background: #fff9f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.payment-note {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9ff 100%);
    border-radius: 8px;
    border-left: 4px solid #22c55e;
}

/* GCash specific styling */
.gcash-btn:hover .qr-code-section {
    border-color: #0066cc;
}

/* Maya specific styling */
.maya-btn:hover .qr-code-section {
    border-color: #00a86b;
}

/* Responsive QR code layout */
@media (max-width: 768px) {
    .qr-payment-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .qr-code-section {
        padding: 1.5rem;
    }
    
    .payment-amount-display {
        font-size: 1.5rem;
        padding: 0.75rem 1.5rem;
    }
    
    .manual-payment-option {
        padding: 1rem;
    }
}

