/* Google Ecosystem Home Page Styles */

/* Hero Section */
/* Hero Section - Billion Dollar Upgrade */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8f9fa 100%);
    padding-top: 80px;
    /* Navbar height + spacing */
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    /* Product Sans style */
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Restoring Gradient for Hero */
.hero-title .text-gradient {
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC04, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Stats (Clean Cards) */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Premium shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    box-shadow: var(--shadow-2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--google-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Trusted By Section (Infinite Scroll) */
.trusted-section {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--surface-border);
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.logos-slide {
    display: flex;
    gap: 4rem;
    animation: slide 30s linear infinite;
    width: max-content;
    padding-left: 4rem;
    /* Initial offset */
}

.partner-logo {
    height: 30px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
    font-weight: 700;
    font-size: 1.2rem;
    color: #5f6368;
    display: flex;
    align-items: center;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-primary);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Advantage Section (Pillars) */
.advantage-section {
    padding: 8rem 0;
    background: var(--surface-light);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.advantage-card {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.advantage-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 24px;
}

.advantage-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 10rem 0;
    background: #000;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ecosystem-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecosystem-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.ecosystem-node {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: left;
}

.node-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    display: block;
}

.node-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.node-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Vision Section (Billion Dollar Look) */
.vision-section {
    padding: 8rem 0;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.vision-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: #202124;
    letter-spacing: -0.02em;
}

.vision-highlight {
    color: var(--google-blue);
    font-weight: 500;
}

.vision-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4285F4, #DB4437, #F4B400, #0F9D58);
    margin: 3rem auto 0;
    border-radius: 2px;
}

/* Services Preview */
.services-preview {
    padding: 6rem 0;
    background-color: var(--surface-dim);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Material Cards for Services */
.service-card {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    /* Google cards often align left */
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Color accents top border like Google Cloud cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.service-card[data-color="blue"]::before {
    background-color: var(--google-blue);
}

.service-card[data-color="red"]::before {
    background-color: var(--google-red);
}

.service-card[data-color="green"]::before {
    background-color: var(--google-green);
}

.service-card[data-color="yellow"]::before {
    background-color: var(--google-yellow);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    background: var(--surface-dim);
    /* Light grey circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
    /* Default icon color */
}

/* Icon colors specific to card */
.service-card[data-color="blue"] .service-icon {
    color: var(--google-blue);
    background: #E8F0FE;
}

.service-card[data-color="red"] .service-icon {
    color: var(--google-red);
    background: #FCE8E6;
}

.service-card[data-color="green"] .service-icon {
    color: var(--google-green);
    background: #E6F4EA;
}

.service-card[data-color="yellow"] .service-icon {
    color: var(--google-yellow);
    background: #FEF7E0;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--google-blue);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    text-decoration: underline;
    color: #1a73e8;
}

/* Features Section (Clean Layout) */
.features-section {
    padding: 6rem 0;
    background-color: var(--surface-light);
}

.features-content {
    display: grid;
    gap: 4rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Simple visual placeholder instead of 3D */
.feature-visual {
    background: var(--surface-dim);
    border-radius: var(--radius-xl);
    padding: 2rem;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
}

/* CTA Section (Simple Google-style banner) */
.cta-section {
    padding: 6rem 0;
    background-color: #F8F9FA;
    /* Light grey bg */
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .feature-item:nth-child(even) .feature-text {
        order: 1;
        /* Reset order for mobile stacking */
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .services-preview,
    .features-section,
    .cta-section {
        padding: 4rem 0;
    }
}