/* Landing Page Specific Styles */

/* Override gradient background for landing page - Set to white */
body.landing-page {
    background: #ffffff !important;
    position: relative;
}

/* Top Hero Section with Radial Gradient */
.top-hero-section {
    height: 85vh;
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #595959 0%, #404040 50%, #0D0D0D 100%);
    position: relative;
}

.top-hero-container {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.top-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    max-width: 70%;
}

/* Content Wrapper with Linear Gradient */
.content-wrapper {
    background: linear-gradient(to bottom, #97a6c1c5, #c1c9d8da, #c1c9d8da, #e1e5ebd2);
    background-attachment: fixed;
    width: 95%;
    max-width: 1800px;
    margin: 3rem auto 0 auto;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    width: 100%;
}

.hero-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    color: #2d353b;
    line-height: 1.3;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* Tables Container - Full Width */
.tables-container {
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 2rem;
}

.table-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.table-wrapper {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.table-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #434a50;
    margin-bottom: 1rem;
}

.table-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.15));
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-shrink: 0;
    height: 100%;
    min-height: 400px;
}

.arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #4f565c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.arrow::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 24px solid white;
    margin-left: 4px;
}

.arrow::after {
    display: none;
}

/* Process Container - Full Width */
.process-container {
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4f565c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    width: 600px;
}

.step-button {
    
    width: 100%;
    padding: 0.75rem 1rem;
    background: #4f565c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: default;
    text-align: left;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.cta-button:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .top-hero-title {
        font-size: 2.5rem;
    }
    
    .table-container {
        max-width: 1000px;
        gap: 2rem;
    }
    
    .table-wrapper {
        max-width: 500px;
    }
    
    .table-image {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .top-hero-section {
        width: 95%;        /* Match desktop behavior - keep white space on sides */
        height: 100vh;      /* Fill full mobile viewport height */
        min-height: 100vh;
        padding: 2rem 0;    /* Keep internal spacing */
    }
    
    .top-hero-container {
        padding: 1.5rem 1rem; /* Reduce padding */
    }
    
    .top-hero-title {
        font-size: 1.5rem; /* Reduce from 1.8rem */
        max-width: 90%; /* Increase from 70% */
        line-height: 1.4; /* Slightly tighter */
    }
    
    .content-wrapper {
        width: 95%;        /* Match desktop behavior - keep white space on sides */
        margin-top: 1.5rem; /* Reduce from 2rem */
        padding: 1.5rem 0; /* Reduce from 2rem */
    }
    
    .hero-section {
        padding: 1.5rem 0; /* Reduce from 2rem */
        margin-bottom: 2rem; /* Reduce from 3rem */
    }
    
    .hero-container {
        padding: 0 1rem; /* Reduce from 2rem */
    }
    
    .hero-title {
        font-size: 1.5rem; /* Reduce from 2rem */
        line-height: 1.4; /* Tighter line height */
    }
    
    .tables-container {
        padding: 0 1rem;
        margin-bottom: 1.5rem; /* Reduced spacing */
    }
    
    .table-container {
        flex-direction: column;
        gap: 0.5rem; /* Reduced from 1rem - half the spacing */
        max-width: 100%;
    }
    
    .table-wrapper {
        max-width: 100%;
    }
    
    .table-title {
        font-size: 1.1rem; /* Slightly smaller */
        margin-bottom: 0.5rem; /* Reduced from 0.75rem */
    }
    
    .table-image {
        max-width: 100%;
        /* Add horizontal scroll for wide tables */
        overflow-x: auto;
        display: block;
    }
    
    .arrow-container {
        transform: rotate(90deg);
        min-height: 75px; /* Reduced from 150px - half the spacing */
        padding: 0.25rem; /* Reduced from 0.5rem */
    }
    
    .arrow {
        width: 45px; /* Reduce from 50px */
        height: 45px;
    }
    
    .arrow::before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 18px solid white;
        margin-left: 2px;
    }
    
    .process-container {
        padding: 0 1rem;
        margin-bottom: 2rem; /* Reduce from 3rem */
    }
    
    .process-steps {
        gap: 1rem;
    }
    
    .step {
        flex-direction: row;      /* Number on the left, bar on the right */
        align-items: center;      /* Vertically center number and bar */
        text-align: left;
        gap: 0.5rem;
        width: 100%;              /* Ensure full width */
    }
    
    .step-number {
        width: 35px;              /* Reduce from 40px */
        height: 35px;
        font-size: 1.2rem;        /* Reduce from 1.4rem */
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-content {
        width: 100%;              /* Bar uses remaining width */
    }
    
    .step-button {
        font-size: 1rem;          /* Reduce from 1.1rem */
        padding: 0.75rem 0.5rem;  /* Adjust padding */
        text-align: left;         /* Left-align text inside bar */
        word-wrap: break-word;    /* Allow text wrapping */
        overflow-wrap: break-word;
        width: 100%;
    }
    
    .cta-section {
        margin-bottom: 1rem; /* Reduce margin */
    }
    
    .cta-container {
        padding: 0 1rem;
    }
    
    .cta-button {
        font-size: 1.1rem; /* Reduce from 1.25rem */
        padding: 0.875rem 1.5rem; /* Slightly smaller */
        width: 100%; /* Full width on mobile */
        max-width: 100%;
        display: block; /* Block display for full width */
    }
}

/* Very Small Phones */
@media (max-width: 480px) {
    .top-hero-section {
        min-height: 50vh; /* Even smaller */
        padding: 1.5rem 0;
    }
    
    .top-hero-container {
        padding: 1rem 0.75rem;
    }
    
    .top-hero-title {
        font-size: 1.25rem; /* Even smaller */
        max-width: 95%;
        line-height: 1.3;
    }
    
    .content-wrapper {
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .hero-section {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .tables-container {
        padding: 0 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .table-title {
        font-size: 1rem;
    }
    
    .process-container {
        padding: 0 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .step-button {
        font-size: 0.95rem;
        padding: 0.65rem 0.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
}
