/* Sirius Unified CSS - Coherent UI with Glass-morphism Effect */

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.auth-bg,
body.landing-bg,
.auth-bg,
.landing-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/static/images/dashboard-background-cut.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.dashboard-bg,
body.calendar-bg,
.dashboard-bg,
.calendar-bg {
    background-image: url('/static/images/dashboard-background-cut.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

.container.pt-5 {
    flex: 1 0 auto;
    padding-top: 5rem;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.page-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.section-title {
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Glass Morphism Components */
.glassmorphism-container,
.glass-card,
.glass-nav,
.glass-alert,
.glass-dropdown,
.glass-button,
.calendar-container,
.pricing-card,
.points-card,
.path-card,
.activity-card {
    background: rgba(245, 245, 220, 0.2);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glassmorphism-container {
    width: 450px;
    padding: 40px;
    position: relative;
}

.glass-card {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.glass-card .card-title {
    color: #333;
    font-weight: 600;
}

.glass-card .card-text {
    color: #555;
}

.glass-list-item {
    background: rgba(245, 245, 220, 0.1);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border: none;
    margin-bottom: 0.5rem;
    border-radius: 16px;
}

.glass-list-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.glass-list-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 0;
}

.glass-list-item i {
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    z-index: 10;
    backdrop-filter: blur(100px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(100px);
    width: 100%;
    padding: 0.5rem 1rem;
}

.img-nav {
    height: 10%;
    max-height: 50px;
    width: auto;
}

.glass-nav .navbar-brand,
.glass-nav .nav-link {
    font-weight: bold;
    font-size: large;
}

.glass-dropdown {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    background: rgba(40, 40, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.show>.glass-dropdown {
    display: block;
}

.glass-dropdown .dropdown-item {
    color: white;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: block;
    width: 100%;
    transition: background-color 0.2s ease;
}

.glass-dropdown .dropdown-item:hover {
    background-color: rgba(210, 180, 140, 0.4);
}

.glass-dropdown .dropdown-item.active {
    background-color: rgba(210, 180, 140, 0.5);
}

/* Buttons */
.glass-button,
.login-button,
.register-button,
.premium-btn {
    padding: 10px 20px;
    border: none;
    color: #f8f9fa;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    touch-action: manipulation;
}

.glass-button {
    width: 300px;
    background: #a0855b;
    display: inline-block;
}

.login-button,
.register-button {
    width: 100%;
    background: #a0855b;
    margin-top: 10px;
    margin-right: 5px;
    margin-left: 5px;
}

.premium-btn {
    background: linear-gradient(45deg, #f8d568, #e6a54c);
    color: #333;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 16px;
}

.glass-button:hover,
.login-button:hover,
.register-button:hover {
    background-color: #8c734d;
}

.premium-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(248, 213, 104, 0.5);
}

.btn-icon-only {
    width: auto;
    padding: 0.375rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-danger {
    background-color: #8c734d;
    border: 0px;
}

.add-item-btn {
    background: rgba(245, 245, 220, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Form Elements */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(245, 245, 220, 0.4);
    color: #333;
    width: 100%;
    font-size: 16px;
    padding: 0.375rem 0.75rem;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #a0855b;
    box-shadow: 0 0 0 0.25rem rgba(160, 133, 91, 0.25);
    color: #333;
}

.form-label {
    color: #f8f9fa;
    font-weight: 500;
}

.glass-input::placeholder {
    color: white;
}

/* Fix dropdown options text visibility */
.form-select.glass-input option,
.glass-input option,
select.form-select option {
    background-color: #333;
    color: white;
}

/* Fix option hover state */
.form-select.glass-input option:hover,
.glass-input option:hover,
select.form-select option:hover {
    background-color: #a0855b;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    border: none;
    border-bottom: 1px solid #555;
    outline: none;
    background: transparent;
}

.input-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #555;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

.input-box input:focus+label,
.input-box input:valid+label {
    transform: translateY(-20px);
    font-size: 12px;
    color: #333;
}

.form-switch .form-check-input:checked {
    background-color: #a0855b;
    border-color: #8c734d;
}

/* Scroll View */
.scroll-view {
    width: 100%;
    height: 500px;
    overflow: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    background: rgba(245, 245, 220, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    margin-bottom: 5px;
    min-height: calc(100vh - 120px - 5rem - 5px);
}

/* Calendar Styles */
.calendar-container {
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    color: white;
    padding: 10px;
}

.calendar-day {
    min-height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calendar-day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.add-daily-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(140, 115, 77, 0.3);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.add-daily-btn:hover {
    background: rgba(140, 115, 77, 0.6);
    transform: scale(1.1);
}

.entry-dot {
    height: 8px;
    width: 8px;
    background-color: #8c734d;
    border-radius: 50%;
    display: inline-block;
    margin-right: 3px;
}

.entry-item,
.activity-item {
    font-size: 0.8rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(140, 115, 77, 0.3);
    border-radius: 16px;
    padding: 2px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
}

.entry-item:hover,
.activity-item:hover {
    background: rgba(140, 115, 77, 0.5);
    transform: scale(1.02);
}

.month-nav {
    font-size: 1.5rem;
    cursor: pointer;
    color: #8c734d;
}

.activities-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 115, 77, 0.5) rgba(255, 255, 255, 0.1);
}

.activities-container::-webkit-scrollbar {
    width: 4px;
}

.activities-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.activities-container::-webkit-scrollbar-thumb {
    background-color: rgba(140, 115, 77, 0.5);
    border-radius: 16px;
}

/* Tab Styles */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.nav-tabs .nav-link:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-tabs .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: #8c734d;
    font-weight: 600;
}

/* Card Components */
.path-card,
.activity-card,
.points-card {
    border-radius: 16px;
    overflow: hidden;
}

.path-card:hover,
.activity-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.path-header,
.points-header {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.path-body,
.points-body {
    padding: 1.5rem;
}

.path-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8c734d;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.points-total {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8c734d;
    text-align: center;
    margin: 1rem 0;
}

.points-badge {
    background: rgba(140, 115, 77, 0.2);
    color: #8c734d;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.premium-badge {
    background: linear-gradient(45deg, #f8d568, #e6a54c);
    color: #333;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Table Styles */
.table-glass {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.table-glass th,
.table-glass td {
    background-color: transparent !important;
    color: white;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.table-glass thead th {
    color: #8c734d;
    font-weight: 600;
}

.table {
    color: rgba(255, 255, 255, 0.9);
}

.table thead th {
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(245, 245, 220, 0.1);
}

/* Carousel */
.carousel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    width: 100%;
}

.carousel-item {
    padding: 1rem;
}

.carousel-item img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
}

.carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    padding: 1rem;
}

/* Dog Profile */
.dog-profile-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 16px;
}

.dog-profile-placeholder {
    height: 100%;
    background-color: rgba(245, 245, 220, 0.5);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Paw Menu */
.paw-menu-container {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
}

.paw-start-button {
    font-size: 300%;
}

/* Image Preview */
.preview-image {
    max-width: 100px;
    max-height: 100px;
    margin: 5px;
    border-radius: 16px;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Paw List */
ul.paw-list {
    list-style-type: none;
    padding-left: 0;
}

ul.paw-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 3px;
}

ul.paw-list li::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    margin-left: -25px;
    background-image: url('/static/icons/icons-paw-100.jpg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Progress bar */
.progress-bar {
    background-color: rgba(140, 115, 77, 0.3) !important;
}

/* Notes */
.notes-input {
    height: 300px;
}

/* Alerts */
.alert {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: #333;
    margin-bottom: 15px;
    border-radius: 16px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
}

.alert .btn-close {
    color: #333;
    opacity: 0.8;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Links */
.links {
    text-align: center;
    margin-top: 20px;
}

.links a,
.links p {
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    display: block;
}

.links a:hover {
    text-decoration: underline;
    color: #8c734d;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .glassmorphism-container {
        width: 90%;
        padding: 30px;
    }

    .glass-button {
        width: 100%;
        max-width: 300px;
        margin: 5px auto;
    }

    .scroll-view {
        height: 400px;
    }

    .container.mt-5 {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .glassmorphism-container {
        width: 95%;
        padding: 25px;
        margin: 15px auto;
    }

    .glass-button,
    .login-button,
    .register-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .navbar-brand img {
        max-height: 48px !important;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col,
    .col-md-12,
    .col-md-6,
    .col-md-4,
    .col-md-3 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .dropdown-menu.glass-dropdown {
        position: absolute !important;
        float: none;
        width: auto;
        margin-top: 0.5rem;
    }

    .navbar-collapse {
        background: rgba(40, 40, 40, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 15px;
        margin-top: 10px;
        width: 100%;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 1031;
    }

    .scroll-view {
        height: 350px;
    }

    .calendar-container {
        padding: 15px;
    }

    /* Calendar adjustments */
    .calendar-grid {
        gap: 5px;
    }

    .calendar-day-header {
        padding: 5px;
        font-size: 0.9rem;
    }

    .calendar-day {
        min-height: 80px;
        max-height: 120px;
    }

    .month-nav {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .glassmorphism-container {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
        margin: 10px;
    }

    .glass-button {
        width: 100%;
        max-width: none;
        font-size: 14px;
        padding: 8px 12px;
    }

    .form-control,
    .form-select,
    .btn {
        height: 44px;
        font-size: 16px;
    }

    .navbar-brand img {
        max-height: 40px !important;
    }

    .scroll-view {
        height: 300px;
    }

    body.auth-bg,
    body.landing-bg {
        align-items: flex-start;
        padding-top: 10vh;
    }

    /* Calendar adjustments */
    .calendar-container {
        padding: 10px;
        border-radius: 10px;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day-header {
        padding: 3px;
        font-size: 0.8rem;
    }

    .calendar-day {
        min-height: 60px;
        max-height: 100px;
        padding: 3px;
    }

    .calendar-day-number {
        font-size: 0.7rem;
    }

    .entry-item,
    .activity-item {
        font-size: 0.7rem;
        padding: 1px 3px;
        margin-bottom: 2px;
    }

    .entry-dot {
        height: 6px;
        width: 6px;
        margin-right: 2px;
    }

    .month-nav {
        font-size: 1rem;
    }

    .paw-start-button {
        font-size: 150%;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Paw Point (Tassupiste) Styles */
.paw-point-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.paw-point-img.happy {
    filter: none;
}

.paw-point-img.sad {
    filter: grayscale(100%) brightness(0.5) opacity(0.7);
}

.paw-point-img.planned {
    filter: grayscale(0%) brightness(1) opacity(0.6);
    border: 2px dashed rgba(255, 193, 7, 0.5);
    border-radius: 50%;
    padding: 2px;
}

.paw-point-img.active {
    filter: grayscale(0%) brightness(1.2) saturate(1.5) opacity(0.85);
    border: 3px solid rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    padding: 2px;
    animation: activePulse 1.5s infinite;
    background: rgba(0, 123, 255, 0.1);
}

@keyframes activePulse {

    0%,
    100% {
        border-color: rgba(0, 123, 255, 0.8);
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
        transform: scale(1);
    }

    50% {
        border-color: rgba(0, 123, 255, 1);
        box-shadow: 0 0 20px rgba(0, 123, 255, 1);
        transform: scale(1.05);
    }
}

.paw-point-img.very-happy {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 193, 7, 0.8));
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }
}

/* ============================================
   LANDING PAGE & ANIMATIONS
   ============================================ */

/* Landing Page Layout */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
    overflow-x: hidden;
}

/* Remove default landing-bg background for landing-page */
.landing-page.landing-bg {
    background-image: none;
}

/* Landing Navbar */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-navbar .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.landing-navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.landing-navbar .navbar-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-navbar .nav-logo {
    height: 45px;
}

.landing-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.landing-navbar .nav-link:hover {
    color: #a0855b !important;
}

.landing-navbar .btn-nav {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.landing-navbar .btn-nav-primary {
    background: #a0855b;
    color: white;
    border: none;
}

.landing-navbar .btn-nav-primary:hover {
    background: #8c734d;
    transform: translateY(-1px);
}

.landing-navbar .btn-nav-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.landing-navbar .btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-1px);
    color: white;
}

/* Hero Section with Background Image */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: url('/static/images/dashboard-background-cut.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Dark overlay for hero - gradient fades to page background color */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(26, 26, 46, 0.95) 85%,
            rgba(26, 26, 46, 1) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo-landing {
    max-height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

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

.landing-cta-btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.landing-cta-btn-primary {
    background: #a0855b;
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(160, 133, 91, 0.4);
}

.landing-cta-btn-primary:hover {
    background: #8c734d;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(160, 133, 91, 0.5);
    color: white;
}

.landing-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.landing-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Feature Section */
.landing-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.landing-section.dark-section {
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a0855b 0%, #8c734d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(160, 133, 91, 0.4);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* How It Works Section */
.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a0855b 0%, #8c734d 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(160, 133, 91, 0.3) 0%, rgba(140, 115, 77, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(160, 133, 91, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Landing Footer */
.landing-footer {
    background: #0d0d1a;
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
    margin-top: auto;
    width: 100%;
}

.landing-footer .footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.landing-footer .footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.landing-footer .footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 300px;
}

.landing-footer h5 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.landing-footer .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer .footer-nav li {
    margin-bottom: 0.75rem;
}

.landing-footer .footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.landing-footer .footer-nav a:hover {
    color: #a0855b;
}

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

.landing-footer .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.landing-footer .social-link:hover {
    background: #a0855b;
    transform: translateY(-3px);
    color: white;
}

.landing-footer .footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.landing-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.landing-footer .footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.landing-footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-footer .footer-bottom-links a:hover {
    color: #a0855b;
}

@media (max-width: 768px) {
    .landing-footer {
        padding: 40px 0 0;
    }

    .landing-footer .footer-col {
        margin-bottom: 2rem;
        text-align: center;
    }

    .landing-footer .footer-tagline {
        margin: 0 auto;
    }

    .landing-footer .social-links {
        justify-content: center;
    }

    .landing-footer .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-scale {
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

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

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

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

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 992px) {
    .landing-title {
        font-size: 2.8rem;
    }

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

    .landing-section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .landing-navbar .nav-links {
        display: none;
    }

    .landing-title {
        font-size: 2.2rem;
    }

    .landing-subtitle {
        font-size: 1.1rem;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .landing-cta-btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 2rem;
    }

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

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .landing-cta-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   ENHANCED RESPONSIVE STYLES
   ============================================ */

/* Nav tabs responsive - stacked on mobile */
@media (max-width: 992px) {
    .nav-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .nav-tabs .nav-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .nav-tabs .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .nav-tabs .nav-link i {
        display: none;
    }
}

@media (max-width: 576px) {
    .nav-tabs {
        gap: 3px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 5px;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
}

/* Fitness paths accordion responsive */
@media (max-width: 768px) {
    .accordion .card-header button {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .accordion .card-header button>.d-flex {
        width: 100%;
    }

    .accordion .card-header img,
    .accordion .card-header video {
        width: 80px !important;
        height: 60px !important;
    }

    .accordion .card-body {
        padding: 1rem;
    }

    .accordion .card-body .row {
        flex-direction: column;
    }

    .accordion .card-body .col-md-6 {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {

    .accordion .card-header img,
    .accordion .card-header video {
        width: 60px !important;
        height: 45px !important;
    }

    .accordion .card-header h5 {
        font-size: 0.9rem;
    }

    .accordion .card-header p {
        font-size: 0.75rem;
    }
}

/* Dashboard header responsive */
@media (max-width: 768px) {
    .card-body .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .card-body .d-flex.justify-content-between>* {
        width: 100%;
    }

    #selected-dog {
        justify-content: center;
    }

    .action-buttons {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .dog-item {
        padding: 0.5rem 0.75rem !important;
    }

    .dog-item span {
        font-size: 0.9rem;
    }
}

/* Paw menu responsive */
@media (max-width: 768px) {
    .paw-menu-container img {
        max-width: 100%;
        height: auto;
    }

    .paw-start-button {
        font-size: 200% !important;
    }
}

@media (max-width: 576px) {
    .paw-start-button {
        font-size: 150% !important;
    }

    .paw-menu-container {
        padding: 0 10px;
    }
}

@media (max-width: 400px) {
    .paw-start-button {
        font-size: 120% !important;
    }
}

/* Modal responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-content {
        border-radius: 12px;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-lg {
        max-width: calc(100% - 1rem);
    }
}

/* Form responsive */
@media (max-width: 576px) {
    .input-box {
        margin-bottom: 15px;
    }

    .input-box input {
        font-size: 16px;
        padding: 8px 0;
    }

    .input-box label {
        font-size: 14px;
    }

    .form-label {
        font-size: 0.9rem;
    }
}

/* Login/Register box responsive */
.login-box {
    width: 100%;
    max-width: 400px;
}

.register-box {
    max-width: 450px;
}

@media (max-width: 576px) {

    .login-box,
    .register-box {
        padding: 20px !important;
    }

    .login-box h2 {
        font-size: 1.5rem;
    }
}

/* Scroll view responsive */
@media (max-width: 768px) {
    .scroll-view {
        min-height: calc(100vh - 180px);
        height: auto;
        max-height: none;
    }
}

@media (max-width: 576px) {
    .scroll-view {
        padding: 0.75rem;
        min-height: calc(100vh - 160px);
    }
}

/* Card responsive */
@media (max-width: 768px) {
    .glass-card .card-body {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .glass-card .card-body {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }
}

/* Button responsive */
@media (max-width: 576px) {
    .btn-sm-md {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    .glass-button {
        width: auto;
        min-width: 0;
    }

    .d-flex.gap-2 {
        gap: 0.5rem !important;
    }
}

/* Table responsive */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 0.8rem;
    }

    .table th,
    .table td {
        padding: 0.35rem;
    }
}

/* Section title responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.25rem;
    }

    h4.text-white {
        font-size: 1.1rem;
    }

    h5.text-white {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.1rem;
    }

    h4.text-white {
        font-size: 1rem;
    }

    h5.text-white {
        font-size: 0.95rem;
    }
}

/* Fitness paths content responsive */
@media (max-width: 768px) {
    .fitness-path-content .carousel {
        margin-bottom: 1rem;
    }

    .fitness-path-content .carousel-item img,
    .fitness-path-content .carousel-item video {
        max-height: 250px;
    }
}

@media (max-width: 576px) {

    .fitness-path-content .carousel-item img,
    .fitness-path-content .carousel-item video {
        max-height: 200px;
    }
}

/* Weekly plan modal responsive */
@media (max-width: 768px) {
    #weeklyPlanModal .modal-body .row {
        flex-direction: column;
    }

    #weeklyPlanModal .col-md-6 {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Year overview paw points responsive */
@media (max-width: 768px) {
    .paw-point-week {
        width: 55px !important;
        height: 65px !important;
    }

    .paw-point-img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .paw-point-week {
        width: 45px !important;
        height: 55px !important;
    }

    .paw-point-img {
        width: 25px;
        height: 25px;
    }

    .paw-point-week small {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 400px) {
    .paw-point-week {
        width: 38px !important;
        height: 48px !important;
    }

    .paw-point-img {
        width: 20px;
        height: 20px;
    }
}

/* Wellbeing test form responsive */
@media (max-width: 768px) {
    .wellbeing-question .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .wellbeing-question label {
        flex: 1 1 calc(33% - 0.5rem);
        min-width: 90px;
    }
}

@media (max-width: 576px) {
    .wellbeing-question label {
        flex: 1 1 100%;
        justify-content: center !important;
    }
}

/* Grey border for cards */
.grey-border {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Fixed alert positioning */
.glass-alert-fixed {
    position: fixed;
    top: 80px;
    right: 20px;
    left: auto;
    transform: none;
    z-index: 1050;
    max-width: 90%;
    width: auto;
}

@media (max-width: 576px) {
    .glass-alert-fixed {
        top: 70px;
        max-width: 95%;
        font-size: 0.9rem;
    }
}

/* Dropdown responsive */
@media (max-width: 576px) {
    .dropdown-menu.glass-dropdown {
        min-width: 8rem;
    }

    .dropdown-item {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Container padding responsive */
@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container.pt-5 {
        padding-top: 4rem !important;
    }

    .container.mt-5 {
        margin-top: 2rem !important;
    }
}

/* Premium badge responsive */
@media (max-width: 576px) {
    .premium-badge-overlay {
        padding: 4px 10px !important;
        top: 5px !important;
        right: 5px !important;
    }

    .premium-badge-overlay i {
        font-size: 10px !important;
    }

    .premium-badge-overlay span {
        font-size: 10px !important;
    }
}

/* Fitness path card header responsive */
@media (max-width: 576px) {
    .card-header .btn {
        padding: 0.5rem;
    }

    .card-header .d-flex.align-items-center {
        flex-wrap: wrap;
    }

    .card-header .flex-grow-1 h5 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .card-header .flex-grow-1 p {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
}

/* ============================================
   LANDING PAGE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .logo-landing {
        max-height: 100px;
    }

    .landing-navbar .container {
        padding: 0 15px;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .landing-navbar {
        padding: 12px 0;
    }

    .landing-navbar .nav-logo {
        height: 35px;
    }

    .logo-landing {
        max-height: 80px;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-section .container {
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .landing-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .landing-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .step-card h4 {
        font-size: 1.1rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 1.25rem;
    }

    .cta-box {
        border-radius: 20px;
        padding: 35px 20px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .landing-navbar .container {
        padding: 0 12px;
    }

    .landing-navbar .nav-logo {
        height: 30px;
    }

    .landing-navbar .gap-3 {
        gap: 0.5rem !important;
    }

    .landing-navbar .btn-nav {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .logo-landing {
        max-height: 60px;
        margin-bottom: 1rem;
    }

    .landing-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .landing-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .landing-cta-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .landing-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .feature-icon-wrapper {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .step-card {
        padding: 1rem 0.5rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 30px 15px;
        border-radius: 15px;
    }

    .cta-box h2 {
        font-size: 1.3rem;
    }

    .cta-box p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* About section mobile */
    .landing-section .text-start {
        text-align: center !important;
    }

    .landing-section .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        text-align: center;
    }

    .landing-section .d-flex.align-items-center.gap-3 img {
        margin-bottom: 0.5rem;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .landing-title {
        font-size: 1.4rem;
    }

    .landing-subtitle {
        font-size: 0.875rem;
    }

    .landing-cta-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

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

    .feature-card {
        padding: 1.25rem;
    }

    .cta-box h2 {
        font-size: 1.2rem;
    }
}

/* Fix for iOS viewport height issues */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* ============================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ============================================ */

/* Hamburger button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger-line:nth-child(2) {
    transform: scaleX(1);
}

.hamburger-line:nth-child(3) {
    transform: translateY(6px);
}

/* Hamburger open state - X animation */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
    z-index: 1060;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-menu-overlay.open .mobile-menu {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px;
    gap: 20px;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(-5px);
}

.mobile-menu-link-primary {
    background: #a0855b;
    border-color: #a0855b;
}

.mobile-menu-link-primary:hover {
    background: #8c734d;
    border-color: #8c734d;
    transform: translateX(-5px);
}

/* About section logo responsive */
.about-logo {
    max-width: 250px !important;
}

@media (max-width: 768px) {
    .about-logo {
        max-width: 150px !important;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .about-logo {
        max-width: 120px !important;
    }

    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .mobile-menu-content {
        padding: 90px 20px 30px;
    }
}

/* Legal Pages */
.legal-page-bg {
    background-image: url('/static/images/dashboard-background-cut.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.legal-page-bg .glass-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Terms Consent Checkbox */
.terms-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.terms-consent:has(input:checked) {
    border-color: rgba(40, 167, 69, 0.4);
}

.terms-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #a0855b;
    cursor: pointer;
}

.terms-consent label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.terms-consent label a {
    color: #d2b48c;
    text-decoration: underline;
    text-decoration-color: rgba(210, 180, 140, 0.4);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.terms-consent label a:hover {
    text-decoration-color: #d2b48c;
    color: #e6c8a0;
}