/* Custom styles for OMIZU */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Color Variables */
:root {
    --primary: #0e3963;
    /* Bright Blue */
    --primary-light: #5dade2;
    /* Lighter Blue */
    --secondary: #85c1e9;
    /* Sky Blue */
    --accent: #e67e22;
    /* Orange */
    --light: #ffffff;
    /* White */
    --dark: #2c3e50;
    /* Dark Blue-Gray */
    --success: #59f1bf;
    /* Green */
    --danger: #e74c3c;
    /* Red */
}

/* Navigation */
.nav-scrolled {
    box-shadow: 1 2px 10px rgba(0, 0, 0, 0.1);
    /* background-color: rgba(255, 255, 255, 0.98); */
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjUwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIj48L3JlY3Q+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIj48L3JlY3Q+PC9zdmc+');
    opacity: 0.1;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 57, 99, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(14, 57, 99, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(14, 57, 99, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #6fc5ec;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 5px;
    border-radius: 5px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Text Colors */
.text-primary {
    color: var(--primary);
}

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

/* Backgrounds */
.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
    color: white;
}

/* CTA Section */
.cta-section {
    background-color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: var(--primary);
}

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

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rounded-xl {
    border-radius: 1rem;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Activity Items */
.activity-item {
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #f1f3f4;
    transform: translateX(2px);
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.status-delivered {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.status-processing {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.status-available {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.status-busy {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.status-offline {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
}

.status-online {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.status-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.status-error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

/* Order Cards */
.order-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

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

.order-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

.order-date {
    font-size: 0.875rem;
    color: #6c757d;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #6fc5ec 100%);
    color: var(--dark);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.profile-id {
    font-size: 0.875rem;
    color: var(--dark);
    opacity: 0.8;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quick-stat {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.quick-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.quick-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.quick-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Welcome Header */
.welcome-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.last-login {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.view-all-btn {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.view-all-btn:hover {
    color: var(--primary-light);
    transform: translateX(2px);
}

/* Action Buttons */
.action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.action-button:hover {
    transform: translateX(2px);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-secondary-custom {
    background: var(--secondary);
    color: var(--dark);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Summary Items */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-label {
    font-size: 0.875rem;
    color: #6c757d;
}

.summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
}

/* Activity Components */
.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.activity-description {
    font-size: 0.875rem;
    color: #6c757d;
}

.activity-time {
    font-size: 0.75rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Delivery Items */
.delivery-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.delivery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* User Items */
.user-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.user-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Route Card */
.route-card {
    background: linear-gradient(135deg, var(--success) 0%, #1e8449 100%);
    color: white;
    border-left: 4px solid var(--primary);
}

/* Earnings Card */
.earnings-card {
    background: linear-gradient(135deg, var(--accent) 0%, #d68910 100%);
    color: white;
    border-left: 4px solid var(--secondary);
}

/* Metric Cards */
.metric-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.metric-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.metric-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.change-positive {
    color: var(--success);
}

.change-negative {
    color: var(--danger);
}

/* Management Card */
.management-card {
    background: linear-gradient(135deg, var(--success) 0%, #1e8449 100%);
    color: white;
    border-left: 4px solid var(--primary);
}

/* Operations Card */
.operations-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #6fc5ec 100%);
    color: var(--dark);
    border-left: 4px solid var(--accent);
}

/* Quick Stats Card */
.quick-stats-card {
    background: linear-gradient(135deg, var(--accent) 0%, #d68910 100%);
    color: white;
    border-left: 4px solid var(--secondary);
}

/* Responsive Design for Dashboards */
@media (max-width: 768px) {
    .welcome-header {
        padding: 1.5rem;
        text-align: center;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .quick-stat {
        padding: 1rem;
    }

    .quick-stat-value {
        font-size: 1.5rem;
    }

    .order-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .order-actions {
        flex-direction: column;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ============================================
   ENHANCED FEATURES SECTION STYLES
   ============================================ */

/* Feature Card Enhanced */
.feature-card-enhanced {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon Badge Styles */
.icon-badge {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.icon-badge-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.icon-badge-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}

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

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-badge-primary {
    background: rgba(14, 57, 99, 0.1);
    color: var(--primary);
}

.section-badge-secondary {
    background: rgba(133, 193, 233, 0.2);
    color: var(--primary);
}

/* ============================================
   HOW IT WORKS SECTION STYLES
   ============================================ */

/* Process Card */
.process-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.process-card-primary {
    border-color: rgba(14, 57, 99, 0.1);
}

.process-card-primary:hover {
    border-color: rgba(14, 57, 99, 0.3);
}

.process-card-secondary {
    border-color: rgba(133, 193, 233, 0.1);
}

.process-card-secondary:hover {
    border-color: rgba(133, 193, 233, 0.3);
}

/* Floating Icon Badge */
.floating-icon-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Step Number Badge */
.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-number:hover {
    transform: scale(1.15);
}

.step-number-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.step-number-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}

/* ============================================
   CONTACT SECTION STYLES
   ============================================ */

/* Contact Card */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-button-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.cta-button-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-button-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Action Link with Arrow */
.action-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-link:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.action-link svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.action-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   GRADIENT BACKGROUNDS
   ============================================ */

.gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}

.gradient-overlay {
    background: linear-gradient(135deg, rgba(14, 57, 99, 0.05) 0%, transparent 100%);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Stagger Animation Delays */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Mobile First Breakpoints:
   - Mobile Small: 320px - 480px
   - Mobile Large: 481px - 768px
   - Tablet: 769px - 1024px
   - Desktop: 1025px+ */

/* Touch Target Minimum Size */
.btn,
button,
a.nav-link,
.action-button {
    min-height: 44px;
    min-width: 44px;
}

/* Responsive Typography */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1.125rem !important;
    }
}

/* ============================================
   MOBILE STYLES (320px - 480px)
   ============================================ */
@media (max-width: 480px) {

    /* Container Padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Section Padding */
    section {
        padding: 2.5rem 0;
    }

    /* Cards */
    .card,
    .dashboard-card,
    .stat-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* Grid Layouts - Force Single Column */
    .product-grid,
    .subscription-grid,
    .quick-stats,
    .metrics-grid,
    .stats-container {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Buttons */
    .btn,
    button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Tables - Horizontal Scroll */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    table {
        min-width: 600px;
    }

    th,
    td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    /* Hide less important table columns on mobile */
    .hide-mobile {
        display: none;
    }
}

/* ============================================
   TABLET STYLES (481px - 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {

    /* Grid Layouts - 2 Columns */
    .product-grid,
    .subscription-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-stats,
    .metrics-grid,
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section Padding */
    section {
        padding: 3.5rem 0;
    }

    /* Cards */
    .card,
    .dashboard-card {
        padding: 1.5rem;
    }
}

/* ============================================
   NAVIGATION RESPONSIVE
   ============================================ */

/* Mobile Navigation Toggle */
@media (max-width: 768px) {

    /* Hamburger Menu Styles */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger {
        width: 24px;
        height: 2px;
        background: var(--primary);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -7px;
    }

    .hamburger::after {
        bottom: -7px;
    }

    /* Hamburger Active State */
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* ============================================
   DASHBOARD SIDEBAR RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    /* Transform sidebar to mobile drawer */
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    /* Main content takes full width on mobile */
    .main-content {
        margin-left: 0 !important;
        padding: 1rem;
    }

    /* Page wrapper adjustments */
    .page-wrapper {
        flex-direction: column;
    }

    /* Dashboard header adjustments */
    .top-header,
    .header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Search bar full width on mobile */
    .search-bar,
    .search-box {
        max-width: 100%;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Header icons */
    .header-icons,
    .user-menu {
        width: 100%;
        justify-content: flex-end;
    }

    /* Mobile Sidebar Toggle Button */
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 998;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Content body padding */
    .content-body {
        padding: 1rem;
    }
}

/* Desktop - hide mobile toggle */
@media (min-width: 769px) {

    .mobile-menu-toggle,
    .sidebar-toggle,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ============================================
   ORDER TRACKER & STATUS RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    /* Tracker status steps vertical on mobile */
    .tracker-status {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-step {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        padding: 1rem 0;
        border-left: 3px solid var(--gray-300);
        padding-left: 1.5rem;
        position: relative;
    }

    .status-step i {
        margin-right: 1rem;
    }

    .status-step::after {
        display: none;
    }

    .status-step.completed,
    .status-step.active {
        border-left-color: var(--success);
    }

    /* Tracker header stack */
    .tracker-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   CHARTS & GRAPHS RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    .charts-row,
    .activity-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chart-container {
        height: 250px;
    }

    .chart-actions {
        flex-wrap: wrap;
    }
}

/* ============================================
   PROFILE & USER CARDS RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .user-profile,
    .profile-card {
        text-align: center;
    }

    .user-menu {
        gap: 0.5rem;
    }
}

/* ============================================
   FORM RESPONSIVENESS
   ============================================ */
@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }

    .name-fields {
        flex-direction: column;
        gap: 0;
    }

    .name-fields .form-group {
        margin-bottom: 1rem;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .form-control,
    .form-input {
        padding: 0.875rem 1rem;
    }
}

/* ============================================
   LANDING PAGE SPECIFIC RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    /* Hero section */
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .hero img {
        height: 250px !important;
        max-height: 250px;
    }

    /* Feature cards */
    .grid {
        grid-template-columns: 1fr;
    }

    /* CTA section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem !important;
    }

    .cta-section p {
        font-size: 1rem !important;
    }

    /* Footer columns stack */
    .grid.md\\:grid-cols-2,
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY RESPONSIVE HELPERS
   ============================================ */

/* Show/Hide on Different Screens */
.mobile-only {
    display: block;
}

.tablet-only,
.desktop-only {
    display: none;
}

@media (min-width: 481px) and (max-width: 768px) {
    .mobile-only {
        display: none;
    }

    .tablet-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 769px) {

    .mobile-only,
    .tablet-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mb-lg {
        margin-bottom: 1rem;
    }

    .mt-lg {
        margin-top: 1rem;
    }
}

/* Responsive Text Alignment */
@media (max-width: 480px) {
    .text-center-mobile {
        text-align: center;
    }

    .text-left-mobile {
        text-align: left;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

* {
    max-width: 100%;
}