/* Pages CSS - Maintaining OzPath Aesthetic */

/* Global Page Constraints - Prevent Horizontal Overflow */
.main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section,
.packages-section,
.lodgement-faq-section,
.cta-section,
.page-hero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Advanced Page Header with Complex Design */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    z-index: 100;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(30, 144, 255, 0.05) 0%,
        rgba(0, 102, 204, 0.03) 25%,
        rgba(30, 144, 255, 0.08) 50%,
        rgba(0, 102, 204, 0.03) 75%,
        rgba(30, 144, 255, 0.05) 100%
    );
    opacity: 0.6;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 144, 255, 0.4) 20%,
        rgba(0, 102, 204, 0.6) 50%,
        rgba(30, 144, 255, 0.4) 80%,
        transparent 100%
    );
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-nav {
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.logo-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: -5px;
    right: -10px;
    bottom: -5px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo-link:hover::before {
    border-color: rgba(30, 144, 255, 0.3);
    background: rgba(30, 144, 255, 0.05);
}

.header-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.header-logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(30, 144, 255, 0.3), rgba(0, 102, 204, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-link:hover .header-logo::after {
    opacity: 1;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.8), rgba(0, 102, 204, 0.8));
    transition: width 0.3s ease;
}

.logo-link:hover .logo-text::after {
    width: 100%;
}

/* Advanced Navigation */
.page-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.page-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(30, 144, 255, 0.1) 0%,
        rgba(0, 102, 204, 0.05) 50%,
        rgba(30, 144, 255, 0.1) 100%);
    border-radius: 25px;
    opacity: 0.3;
    pointer-events: none;
}

/* Nav styles for dark background pages only (terms, disclaimer, etc.) */
.page-terms .nav-link,
.page-disclaimer .nav-link,
.page-appterms .nav-link,
.page-privacy .nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    overflow: hidden;
}

.page-terms .nav-link::before,
.page-disclaimer .nav-link::before,
.page-appterms .nav-link::before,
.page-privacy .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(0, 102, 204, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.page-terms .nav-link::after,
.page-disclaimer .nav-link::after,
.page-appterms .nav-link::after,
.page-privacy .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.8), rgba(0, 102, 204, 0.8));
    transition: width 0.3s ease;
}

.page-terms .nav-link:hover,
.page-terms .nav-link.active,
.page-disclaimer .nav-link:hover,
.page-disclaimer .nav-link.active,
.page-appterms .nav-link:hover,
.page-appterms .nav-link.active,
.page-privacy .nav-link:hover,
.page-privacy .nav-link.active {
    color: white;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
}

.page-terms .nav-link:hover::before,
.page-terms .nav-link.active::before,
.page-disclaimer .nav-link:hover::before,
.page-disclaimer .nav-link.active::before,
.page-appterms .nav-link:hover::before,
.page-appterms .nav-link.active::before,
.page-privacy .nav-link:hover::before,
.page-privacy .nav-link.active::before {
    opacity: 1;
}

.page-terms .nav-link:hover::after,
.page-terms .nav-link.active::after,
.page-disclaimer .nav-link:hover::after,
.page-disclaimer .nav-link.active::after,
.page-appterms .nav-link:hover::after,
.page-appterms .nav-link.active::after,
.page-privacy .nav-link:hover::after,
.page-privacy .nav-link.active::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(30, 144, 255, 0.2);
}

/* Scroll Effect */
.page-header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(25px);
    border-bottom-color: rgba(30, 144, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-header.scrolled::before {
    opacity: 0.8;
}

/* Page Hero Section */
.page-hero {
    min-height: 0.2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px; /* Account for fixed header */
    padding-bottom: 2px;
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Add top padding to page header content sections in legal pages */
.section .page-header.glass-card {
    padding-top: 100px;
}

/* Content Sections */
.content-section {
    padding: 0.2px 0;
    position: relative;
}

.content-section.alternate {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 137, 230, 0.15) !important;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    transition: none;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(46, 137, 230, 0.15) !important;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-blue, #1E90FF);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Grid - Professional & Complex Design */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(45deg, rgba(30, 144, 255, 0.1), rgba(0, 102, 204, 0.1));
    padding: 2px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.values-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(30, 144, 255, 0.05) 0%,
        rgba(0, 102, 204, 0.05) 25%,
        rgba(30, 144, 255, 0.1) 50%,
        rgba(0, 102, 204, 0.05) 75%,
        rgba(30, 144, 255, 0.05) 100%
    );
    opacity: 0.5;
    pointer-events: none;
}

.value-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(30, 144, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(30, 144, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(30, 144, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.value-icon::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.6), transparent);
    transition: width 0.3s ease;
}

.value-card:hover .value-icon::after {
    width: 60px;
}

.value-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

/* Complex grid pattern overlay */
.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(30, 144, 255, 0.1) 50%, transparent 70%),
        radial-gradient(circle at center, rgba(30, 144, 255, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::after {
    opacity: 1;
}

/* Professional indicators */
.value-card:nth-child(1) { border-top: 2px solid rgba(30, 144, 255, 0.3); }
.value-card:nth-child(2) { border-right: 2px solid rgba(0, 102, 204, 0.3); }
.value-card:nth-child(3) { border-left: 2px solid rgba(30, 144, 255, 0.3); }
.value-card:nth-child(4) { border-bottom: 2px solid rgba(0, 102, 204, 0.3); }

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(0, 102, 204, 0.1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-blue, #1E90FF), var(--secondary-blue, #0066CC));
    color: white;
    border: none;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.4);
}

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

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

/* Content Blocks for Terms/Privacy pages */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    margin-bottom: 3rem;
}

.content-block:hover {
    transform: none !important;
    box-shadow: none !important;
}

.content-block h2 {
    color: var(--secondary-blue, #1E90FF);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
}

.content-block h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.content-block p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-block ul {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 8px;
}

.highlight-box {
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 12px 0;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .page-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .page-hero {
        min-height: 0.15vh;
        padding-top: 60px;
        padding-bottom: 1px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        max-width: 500px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
    
    .value-icon {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Mobile responsive navigation */
@media screen and (max-width: 768px) {
    .header-content {
        justify-content: space-between !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .page-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: linear-gradient(
            135deg,
            rgba(13, 36, 73, 0.95) 0%,
            rgba(25, 64, 132, 0.95) 50%,
            rgba(13, 36, 73, 0.95) 100%
        );
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 40px 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
    }
    
    .page-nav.mobile-open {
        right: 0;
    }
    
    .page-nav .nav-link {
        margin: 0;
        padding: 18px 30px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .page-nav .nav-link:hover,
    .page-nav .nav-link.active {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 100%
        );
        border-left: 4px solid #3b82f6;
        transform: translateX(4px);
    }
    
    .page-nav .nav-link.active {
        color: #3b82f6;
        font-weight: 600;
    }
    
    .page-nav .nav-link:last-child {
        margin-top: 20px;
        background: linear-gradient(
            135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(37, 99, 235, 0.2) 100%
        );
        color: #60a5fa;
        font-weight: 600;
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 12px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .page-nav .nav-link:last-child:hover {
        background: linear-gradient(
            135deg,
            rgba(59, 130, 246, 0.3) 0%,
            rgba(37, 99, 235, 0.3) 100%
        );
        transform: translateX(0) scale(1.02);
    }
}

/* Mobile overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 480px) {
    .page-nav {
        width: 100%;
        right: -100%;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 0.15px 0;
    }
    
    .feature-card,
    .value-card {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Story Content Styles */
.story-content {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.story-text:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-top: 30px;
    margin-bottom: 0;
}

.timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 2;
    margin: 0 auto;
}

.timeline-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.timeline-content {
    flex: none;
    width: 280px;
    height: 180px;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 137, 230, 0.15) !important;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.timeline-content:hover {
    background: transparent;
    border-color: rgba(46, 137, 230, 0.15) !important;
    transform: none;
    box-shadow: none;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateX(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    bottom: -24px;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::before {
    top: -24px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* Mobile Timeline */
@media (max-width: 768px) {
    .story-timeline {
        flex-direction: column;
        min-height: auto;
        padding: 20px 0;
    }
    
    .story-timeline::before {
        left: 30px;
        right: auto;
        top: 0;
        bottom: 0;
        height: auto;
        width: 2px;
        background: linear-gradient(
            180deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(59, 130, 246, 0.8) 50%,
            rgba(59, 130, 246, 0.2) 100%
        );
        transform: none;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        align-items: flex-start;
        margin: 0 0 40px 0;
        max-width: none;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .timeline-marker {
        margin-left: 0;
        width: 50px;
        height: 50px;
        margin-right: 0;
    }
    
    .timeline-icon {
        font-size: 1.3rem;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100vw - 120px);
        max-width: 300px;
        height: 160px;
        margin-left: 30px;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 0;
        text-align: left;
        padding: 18px;
        flex: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -12px;
        right: auto;
        top: 50%;
        bottom: auto;
        border: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 0.1);
        border-left-color: transparent;
        border-top-color: transparent;
        border-bottom-color: transparent;
        transform: translateY(-50%);
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .story-timeline {
        margin-top: 40px;
    }
    
    .timeline-item {
        margin-bottom: 50px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon {
        font-size: 1.1rem;
    }
    
    .timeline-content {
        width: 280px;
        height: 160px;
        max-width: 280px;
        padding: 18px;
        margin-left: 25px;
        margin-right: 0;
        flex: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .timeline-description {
        font-size: 0.9rem;
    }
}

/* Interactive Timeline Animation Styles */
.story-timeline {
    --reveal-stage: 1;
}

.timeline-item {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* First milestone is always visible */
.timeline-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Progressive revelation stages */
.story-timeline[data-stage="1"] .timeline-item:nth-child(1),
.story-timeline[data-stage="2"] .timeline-item:nth-child(1),
.story-timeline[data-stage="2"] .timeline-item:nth-child(2),
.story-timeline[data-stage="3"] .timeline-item:nth-child(1),
.story-timeline[data-stage="3"] .timeline-item:nth-child(2),
.story-timeline[data-stage="3"] .timeline-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Hover enhancement for revealed items */
.timeline-item.revealed:hover .timeline-content {
    transform: translateY(-8px) scale(1.02);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.timeline-item.revealed:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.5);
}

/* Interactive cursor for active items */
.timeline-item.revealed {
    cursor: pointer;
}

/* Staggered animation delays */
.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.4s;
}

/* Timeline line grows progressively */
.story-timeline::before {
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-timeline[data-stage="1"]::before {
    height: 25%;
}

.story-timeline[data-stage="2"]::before {
    height: 65%;
}

.story-timeline[data-stage="3"]::before {
    height: 100%;
}

/* Pulse effect for interactive hints */
@keyframes pulseHint {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(59, 130, 246, 0.6),
            0 0 50px rgba(59, 130, 246, 0.4);
    }
}

.timeline-item.revealed .timeline-marker {
    animation: pulseHint 3s ease-in-out infinite;
}

/* Mobile interactive adjustments */
@media (max-width: 768px) {
    .story-timeline[data-stage="1"]::before {
        height: 20%;
    }
    
    .story-timeline[data-stage="2"]::before {
        height: 60%;
    }
    
    .timeline-item.revealed:hover .timeline-content {
        transform: translateY(-4px) scale(1.01);
    }
}

/* ==========================================
   VISA LODGEMENT PAGE STYLES
   ========================================== */

/* Page Hero for Lodgement */
.page-hero {
    background: linear-gradient(180deg, rgba(0, 101, 251, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 120px 24px 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0065fb;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.back-link:hover {
    gap: 12px;
}

.back-link i {
    font-size: 0.875rem;
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 101, 251, 0.1) 0%, rgba(46, 137, 230, 0.15) 100%);
    color: #0065fb;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

h1.page-title,
.page-hero-content .page-title,
.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Visa Lodgement Page - Force black title */
#lodgement-hero .page-title,
#lodgement-hero h1,
.visa-lodgement-page .page-title,
.visa-lodgement-page .page-hero-content h1 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Packages Section */
.packages-section {
    padding: 60px 0 80px;
}

/* Visa Lodgement Page - Desktop spacing reduction */
#lodgement-packages {
    padding-top: 15px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: #ffffff;
    border: 1px solid rgba(46, 137, 230, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 101, 251, 0.12);
    border-color: rgba(0, 101, 251, 0.2);
}

.package-card.featured {
    border: 2px solid #0065fb;
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 101, 251, 0.15);
}

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

.package-card.premium {
    background: linear-gradient(180deg, rgba(0, 101, 251, 0.02) 0%, #ffffff 100%);
}

.popular-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0065fb 0%, #2e89e6 100%);
    color: white;
    padding: 8px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 12px 12px;
}

.package-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(46, 137, 230, 0.08);
}

.package-card.featured .package-header {
    padding-top: 48px;
}

.package-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(46, 137, 230, 0.08);
    color: #0065fb;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.package-type.premium-type {
    background: linear-gradient(135deg, rgba(0, 101, 251, 0.12) 0%, rgba(46, 137, 230, 0.18) 100%);
}

.package-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0065fb;
    line-height: 1;
}

.price-term {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.package-tagline {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.package-body {
    padding: 24px;
}

.features-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(46, 137, 230, 0.06);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: #0065fb;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.package-features li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.package-features li strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
}

.package-features li span {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.package-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(241, 245, 249, 0.8);
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #64748b;
}

.package-note i {
    color: #94a3b8;
}

.package-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(0, 101, 251, 0.08) 0%, rgba(46, 137, 230, 0.12) 100%);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0065fb;
}

.package-highlight.premium-highlight {
    background: linear-gradient(135deg, rgba(0, 101, 251, 0.1) 0%, rgba(46, 137, 230, 0.15) 100%);
}

.package-highlight i {
    font-size: 0.875rem;
}

/* Lodgement FAQ Section */
.lodgement-faq-section {
    background: linear-gradient(180deg, rgba(46, 137, 230, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 0 0 80px 0;
}

/* CTA Section */
.cta-section {
    padding: 48px 0;
    background: transparent;
}

/* Visa Lodgement Page - CTA Section reduced spacing */
.visa-lodgement-page .cta-section {
    padding: 0 0 120px 0;
    margin: 0;
    min-height: auto;
}

/* Visa Lodgement Page - Disclaimer Section no bottom spacing */
.visa-lodgement-page .disclaimer-section {
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: auto;
}

/* Add space between disclaimer and CTA - Desktop */
.visa-lodgement-page .disclaimer-section + .cta-section {
    margin-top: 60px;
    padding-top: 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-section .app-store-badge {
    height: 56px;
    width: auto;
    transition: transform 0.3s ease;
}

.cta-section .app-store-badge:hover {
    transform: scale(1.05);
}

/* Mobile Responsive for Lodgement Page ONLY - Using specific IDs */
@media (max-width: 768px) {
    #lodgement-hero {
        padding: 15px 16px 16px !important;
        margin: 0 !important;
    }

    #lodgement-packages {
        padding: 32px 0 24px 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    #lodgement-packages .container {
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    #lodgement-hero {
        padding: 20px 12px 12px !important;
        margin: 0 !important;
    }

    #lodgement-packages {
        padding: 24px 0 20px 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    #lodgement-packages .container {
        padding-top: 0 !important;
    }
}

/* Mobile Responsive for Lodgement Page */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .package-card.featured {
        transform: none;
        order: -1;
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    /* Page Hero Mobile */
    .page-hero {
        padding: 70px 16px 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .page-hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .page-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .page-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        word-wrap: break-word;
    }

    .page-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .page-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    /* Packages Section Mobile */
    .packages-section {
        padding: 40px 0 60px;
        width: 100%;
        overflow-x: hidden;
    }

    .packages-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .packages-grid {
        gap: 20px;
        padding: 0 16px;
    }

    .package-header {
        padding: 24px 16px 20px;
    }

    .package-card.featured .package-header {
        padding-top: 40px;
    }

    .package-name {
        font-size: 1.375rem;
    }

    .price-value {
        font-size: 1.875rem;
    }

    .package-body {
        padding: 16px;
    }

    .package-features li {
        padding: 10px 0;
    }

    .package-features li strong {
        font-size: 0.9rem;
    }

    .package-features li span {
        font-size: 0.75rem;
    }

    /* FAQ Section Mobile */
    .lodgement-faq-section {
        padding: 24px 0 32px 0;
        width: 100%;
        min-height: auto;
    }

    .lodgement-faq-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .lodgement-faq-section .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .faq-question {
        padding: 16px;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 16px;
        font-size: 0.875rem;
        max-height: 0;
        overflow: hidden;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
        max-height: 1000px;
    }

    /* Disclaimer Section Mobile */
    .visa-lodgement-page .disclaimer-section {
        padding: 24px 0;
        min-height: auto;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 40px 16px;
        width: 100%;
    }

    /* Visa Lodgement Page - CTA spacing on mobile */
    .visa-lodgement-page .cta-section {
        padding: 24px 16px 80px 16px;
        margin: 0;
    }

    /* Override desktop spacing between disclaimer and CTA on mobile */
    .visa-lodgement-page .disclaimer-section + .cta-section {
        margin-top: 0;
    }

    .cta-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .cta-title {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }

    .cta-subtitle {
        font-size: 0.9375rem;
        max-width: 100%;
    }
}

/* ==========================================
   PACKAGES CAROUSEL (Mobile Only)
   ========================================== */

/* Show/Hide based on viewport */
.desktop-only {
    display: grid;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    /* Packages Carousel Container */
    .packages-carousel {
        position: relative;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        padding: 0 0 50px;
        box-sizing: border-box;
    }

    .packages-carousel-track {
        display: flex;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        touch-action: pan-x;
        width: 100%;
    }

    .package-slide {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .package-slide .package-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .package-slide .package-card.featured {
        transform: none;
        box-shadow: 0 8px 24px rgba(0, 101, 251, 0.15);
    }

    .package-slide .package-header {
        padding: 20px 16px 16px;
    }

    .package-slide .package-card.featured .package-header {
        padding-top: 36px;
    }

    .package-slide .package-name {
        font-size: clamp(1.25rem, 5vw, 1.375rem);
    }

    .package-slide .price-value {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }

    .package-slide .package-tagline {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .package-slide .package-body {
        padding: 16px;
    }

    .package-slide .features-heading {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .package-slide .package-features li {
        padding: 8px 0;
    }

    .package-slide .package-features li strong {
        font-size: 0.875rem;
    }

    .package-slide .package-features li span {
        font-size: 0.75rem;
    }

    .package-slide .package-note,
    .package-slide .package-highlight {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    /* Popular ribbon adjustment for mobile */
    .package-slide .popular-ribbon {
        font-size: 0.625rem;
        padding: 6px 24px;
    }

    /* Carousel Indicators - Fixed position, no stretch */
    .packages-carousel-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        min-width: auto;
        max-width: none;
    }

    .packages-indicator {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        max-width: 8px;
        max-height: 8px;
        flex-shrink: 0;
        flex-grow: 0;
        border-radius: 50%;
        border: none;
        background: rgba(0, 101, 251, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .packages-indicator.active {
        background: #0065fb;
        transform: scale(1.2);
    }

    .packages-indicator:hover {
        background: rgba(0, 101, 251, 0.4);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .page-hero {
        padding: 64px 12px 20px;
    }

    .page-title {
        font-size: clamp(1.5rem, 8vw, 1.875rem) !important;
    }

    .page-subtitle {
        font-size: 0.9375rem;
    }

    .packages-section {
        padding: 32px 0 50px;
    }

    .package-slide {
        padding: 0 12px;
    }

    .package-slide .package-header {
        padding: 16px 14px 14px;
    }

    .package-slide .package-card.featured .package-header {
        padding-top: 32px;
    }

    .package-slide .package-body {
        padding: 14px;
    }

    .package-slide .package-features li {
        padding: 6px 0;
    }

    .lodgement-faq-section {
        padding: 20px 0 28px 0;
        min-height: auto;
    }

    .lodgement-faq-section .container {
        padding: 0 12px;
    }

    .faq-question {
        padding: 14px 12px;
        font-size: 0.875rem;
    }

    .faq-answer {
        padding: 0 12px;
        font-size: 0.8125rem;
        max-height: 0;
        overflow: hidden;
    }

    .faq-item.active .faq-answer {
        padding: 0 12px 14px;
        max-height: 1000px;
    }

    /* Disclaimer Section Small Mobile */
    .visa-lodgement-page .disclaimer-section {
        padding: 20px 0;
        min-height: auto;
    }

    .cta-section {
        padding: 32px 12px;
    }

    /* Visa Lodgement Page - CTA spacing on small mobile */
    .visa-lodgement-page .cta-section {
        padding: 20px 12px 72px 12px;
    }

    .cta-title {
        font-size: clamp(1.25rem, 6vw, 1.5rem);
    }

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

/* ========================================
   HOW IT WORKS PAGE STYLES
   ======================================== */

/* How It Works Page Body */
.how-it-works-page {
    background: #ffffff;
}

/* Hero Section for How It Works */
.how-it-works-page .page-hero {
    padding: 100px 24px 0;
    background: #ffffff;
    min-height: auto;
}

.how-it-works-page .page-title {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
}

/* Steps Section */
.hiw-steps-section,
#hiw-steps {
    padding: 0;
    margin: 0;
    min-height: auto;
    background: #ffffff;
}

.hiw-lodgement {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hiw-lodgement-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hiw-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.lodgement-step {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 520px;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.45s ease;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.lodgement-step:last-child {
    margin-bottom: 0;
}

.lodgement-step:nth-child(1) { --step-order: 1; }
.lodgement-step:nth-child(2) { --step-order: 2; }
.lodgement-step:nth-child(3) { --step-order: 3; }
.lodgement-step:nth-child(4) { --step-order: 4; }
.lodgement-step:nth-child(5) { --step-order: 5; }
.lodgement-step:nth-child(6) { --step-order: 6; }

.step-body {
    width: min(860px, 100%);
    border-radius: 36px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 28px 34px 28px 92px;
    position: relative;
}

.step-count {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 0.08em;
}

.step-body h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.step-body p {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}


.hiw-side-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hiw-info-card {
    border-radius: 20px;
    background: #f0f9ff;
    border: 1px solid rgba(30, 144, 255, 0.2);
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-card-header i {
    color: #0066cc;
    font-size: 1.2rem;
}

.info-card-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.info-card-header p {
    margin: 4px 0 0 0;
    color: #475569;
    font-size: 0.9rem;
}

.hiw-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hiw-info-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #0f172a;
}

.hiw-info-card li i {
    color: #0f9d58;
}

.hiw-note-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
}

.hiw-note-card i {
    color: #64748b;
    font-size: 1.1rem;
}

.hiw-note-card p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Video Section */

/* How It Works Page - FAQ Section uses lodgement-faq-section styling */
.how-it-works-page .lodgement-faq-section {
    padding: 40px 0;
    background: #ffffff;
}

/* How It Works CTA Section */
.how-it-works-page .cta-section {
    padding: 40px 0 120px 0;
    margin: 0;
    min-height: auto;
    background: #ffffff;
}

/* ========================================
   HOW IT WORKS - MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hiw-lodgement {
        padding: 24px 16px 0;
    }

    .hiw-lodgement-content {
        grid-template-columns: 1fr;
    }

    .hiw-side-column {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hiw-info-card,
    .hiw-note-card {
        flex: 1 1 280px;
    }
}

@media (max-width: 768px) {
    .how-it-works-page .page-hero {
        padding: 15px 16px 0;
        min-height: auto;
    }

    .step-body {
        padding: 20px 20px 20px 70px;
        border-radius: 28px;
    }

    .hiw-side-column {
        flex-direction: column;
    }

    .how-it-works-page .lodgement-faq-section {
        padding: 24px 16px;
    }

    .how-it-works-page .cta-section {
        padding: 24px 16px 80px 16px;
        margin: 0;
    }
}

@media (max-width: 520px) {
    .hiw-lodgement {
        padding: 20px 12px 0;
    }

    .step-body {
        border-radius: 16px;
        padding: 20px;
    }

    .hiw-info-card,
    .hiw-note-card {
        padding: 16px;
    }

    .hiw-note-card {
        flex-direction: column;
    }

    .how-it-works-page .lodgement-faq-section {
        padding: 20px 12px;
    }

    .how-it-works-page .cta-section {
        padding: 20px 12px 72px 12px;
    }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* FAQ Page - Force black title */
.faq-page .page-hero .page-title,
.faq-page .page-hero-content h1 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

/* FAQ Page - Back link spacing */
.faq-page .back-link {
    margin-bottom: 32px;
}

/* FAQ Page - Reduce space between hero and first section */
.faq-page .page-hero {
    padding-bottom: 30px;
}

.faq-page .faq-section:first-of-type {
    padding-top: 20px;
}

/* ============================================
   PRIVACY POLICY PAGE STYLES
   ============================================ */

/* Remove ALL background effects - completely plain white background */
.page-privacy,
.page-privacy html,
.page-privacy body {
    background: #ffffff !important;
    background-image: none !important;
}

.page-privacy .main,
.page-privacy .section,
.page-privacy .container,
.page-privacy .content-wrapper {
    background: #ffffff !important;
    background-image: none !important;
}

/* Remove all pseudo-elements that could have effects */
.page-privacy *::before,
.page-privacy *::after {
    background: none !important;
    background-image: none !important;
    animation: none !important;
    opacity: 0 !important;
    display: none !important;
}

/* Remove all floating/animated elements */
.page-privacy .floating,
.page-privacy .animated-bg,
.page-privacy .particle,
.page-privacy .particles,
.page-privacy .glow,
.page-privacy [class*="float"],
.page-privacy [class*="particle"],
.page-privacy [class*="glow"],
.page-privacy [class*="animate"],
.page-privacy [class*="animation"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    animation: none !important;
}

/* Disable all animations on the page */
.page-privacy * {
    animation: none !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

/* Re-enable necessary elements */
.page-privacy .nav,
.page-privacy .nav *,
.page-privacy .nav-toggle span,
.page-privacy .footer,
.page-privacy .footer * {
    display: revert;
    opacity: revert;
    visibility: revert;
}

/* Glass card styling - solid white */
.page-privacy .glass-card {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Keep footer dark */
.page-privacy .footer {
    background: #1a1a2e !important;
}

/* ============================================
   PRICING COMPARISON TABLE STYLES - MINIMALIST
   ============================================ */

/* Comparison Table Container */
.pricing-comparison-table {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: visible;
    border: 1px solid #e5e7eb;
    --comparison-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
}

/* Table Header */
.comparison-header {
    display: grid;
    grid-template-columns: var(--comparison-columns);
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-header .comparison-cell {
    padding: 24px 16px;
    text-align: center;
}

.comparison-header .feature-label-cell {
    text-align: left;
    padding: 24px 24px;
}

.features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-cell {
    border-left: 1px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-type {
    display: none;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px 0;
}

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

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

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

/* Featured Plan (DIY Plus) */
.featured-plan {
    background: #f0f7ff;
}

.featured-plan .plan-name {
    color: #0065fb;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    background: #0065fb;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

/* Premium Plan */
.premium-plan .plan-name {
    color: #059669;
}

/* Table Body */
.comparison-body {
    display: flex;
    flex-direction: column;
}

.comparison-row {
    display: grid;
    grid-template-columns: var(--comparison-columns);
    border-bottom: 1px solid #f3f4f6;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
}

.feature-label-cell {
    justify-content: flex-start;
    padding-left: 24px;
    border-right: 1px solid #f3f4f6;
}

.feature-name {
    font-size: 0.875rem;
    color: #374151;
}

/* Check and Cross Icons */
.feature-check {
    color: #10b981;
    font-size: 1rem;
}

.feature-cross {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* Feature Text */
.feature-text {
    font-size: 0.8125rem;
    color: #6b7280;
}

.feature-text.highlight {
    color: #0065fb;
    font-weight: 500;
}

.feature-text.included {
    color: #059669;
    font-weight: 500;
}

/* Featured Column Background */
.featured-col {
    background: #f0f7ff;
}

.premium-col {
    background: transparent;
}

/* Table Footer */
.comparison-footer {
    display: grid;
    grid-template-columns: var(--comparison-columns);
    padding: 20px 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.comparison-footer .comparison-cell {
    padding: 0 16px;
}

.comparison-footer .featured-col {
    background: #f0f7ff;
}

/* CTA Buttons */
.plan-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.plan-cta-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.plan-cta-btn.featured-btn {
    background: #0065fb;
    color: white;
    border: none;
}

.plan-cta-btn.featured-btn:hover {
    background: #0052cc;
}

.plan-cta-btn.premium-btn {
    background: #059669;
    color: white;
    border: none;
}

.plan-cta-btn.premium-btn:hover {
    background: #047857;
}

/* Mobile Cards (hidden on desktop) */
.pricing-mobile-cards {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-comparison-table {
        display: none;
    }
    
    .pricing-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mobile-pricing-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px 20px;
        position: relative;
        border: 1px solid #e5e7eb;
    }
    
    .mobile-pricing-card.featured {
        border: 2px solid #0065fb;
        background: #fafcff;
    }
    
    .mobile-pricing-card.premium {
        border: 1px solid #e5e7eb;
    }
    
    .mobile-popular-badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: #0065fb;
        color: white;
        font-size: 0.625rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 4px 12px;
        border-radius: 12px;
    }
    
    .mobile-card-header {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .mobile-card-header .plan-type {
        display: none;
    }
    
    .mobile-card-header .plan-name {
        font-size: 1.25rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 14px;
    }
    
    .mobile-pricing-card.featured .plan-name {
        color: #0065fb;
    }
    
    .mobile-pricing-card.premium .plan-name {
        color: #059669;
    }
    
    .mobile-card-header .price-amount {
        font-size: 1.75rem;
        font-weight: 700;
        color: #111827;
    }
    
    .mobile-pricing-card.featured .price-amount {
        color: #0065fb;
    }
    
    .mobile-pricing-card.premium .price-amount {
        color: #059669;
    }
    
    .mobile-features-list {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }
    
    .mobile-features-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: 0.875rem;
        color: #374151;
    }
    
    .mobile-features-list li i {
        width: 16px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .mobile-features-list li .fa-check {
        color: #10b981;
    }
    
    .mobile-features-list li .fa-times {
        color: #d1d5db;
    }
    
    .mobile-features-list li .fa-clock,
    .mobile-features-list li .fa-bolt {
        color: #0065fb;
    }
    
    .mobile-features-list li .fa-arrow-up {
        color: #f59e0b;
    }
    
    .mobile-features-list li .fa-video,
    .mobile-features-list li .fa-user-tie,
    .mobile-features-list li .fa-shield-alt {
        color: #10b981;
    }
    
    .mobile-features-list li s {
        color: #d1d5db;
    }
    
    .mobile-cta-btn {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 0.875rem;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        border-radius: 6px;
        background: #ffffff;
        color: #374151;
        border: 1px solid #d1d5db;
        transition: all 0.2s ease;
    }
    
    .mobile-cta-btn:hover {
        background: #f9fafb;
    }
    
    .mobile-cta-btn.featured {
        background: #0065fb;
        color: white;
        border: none;
    }
    
    .mobile-cta-btn.featured:hover {
        background: #0052cc;
    }
    
    .mobile-cta-btn.premium {
        background: #059669;
        color: white;
        border: none;
    }
    
    .mobile-cta-btn.premium:hover {
        background: #047857;
    }
}
