/* Page Layout */
body {
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
    background: #080b31;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow: hidden;
}

.navbar-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

.home-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.logo-wrapper {
    width: 3rem;              
    height: 3rem;
}

.logo-inner {
    width: 100%;
    height: 100%;
    transform: scale(2.2);
    transform-origin: center;  
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-left: 1rem;
    min-width: 0;
    overflow: hidden;
}

.home-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #bee5ff;
    text-shadow: 0 0.125rem 0.125rem rgba(73, 68, 68, 0.39);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle {
    font-size: 0.7rem;
    color: #fff;
    text-shadow: 0 0.125rem 0.125rem rgba(0,0,0,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.portal-btn {
    background: #495485;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    gap: 6px;
    white-space: nowrap;
    min-width: 0;
}

.portal-btn:hover {
    background: #67baff;
    color: #ffffff;
    transform: scale(1.1);
}

.portal-btn.client {
    background: #495485;
}

.portal-btn.lawyer {
    background: #495485;
}

/* Hero Section with Full Background */
.guide-hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('assets/images/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 60px;
    margin-top: 0;
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(212, 175, 122, 0.3) 100%);
    z-index: 1;
}

.guide-hero > * {
    position: relative;
    z-index: 2;
}

/* User Guide Container */
.user-guide-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 60px 0 40px;
    position: relative;
    overflow: visible;
}

/* Background Image for container */
.user-guide-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.guide-hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.guide-hero p {
    font-size: 1.4rem;
    color: #f8fafc;
    margin-bottom: 50px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.enter-dashboard-btn {
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    color: white;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 122, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.enter-dashboard-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 122, 0.5);
    animation-play-state: paused;
}

.enter-dashboard-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.enter-dashboard-btn:hover::before {
    left: 100%;
}

.enter-dashboard-btn i {
    animation: arrowBounce 1.5s infinite;
}

/* Features Grid with Video Support */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin: 0 40px 60px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.05) 0%, rgba(201, 160, 110, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(212, 175, 122, 0.3);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 25px rgba(212, 175, 122, 0.3);
}

.feature-card.dashboard .feature-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.feature-card.forms .feature-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.feature-card.users .feature-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.feature-card.tickets .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.feature-card.analytics .feature-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.feature-card.builder .feature-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.feature-title {
    font-size: 1.9rem;
    color: #1e293b;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.feature-highlights li {
    padding: 10px 0;
    color: #475569;
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.feature-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-highlights li:hover {
    color: #1e293b;
}

/* Video Preview Section */
.feature-video-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-video-preview:hover {
    border-color: #d4af7a;
    background: linear-gradient(135deg, #fef7ed, #fed7aa);
    transform: scale(1.02);
}

.feature-video-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 122, 0.1), rgba(201, 160, 110, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-video-preview:hover::after {
    opacity: 1;
}

.video-placeholder {
    text-align: center;
    color: #64748b;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-video-preview:hover .video-placeholder {
    color: #d4af7a;
    transform: scale(1.1);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #d4af7a;
    border: 3px solid #d4af7a;
    border-radius: 50%;
    padding: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.feature-video-preview:hover .video-placeholder i {
    background: #d4af7a;
    color: white;
    box-shadow: 0 8px 25px rgba(212, 175, 122, 0.4);
}

.video-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Getting Started Section */
.getting-started {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px 50px;
    margin: 60px 40px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.getting-started h2 {
    color: #1e293b;
    font-size: 2.8rem;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.getting-started p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 50px;
    line-height: 1.6;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(212, 175, 122, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(212, 175, 122, 0.2);
    border-radius: 50%;
}

.step-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-description {
    color: #64748b;
    line-height: 1.6;
    margin-top: 10px;
}

/* Form Strategy Highlight Section */
.form-strategy-highlight {
    margin-top: 60px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-strategy-highlight h3 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.strategy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border-radius: 20px;
    padding: 35px 30px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.strategy-card.official {
    border-color: rgba(16, 185, 129, 0.2);
}

.strategy-card.official:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.strategy-card.custom {
    border-color: rgba(245, 158, 11, 0.2);
}

.strategy-card.custom:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}

.strategy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.strategy-card.official .strategy-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.strategy-card.custom .strategy-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.strategy-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.strategy-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.95rem;
}

.strategy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-card ul li {
    padding: 8px 0;
    color: #475569;
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.strategy-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
    font-size: 1rem;
}

.strategy-card.official ul li::before {
    color: #10b981;
}

.strategy-card.custom ul li::before {
    color: #f59e0b;
}

.strategy-card ul li:hover {
    color: #1e293b;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Sidebar Feature Descriptions */
.sidebar-feature-descriptions {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.sidebar-feature-descriptions h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
}

.sidebar-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.sidebar-feature-item {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid #d4af7a;
}

.sidebar-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.sidebar-feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af7a, #c9a06e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 15px;
}

.sidebar-feature-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.sidebar-feature-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: #d4af7a;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #c9a06e;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin: 0 30px 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
    }
    
    .home-title {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.65rem;
    }
    
    .portal-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .navbar-center {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .guide-hero {
        padding: 50px 30px;
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .guide-hero h1 {
        font-size: 2.5rem;
    }
    
    .guide-hero p {
        font-size: 1.1rem;
    }
    
    .enter-dashboard-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin: 0 20px 40px;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .getting-started {
        margin: 40px 20px;
        padding: 40px 30px;
    }
    
    .getting-started h2 {
        font-size: 2.2rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-strategy-highlight {
        margin: 40px 20px;
        padding: 40px 25px;
    }
    
    .form-strategy-highlight h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .strategy-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .strategy-card {
        padding: 30px 25px;
    }
    
    .sidebar-feature-descriptions {
        margin: 20px;
        padding: 40px 25px;
    }
    
    .sidebar-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 10px;
        height: 50px;
    }
    
    .logo-wrapper {
        width: 2rem;
        height: 2rem;
    }
    
    .logo-inner {
        transform: scale(1.8);
    }
    
    .home-title {
        font-size: 0.9rem;
    }
    
    .subtitle {
        font-size: 0.6rem;
    }
    
    .portal-btn {
        padding: 4px 8px;
        font-size: 10px;
        gap: 4px;
    }
    
    .navbar-center {
        padding: 0 5px;
        font-size: 0.8rem;
    }
    
    .navbar-right {
        gap: 0.25rem;
    }
    
    .user-guide-container {
        padding: 40px 0 30px;
    }
    
    .guide-hero {
        padding: 40px 20px;
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .guide-hero h1 {
        font-size: 2rem;
    }
    
    .enter-dashboard-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .features-grid {
        margin: 0 15px 30px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .getting-started {
        margin: 30px 15px;
        padding: 30px 20px;
    }
    
    .form-strategy-highlight {
        margin: 30px 15px;
        padding: 30px 20px;
    }
    
    .form-strategy-highlight h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .strategy-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .strategy-card {
        padding: 25px 20px;
    }
    
    .strategy-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .sidebar-feature-descriptions {
        margin: 15px;
        padding: 30px 20px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Loading and transition effects */
.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out both;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out both;
} 