/* --- Hero Section Start --- */
.hero-container {
    padding: 30px 0 10px;
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section {
    max-width: min(85%, var(--section-max-width));
    width: 100%;
    margin: 20px auto 24px;
    background-color: #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 20vh;
    transition: max-width 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize rendering */
    contain: layout style paint;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize rendering */
    contain: layout style paint;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6% 5%;
    z-index: 5;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 85%;
}

@media (max-width: 1400px) {
    .hero-section {
        max-width: min(85%, var(--section-max-width));
        height: 25vh;
    }

    .hero-title {
        font-size: 34px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        max-width: min(90%, var(--section-max-width));
        height: 16vh;
    }

    .hero-title {
        font-size: 30px;
        font-weight: 600;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 20px 0;
    }

    .hero-section {
        max-width: min(90%, var(--section-max-width));
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 0 10px;
    }

    .hero-section {
        max-width: min(95%, var(--section-max-width));
        height: 20vh;
    }

    .hero-title {
        font-size: 24px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 12px;
        font-weight: 500;
        max-width: 100%;
    }

    .video-control {
        width: 24px;
        height: 24px;
        top: 4%;
        right: 2%;
    }

    .video-control i {
        font-size: 9px;
    }
}

/* --- Hero Section End --- */


/* --- Combined Section Start --- */
.combined-section {
    padding: 10px 0 40px;
}

.combined-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.getting-started-side {
    width: 100%;
}

#getting-started .section-header {
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 24px;
}

#getting-started .section-header h2::after {
    left: 0;
    transform: none;
    width: 30%;
}

#getting-started .section-header p {
    margin: 0;
}

.getting-started-side .steps-timeline {
    position: relative;
    max-width: none;
    margin: 0;
}

.getting-started-side .steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), #ff6b35);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.timeline-content {
    background: #ffffff;
    padding: 22px 30px 18px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.step-link:hover {
    color: #8a1616;
}

.step-link:hover i {
    transform: translateX(4px);
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 150px;
    width: 85%;
    margin-right: 0;
    margin-left: auto;
}

.image-container {
    border-radius: 16px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex: 1;
}

.support-image {
    max-width: 100%;
    border-radius: 16px;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.help-cta-side {
    background: #f8f9fa;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.help-cta-side:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.help-cta-content {
    padding: 30px;
}

.help-cta-side .help-cta-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.help-cta-side .help-cta-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.help-cta-side .contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-cta-side .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.help-cta-side .contact-btn i {
    margin-right: 8px;
}

.help-cta-side .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1400px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 20px;
        justify-content: space-between;
    }

    .right-sidebar {
        width: 100%;
    }

    .timeline-item {
        margin-bottom: 18px;
    }

    .timeline-content {
        padding: 18px 24px 14px;
    }


    .timeline-content h4,
    .timeline-content p {
        margin-bottom: 8px;
    }

}

@media (max-width: 992px) {
    .combined-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: min(85%, var(--section-max-width));
    }

    .right-sidebar {
        position: static;
        width: 100%;
        order: -1;
        margin: 0;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .image-container {
        flex: 0 0 265px;
        width: 265px;
        height: 265px;
    }

    .help-cta-side {
        flex: 1;
        max-width: 400px;
    }

    .support-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .timeline-item {
        margin-bottom: 25px;
        padding-left: 70px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .getting-started-side .steps-timeline::before {
        left: 25px;
    }

    .timeline-content {
        padding: 18px 22px;
    }

    .timeline-content h4 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .timeline-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 25px;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
    }

    .help-cta-side {
        max-width: 350px;
    }

    .help-cta-content {
        padding: 20px;
    }

    .help-cta-side .contact-options {
        gap: 12px;
    }

    .help-cta-side .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .timeline-item {
        margin-bottom: 20px;
        padding-left: 60px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .getting-started-side .steps-timeline::before {
        left: 22px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #getting-started .section-header h2::after {
        width: 20%;
    }
    
    .combined-section {
        padding: 15px 0;
    }

    .combined-container {
        max-width: 90%;
        gap: 20px;
    }

    .right-sidebar {
        gap: 12px;
        order: 1;
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
        order: 1;
    }

    .support-image {
        height: 225px;
        width: 225px;
    }

    .help-cta-content {
        padding: 16px;
    }

    .help-cta-side .help-cta-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .help-cta-side .help-cta-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .help-cta-side .contact-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .timeline-item {
        margin-bottom: 18px;
        padding-left: 45px;
    }

    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .getting-started-side .steps-timeline::before {
        left: 16.5px;
    }

    .timeline-content {
        padding: 14px 16px;
    }

    .timeline-content h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-link,
    .step-link i {
        font-size: 11px;
    }
}

/* --- Combined Section End --- */


/* --- FAQ Section Start --- */
.faq-section {
    padding: 0 0 30px;
    background: #f8f9fa;
}

.faq-container {
    max-width: min(85%, var(--section-max-width));
    margin: 0 auto;
}

.faq-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1400px) {
    .faq-container {
        max-width: min(90%, var(--section-max-width));
    }

    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .faq-item {
        padding: 20px 20px 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .faq-item p {
        font-size: 14px;
        font-weight: 500;
    }
}

@media (max-width: 768px) {
    .faq-item h4 {
        margin-bottom: 10px;
    }

    .faq-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 15px 0;
    }

    .faq-grid {
        gap: 12px;
        padding-top: 10px;
    }

    .faq-item h4 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .faq-item p {
        font-size: 11px;
    }
}

/* --- FAQ Section End --- */


/* --- Resources Section Start --- */
.resources-section {
    padding: 30px 0;
}

.resources-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.resources-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid #e9ecef;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.resource-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-icon i {
    font-size: 20px;
    color: white;
}

.resource-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.resource-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resource-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.download-btn {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: fit-content;
}

.download-btn:hover {
    background: #8a1616;
    transform: translateY(-1px);
}

.file-size {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

@media (max-width: 1400px) {
    .resources-container {
        max-width: min(95%, var(--section-max-width));
    }

    .resources-grid {
        gap: 12px;
    }

    .resource-card {
        padding: 14px 16px;
    }

    .resource-header {
        margin-bottom: 12px;
    }

    .resource-card h4 {
        font-size: 16px;
    }

    .resource-card p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .resource-icon {
        width: 42px;
        height: 42px;
    }

    .resource-icon i {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .resources-grid {
        max-width: min(90%, var(--section-max-width));
        margin: 0 auto;
    }

    .resource-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .resources-section {
        padding: 15px 0;
    }

    .resources-grid {
        padding: 0;
    }

    .resource-card h4 {
        font-size: 14px;
    }

    .resource-card p {
        font-size: 12px;
    }

    .resource-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .download-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* --- Resources Section End --- */


/* --- Performance Tips Section Start --- */
.performance-tips-section {
    padding: 30px 0;
}

.performance-tips-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.tips-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.tip-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.tip-card:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.tip-card.featured {
    background: linear-gradient(135deg, rgba(167, 28, 28, 0.05), rgba(105, 7, 197, 0.05));
    border: 2px solid var(--accent-color);
}

.tip-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tip-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.metric {
    background: rgba(167, 28, 28, 0.1);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1400px) {
    .performance-tips-container {
        max-width: min(90%, var(--section-max-width));
    }

    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    }
}

@media (max-width: 992px) {
    .tip-card {
        padding: 14px 16px;
    }

    .tip-badge {
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 10px;
    }

    .tip-card h4 {
        font-size: 16px;
    }

    .tip-card p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .tip-card {
        padding: 14px 16px;
    }

    .tip-card h4,
    .tip-card p {
        margin-bottom: 8px;
    }

    .tip-badge {
        font-size: 10px;
    }

    .metric {
        padding: 4px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .performance-tips-section .section-header h2::after {
        width: 20%;
    }

    .performance-tips-section {
        padding: 15px 0;
    }

    .tips-grid {
        padding: 0;
        gap: 12px;
    }

    .tip-card h4 {
        font-size: 14px;
    }

    .tip-card p {
        font-size: 12px;
    }
}

/* --- Performance Tips Section End --- */


/* --- Quick Tools Section Start --- */
.quick-tools-section {
    padding: 30px 0 60px;
    background: #1a1a1a;
    color: white;
}

.quick-tools-container {
    max-width: min(90%, var(--section-max-width));
    margin: 0 auto;
}

.quick-tools-section .section-label {
    background: linear-gradient(270deg, #a71c1c, #6907c5);
}

.quick-tools-section .section-header h2 {
    color: white;
}

.quick-tools-section .section-header h2::after {
    opacity: 0.75;
    width: 10%;
}

.quick-tools-section .section-header p {
    color: #ccc;
}

.tools-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tool-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tool-category h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.tool-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tool-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.tool-link i:first-child {
    color: var(--accent-color);
    width: 20px;
}

.tool-link span {
    flex: 1;
    margin-left: 12px;
    font-weight: 500;
}

.tool-link i:last-child {
    opacity: 0.5;
    font-size: 12px;
}

.tool-link:hover i:last-child {
    opacity: 1;
}

@media (max-width: 1400px) {
    .quick-tools-container {
        max-width: min(95%, var(--section-max-width));
    }

    .tools-grid {
        gap: 20px;
    }

    .tool-category {
        padding: 20px 22px;
    }

    .tool-category h4 {
        font-size: 18px;
    }   
}

@media (max-width: 992px) {
    .tool-category h4 {
        font-size: 17px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .tool-link {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .quick-tools-section .section-header h2::after {
        width: 25%;
    }

    .quick-tools-section {
        padding: 15px 0;
    }

    .quick-tools-container {
        max-width: min(85%, var(--section-max-width));
    }

    .tools-grid {
        padding: 0;
        gap: 12px;
    }

    .tool-category {
        padding: 15px 20px;
    }

    .tool-category h4 {
        font-size: 15px;
        padding-bottom: 6px;
    }

    .tool-link {
        padding: 10px 14px;
        border-radius: 10px;
    }

    .tool-link span {
        font-size: 12px;
    }

}
/* --- Quick Tools Section End --- */