/* info-how.css */

/* Add this to the top of your existing CSS */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

body {
    background-color: #f5f7fa;
}

.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.parallax-bg {
    background-image: url('info.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Lite högre för att tillåta parallaxeffekten */
    will-change: transform;
}

.content {
    position: relative;
    z-index: 1;
}

.fc-how-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
}

.fc-how-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.fc-how-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.fc-how-header p {
    font-size: 1.4rem;
    font-weight: 300;
}

.fc-how-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Add any other necessary style updates here */

.fc-how-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.fc-how-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.fc-how-header p {
    font-size: 1.2rem;
    font-weight: 300;
}

.fc-how-steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fc-how-step {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fc-how-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fc-how-step::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    left: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc-how-step-content {
    flex: 1;
    padding-right: 0;
    margin-bottom: 1.5rem;
}

.fc-how-step-image {
    flex: 1;
    text-align: center;
}

.fc-how-step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fc-how-step-image img:hover {
    transform: scale(1.05);
}

.fc-how-step h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.fc-how-step p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.fc-how-step ol {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.fc-how-step li {
    margin-bottom: 0.5rem;
}

.fc-how-code-block {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.fc-how-code-block pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.fc-how-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.fc-how-copy-btn:hover {
    background-color: #764ba2;
}

.fc-how-copy-btn svg {
    width: 14px;
    height: 14px;
}

.fc-how-cta-section {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 1rem;
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fc-how-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fc-how-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.fc-how-cta-button {
    display: inline-block;
    background-color: #50e3c2;
    color: #4a4a4a;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc-how-cta-button:hover {
    background-color: #3ac2a2;
    transform: translateY(-2px);
}

.fc-how-footer {
    background-color: #4a4a4a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .fc-how-header {
        padding: 4rem 2rem;
    }

    .fc-how-header h1 {
        font-size: 3rem;
    }

    .fc-how-header p {
        font-size: 1.4rem;
    }

    .fc-how-main {
        padding: 4rem 2rem;
    }

    .fc-how-steps-container {
        gap: 3rem;
    }

    .fc-how-step {
        flex-direction: row;
        align-items: center;
        padding: 3rem;
    }

    .fc-how-step-content {
        padding-right: 3rem;
        margin-bottom: 0;
    }

    .fc-how-step h2 {
        font-size: 2rem;
    }

    .fc-how-step p {
        font-size: 1.1rem;
    }

    .fc-how-code-block pre {
        font-size: 1rem;
    }

    .fc-how-copy-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .fc-how-copy-btn svg {
        width: 16px;
        height: 16px;
    }

    .fc-how-cta-section {
        padding: 4rem 2rem;
    }

    .fc-how-cta-section h2 {
        font-size: 2.5rem;
    }

    .fc-how-cta-section p {
        font-size: 1.2rem;
    }

    .fc-how-cta-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .fc-how-step::before {
        top: -15px;
        left: -15px;
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
}

/* Add these styles to your existing CSS file */

.fc-how-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc-how-tab {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0 0.5rem;
    outline: none;
}

.fc-how-tab:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.fc-how-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc-how-features {
    list-style-type: none;
    padding: 0;
}

.fc-how-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.fc-how-features svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    color: #50e3c2;
}

/* Update these existing styles */
.fc-how-code-block {
    margin: 1rem 0;
}

.fc-how-copy-btn {
    top: 0.5rem;
    right: 0.5rem;
}

/* Add these styles to your existing CSS file */

.fc-how-link-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin: 0.2rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-how-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #7886f0 0%, #8a5fc6 100%);
}

.fc-how-link-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Update these existing styles */
.fc-how-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #50e3c2 0%, #3ac2a2 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-how-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #62e9cc 0%, #4cd0b3 100%);
}

.fc-how-cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.fc-how-tab-content {
    display: none;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.fc-how-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .fc-how-tabs {
        flex-direction: column;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .fc-how-tab {
        margin: 0.5rem 0;
        width: 100%;
        border-radius: 50px;
        background-color: #f0f0f0;
    }

    .fc-how-tab.active {
        order: -1;
    }
}