* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Animated waves background */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%234285f4' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(66, 133, 244, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.whale-logo {
    width: 45px;
    height: 45px;
    animation: float-whale 3s ease-in-out infinite;
}

@keyframes float-whale {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
}

.nav-right {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: flex;
    background: #f0f4ff;
    border-radius: 25px;
    padding: 3px;
    gap: 5px;
}

.lang-option {
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
}

.lang-option.active {
    color: #fff;
    background: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.api-button {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #4285f4;
    color: #4285f4;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.api-button:hover {
    background: #4285f4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Hero Section */
.hero-section {
    margin-top: 100px;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    position: relative;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.tagline {
    font-size: 24px;
    color: #4285f4;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #4285f4;
    color: white;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
}

.cta-primary:hover {
    background: #3a75e4;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(66, 133, 244, 0.4);
}

.cta-secondary {
    background: white;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.cta-secondary:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.2);
}

/* Section styles */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4285f4, #66a6ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(66, 133, 244, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4285f4, #66a6ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Capabilities Section */
.capabilities-section {
    background: #f8faff;
}

.capability-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.capability-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.capability-tab.active {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.capability-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.code-example {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

/* Model Comparison */
.comparison-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #4285f4;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:hover {
    background: #f8faff;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f0fe;
    color: #4285f4;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Use Cases Carousel */
.use-cases-carousel {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.use-case-slide {
    min-width: 100%;
    padding: 40px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #4285f4;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: #3a75e4;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

/* Developer Section */
.dev-section {
    background: #1e1e1e;
    color: white;
}

.dev-section .section-title,
.dev-section .section-subtitle {
    color: white;
}

.code-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.code-tab {
    padding: 8px 16px;
    background: #2d2d2d;
    border: none;
    color: #888;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-tab.active {
    background: #4285f4;
    color: white;
}

.code-block {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8faff;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #666;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-whale-logo {
    width: 45px;
    height: 45px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 600;
    color: white;
    line-height: 1;
}

.footer-tagline {
    color: #4285f4;
    font-size: 13px;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    padding: 5px 10px;
}

.footer-nav a:hover {
    color: #4285f4;
}

.footer-divider {
    color: #444;
    font-size: 12px;
}

.footer-copyright {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .nav-container { flex-direction: column; gap: 15px; }
    .api-button { display: none; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-button { width: 100%; max-width: 300px; justify-content: center; }
    .section-title { font-size: 2rem; }
    .comparison-table { overflow-x: auto; }
    .comparison-table table { min-width: 600px; }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-divider {
        display: none;
    }
}

/* Add this to your styles.css file */

.lang-switcher {
    display: flex;
    background: #f0f4ff;
    border-radius: 25px;
    padding: 3px;
    gap: 5px;
}

.lang-option {
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.lang-option:hover {
    color: #4285f4;
}

.lang-option.active {
    color: #fff;
    background: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.lang-option.active:hover {
    color: #fff;
}