/* ==========================================================================
   PetroBot Visualize - Google-Style Design System
   ========================================================================== */

/* Google-inspired Color Palette */
:root {
    --google-blue: #4285F4;
    --google-blue-hover: #1a73e8;
    --google-green: #34A853;
    --google-yellow: #FBBC04;
    --google-red: #EA4335;
    --google-gray-50: #F8F9FA;
    --google-gray-100: #F1F3F4;
    --google-gray-200: #E8EAED;
    --google-gray-300: #DADCE0;
    --google-gray-500: #9AA0A6;
    --google-gray-700: #5F6368;
    --google-gray-900: #202124;

    /* PetroBot brand integration */
    --pb-green: #49C193;
    --pb-green-light: #83e243;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.google-hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--google-gray-50) 0%, #fff 50%, rgba(66, 133, 244, 0.03) 100%);
    overflow: hidden;
}

.google-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.google-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Name with Badge */
.hero-product-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--google-gray-900);
    margin-bottom: 24px;
}

/* Beta Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--google-blue) 0%, #6366f1 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(66, 133, 244, 0);
    }
}

/* Hero Headlines */
.google-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--google-gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.google-headline-accent {
    background: linear-gradient(135deg, var(--google-blue) 0%, var(--pb-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--google-gray-700);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* CTA Buttons */
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-google-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--google-blue);
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.btn-google-primary:hover {
    background: var(--google-blue-hover);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.4);
    transform: translateY(-1px);
    color: white;
}

.btn-google-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--google-blue);
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--google-gray-300);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-google-secondary:hover {
    background: var(--google-gray-50);
    border-color: var(--google-blue);
    color: var(--google-blue);
}

/* Hero Visual Container */
.hero-visual {
    position: relative;
    margin-top: 60px;
    padding: 0 20px;
}

.hero-browser-frame {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: subtle-float 4s ease-in-out infinite;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--google-gray-100);
    border-bottom: 1px solid var(--google-gray-200);
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red {
    background: #ff5f56;
}

.browser-dot.yellow {
    background: #ffbd2e;
}

.browser-dot.green {
    background: #27c93f;
}

.browser-content {
    line-height: 0;
}

.browser-content img {
    width: 100%;
    height: auto;
}

@keyframes subtle-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Keypoints - under browser window */
.hero-keypoints {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.google-stats {
    background: var(--google-gray-900);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-number.blue {
    color: var(--google-blue);
}

.stat-number.green {
    color: var(--google-green);
}

.stat-number.yellow {
    color: var(--google-yellow);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--google-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Feature Cards Section - Google Sustainability Bento Style
   ========================================================================== */

/* Main Features Section */
.gs-features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--google-gray-50) 100%);
}

/* Section Header */
.gs-features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.gs-features-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--google-blue);
    background: rgba(66, 133, 244, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.gs-features-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--google-gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.gs-features-subtitle {
    font-size: 1.15rem;
    color: var(--google-gray-700);
    line-height: 1.7;
}

/* ==========================================================================
   Bento Grid Layout
   ========================================================================== */

.gs-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Card Styles */
.gs-bento-card {
    background: var(--card-gradient, white);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gs-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Large Card - Spans full width on first row */
.gs-bento-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 400px;
}

.gs-bento-large .gs-card-visual {
    position: relative;
    overflow: hidden;
}

.gs-bento-large .gs-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gs-bento-large:hover .gs-card-visual img {
    transform: scale(1.05);
}

/* Medium Cards */
.gs-bento-medium {
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* Wide Card - Spans full width */
.gs-bento-wide {
    grid-column: 1 / -1;
    min-height: auto;
}

/* ==========================================================================
   Card Content Styles
   ========================================================================== */

.gs-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gs-card-content-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
}

.gs-card-left,
.gs-card-right {
    display: flex;
    flex-direction: column;
}

/* Card Icon */
.gs-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    color: var(--icon-color, var(--google-blue));
    font-size: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gs-bento-card:hover .gs-card-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Card Typography */
.gs-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--google-gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.gs-card-question {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--google-gray-700);
    margin-bottom: 16px;
    font-style: italic;
}

.gs-card-description {
    font-size: 0.95rem;
    color: var(--google-gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Card Stats */
.gs-card-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gs-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--google-gray-900);
    line-height: 1;
}

.gs-stat-label {
    font-size: 0.9rem;
    color: var(--google-gray-700);
    line-height: 1.4;
}

/* Card Link */
.gs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--google-blue);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.gs-card-link:hover {
    color: var(--google-blue-hover);
    gap: 10px;
}

.gs-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.gs-card-link:hover .gs-arrow {
    transform: translateX(4px);
}

/* Security Badges */
.gs-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.gs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--google-gray-700);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gs-badge .material-symbols-outlined {
    font-size: 16px;
    color: var(--google-red);
}

/* ==========================================================================
   Tools Section
   ========================================================================== */

.gs-tools-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--google-gray-200);
}

.gs-tools-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--google-gray-900);
    text-align: center;
    margin-bottom: 40px;
}

.gs-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gs-tool-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--google-gray-200);
}

.gs-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.gs-tool-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-light) 100%);
    border-radius: 14px;
    margin: 0 auto 18px;
    color: white;
    font-size: 24px;
}

.gs-tool-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--google-gray-900);
    margin-bottom: 10px;
}

.gs-tool-desc {
    font-size: 0.85rem;
    color: var(--google-gray-700);
    line-height: 1.6;
    margin-bottom: 16px;
}

.gs-tool-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--google-blue);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.gs-tool-link:hover {
    color: var(--google-blue-hover);
}

/* ==========================================================================
   Responsive Styles for Bento Grid
   ========================================================================== */

@media (max-width: 1024px) {
    .gs-bento-large {
        grid-template-columns: 1fr;
    }

    .gs-bento-large .gs-card-visual {
        height: 250px;
    }

    .gs-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gs-features-section {
        padding: 60px 16px;
    }

    .gs-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gs-bento-large,
    .gs-bento-wide {
        grid-column: 1;
    }

    .gs-bento-medium {
        min-height: auto;
    }

    .gs-card-content {
        padding: 28px;
    }

    .gs-card-content-horizontal {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px;
    }

    .gs-card-title {
        font-size: 1.25rem;
    }

    .gs-stat-number {
        font-size: 2rem;
    }

    .gs-tools-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .gs-tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gs-tool-card {
        padding: 20px;
    }
}

/* Keep old classes for backward compatibility but they won't be used */
.google-features {
    padding: 100px 20px;
    background: var(--google-gray-50);
}

.google-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.google-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--google-gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.google-section-subtitle {
    font-size: 1.15rem;
    color: var(--google-gray-700);
    line-height: 1.7;
}

/* ==========================================================================
   Benefits Section (Alternating Layout)
   ========================================================================== */

.google-benefits {
    padding: 100px 0;
    background: var(--google-gray-50);
}

.benefit-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.benefit-block:last-child {
    margin-bottom: 0;
}

.benefit-block.reverse {
    direction: rtl;
}

.benefit-block.reverse>* {
    direction: ltr;
}

.benefit-content {
    padding: 20px 0;
}

.benefit-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--google-gray-900);
    margin-bottom: 16px;
}

.benefit-desc {
    font-size: 1rem;
    color: var(--google-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--google-gray-700);
}

.benefit-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--pb-green);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.benefit-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Bottom CTA Section - Claude-style Light Design
   ========================================================================== */

.google-cta-section {
    padding: 40px 0;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--google-gray-900);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--google-gray-700);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-google-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    color: var(--google-blue);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.btn-google-text:hover {
    color: var(--google-blue-hover);
    background: rgba(66, 133, 244, 0.08);
}

/* Claude-style Key Points Section */
.cta-keypoints {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--google-gray-200);
}

.cta-keypoint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.cta-keypoint:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.cta-keypoint-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-green-light) 100%);
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.cta-keypoint-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--google-gray-900);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-google {
        min-height: auto;
        padding: 32px;
    }

    .feature-icon-google {
        width: 60px;
        height: 60px;
        font-size: 28px;
        border-radius: 16px;
    }

    .feature-title-google {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .google-hero {
        padding: 60px 0 80px;
    }

    .google-headline {
        font-size: 2rem;
    }

    .google-subheadline {
        font-size: 1.1rem;
    }

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

    .btn-google-primary,
    .btn-google-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-browser-frame {
        margin: 0 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .benefit-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefit-block.reverse {
        direction: ltr;
    }

    .google-section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

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

    .feature-card-google {
        padding: 24px;
        border-radius: 16px;
    }

    .feature-icon-google {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-google-blue {
    color: var(--google-blue);
}

.text-google-green {
    color: var(--google-green);
}

.text-google-gray {
    color: var(--google-gray-700);
}

.bg-google-light {
    background: var(--google-gray-50);
}