/* Fino Pay Hub - Responsive Stylesheet */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 3.25rem;
    }
    
    .feature-card {
        padding: 3rem 2.5rem;
    }
}

/* Large Devices (Desktops) */
@media (max-width: 1199px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0.25rem 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        padding: 1.5rem 0;
    }
    
    .about-content h2 {
        font-size: 2.2rem;
    }
    
    .company-stats {
        justify-content: center;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .sidebar {
        margin-bottom: 2rem;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
}

/* Small Devices (Large Phones) */
@media (max-width: 767px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.125rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-method {
        padding: 20px;
    }
    
    .payment-icon {
        font-size: 2rem;
    }
    
    .about-content {
        text-align: center;
        padding: 1rem 0;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content .lead {
        font-size: 1.1rem;
    }
    
    .feature-highlights {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 1rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-image .image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .feature-table {
        font-size: 0.9rem;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 0.75rem;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .login-header h2 {
        font-size: 1.8rem;
    }
    
    .sidebar {
        padding: 1rem;
    }
    
    .sidebar-nav .nav-link {
        font-size: 0.9rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-info h3 {
        font-size: 1.3rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-btn {
        padding: 0.75rem;
    }
    
    .action-btn i {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-section:first-child {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
    
    .footer-bottom {
        text-align: center;
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (Small Phones) */
@media (max-width: 575px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 150px;
        font-size: 2rem;
    }
    
    .payment-method {
        padding: 15px;
    }
    
    .payment-icon {
        font-size: 1.8rem;
    }
    
    .payment-method h4 {
        font-size: 1.1rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .company-stats .stat-item {
        text-align: center;
    }
    
    .company-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-card {
        padding: 1rem;
    }
    
    .mission-icon {
        font-size: 2.5rem;
    }
    
    .service-item {
        padding: 1rem;
    }
    
    .service-icon {
        font-size: 1.8rem;
    }
    
    .team-image .image-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .login-card {
        padding: 1rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .sidebar {
        padding: 0.75rem;
    }
    
    .dashboard-content {
        padding: 0.75rem;
    }
    
    .dashboard-header {
        margin-bottom: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-info h3 {
        font-size: 1.2rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .action-btn {
        padding: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .newsletter-signup {
        text-align: center;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .page-header {
        padding: 40px 0 20px;
    }
    
    .login-section {
        padding: 1rem 0;
    }
    
    .dashboard-section {
        padding: 1rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-buttons,
    .hero-buttons,
    .action-btn,
    .btn {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .stat-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .feature-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .product-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .payment-method {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .pricing-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .mission-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .service-item {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .faq-item {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .contact-form-container,
    .contact-info {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .login-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .sidebar {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .dashboard-content {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .bg-primary {
        background: white !important;
        color: black !important;
    }
    
    .bg-light {
        background: white !important;
    }
    
    .text-white {
        color: black !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This can be expanded for dark mode support in the future */
}

/* Focus States for Better Accessibility */
@media (min-width: 768px) {
    .btn:focus,
    .form-control:focus,
    .form-select:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Hover Effects for Touch Devices */
@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-10px);
    }
    
    .product-card:hover {
        transform: translateY(-5px);
    }
    
    .payment-method:hover {
        transform: translateY(-5px);
    }
    
    .pricing-card:hover {
        transform: translateY(-5px);
    }
    
    .stat-card:hover {
        transform: translateY(-2px);
    }
    
    .action-btn:hover {
        transform: translateY(-2px);
    }
    
    .social-link:hover {
        transform: translateY(-2px);
    }
}

/* No Hover for Touch Devices */
@media (hover: none) {
    .feature-card,
    .product-card,
    .payment-method,
    .pricing-card,
    .stat-card,
    .action-btn,
    .social-link {
        transform: none;
    }
    
    .feature-card:active,
    .product-card:active,
    .payment-method:active,
    .pricing-card:active,
    .action-btn:active {
        transform: scale(0.98);
    }
} 