/* Index Page Specific Styles */

/* Icon Sizing for New Icons - Using Base Classes */
.expert-visual .expert-icon {
    margin-bottom: 1rem;
}

/* Service logos use responsive sizing from base.css */

/* Hero Section */
.hero {
    padding: calc(6rem + 80px) var(--spacing-3xl) var(--spacing-6xl);
    background: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-dots)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    letter-spacing: var(--letter-spacing-tight);
    text-align: center;
    max-width: 100%;
    position: relative;
}

.hero-text-primary {
    color: #2563eb;
}

.hero-text-gradient {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-accent {
    color: #7c3aed;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    border-radius: 1px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-buttons::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    border-radius: 1px;
}

.btn-black {
    background: #000;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-black:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-white {
    background: white;
    color: #000;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

/* Expert Team Section */
.experts-section {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.experts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="expert-hex" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,2 28,8 28,22 15,28 2,22 2,8" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23expert-hex)"/></svg>');
    pointer-events: none;
}

.experts-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.experts-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    position: relative;
}

.experts-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.experts-subtitle {
    font-size: 1.5rem;
    color: #6e6e73;
    margin-bottom: 5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    position: relative;
}

.experts-grid::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    border-radius: 1px;
}

.expert-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.expert-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #1d1d1f;
}

.expert-visual i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Colorful icons for each card */
.expert-card:nth-child(1) .expert-visual i {
    color: #2563eb;
}

.expert-card:nth-child(2) .expert-visual i {
    color: #7c3aed;
}

.expert-card:nth-child(3) .expert-visual i {
    color: #dc2626;
}

.expert-card:nth-child(4) .expert-visual i {
    color: #059669;
}

.expert-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.stat {
    font-size: 1rem;
    font-weight: 600;
    color: #6e6e73;
    background: #f8fafc;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Services Ticker */
.services-ticker {
    background: linear-gradient(135deg, #1d1d1f 0%, #374151 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.services-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ticker-dots" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23ticker-dots)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.ticker-content {
    display: inline-block;
    animation: scroll 35s linear infinite;
    position: relative;
    z-index: 1;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.ticker-icon {
    /* width: var(--logo-2xl); */
    height: var(--logo-xl);
    object-fit: contain;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    padding: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Removed left and right gradient overlays */

/* Trusted By Section */
.trusted-section {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trusted-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #000;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 4rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Apple-style Tabs - Clean Design */
.apple-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.tab-navigation {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
}

.tab-btn {
    flex: 1;
    padding: 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #1d1d1f;
}

.tab-btn.active {
    color: #1d1d1f;
    border-bottom-color: #1d1d1f;
}

.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.tech-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1d1d1f;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #e5e5e7;
}

.solutions-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1d1d1f;
    padding: 1.5rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid #e5e5e7;
    white-space: nowrap;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #8e8e93;
    font-weight: bold;
}

.trust-metrics {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 4rem;
    font-weight: 900;
    color: #1d1d1f;
    display: block;
    line-height: 1;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.metric-label {
    font-size: 1rem;
    color: #8e8e93;
    font-weight: 500;
    margin-top: 0.5rem;
}

.tab-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.tab-text h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.tab-text p {
    font-size: 1.2rem;
    color: #6e6e73;
    line-height: 1.6;
}

/* Mobile responsive for tabs */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .tab-btn.active {
        border-bottom: none;
        border-right-color: #1d1d1f;
    }

    .tab-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }

    .tab-text h3 {
        font-size: 2rem;
    }

    .tab-text p {
        font-size: 1rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .solutions-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-item {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .trust-metrics {
        flex-direction: column;
        gap: 2rem;
    }

    .metric-number {
        font-size: 3rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive for Index */
@media (max-width: 768px) {
    .hero {
        padding: calc(4rem + 80px) 1.5rem 4rem;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
    }

    .experts-section {
        padding: 4rem 1.5rem;
    }

    .experts-title {
        font-size: 2.5rem;
    }

    .experts-subtitle {
        font-size: 1.1rem;
    }

    .experts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .experts-grid {
        grid-template-columns: 1fr;
    }
}
