* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #1a1a2e;
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000000;
    line-height: 1.6;
    font-weight: 300;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Section Styling */
.section {
    padding: 15px 0;
    width: 100%;
}

.section-card {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 30px 0 15px;
}

.hero-card {
    position: relative;
    overflow: hidden;
}

.ghost-26 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 18px));
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 21rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.035);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.02em;
}

.hero-card > *:not(.ghost-26) {
    position: relative;
    z-index: 1;
}

.test-drive-agent {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 0.865rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.0;
    margin-bottom: calc(1.2rem - 15px);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    display: block;
    font-size: 0.6em;
    color: #000;
    font-weight: 200;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    margin-top: 19px;
    letter-spacing: 0.005em;
    margin-bottom: 4px;
}

.hero-tagline {
    display: block;
    font-size: 0.35em;
    color: #000;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    margin-top: 15px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.thinking-shimmer {
    display: inline;
    color: #000;
    background: linear-gradient(
        90deg,
        #000 0%, #000 35%,
        #34c759 45%, #007AFF 55%,
        #000 65%, #000 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-think 12s linear infinite;
}

@keyframes shimmer-think {
    0%, 17% { background-position: 150% 0; }
    30% { background-position: -150% 0; }
    30.01%, 67% { background-position: -150% 0; }
    80% { background-position: 150% 0; }
    80.01%, 100% { background-position: 150% 0; }
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

/* CTA Buttons */
.cta-section {
    margin-top: calc(2rem - 15px);
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 1px solid #000;
    border-radius: 60px;
    margin: 0.5rem;
    min-width: 200px;
    text-align: center;
}

.cta-button:hover {
    background: #fff;
    color: #000;
}

.cta-button.secondary {
    background: transparent;
    color: #000;
    border-color: #000;
}

.cta-button.secondary:hover {
    background: #000;
    color: #fff;
}

/* Glass Buttons */
.cta-glass {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.25s ease;
}

.cta-glass-green {
    background: rgba(30, 185, 60, 0.92);
    color: #fff;
    text-shadow: 0 1px 3px rgba(10, 100, 25, 0.6);
    border-color: rgba(30, 185, 60, 0.7);
    box-shadow: 0 2px 12px rgba(30, 185, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-glass-green:hover {
    background: rgba(50, 210, 85, 0.98);
    color: #fff;
    box-shadow: 0 4px 24px rgba(50, 210, 85, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-glass-orange {
    background: rgba(255, 149, 0, 0.92);
    color: #fff;
    text-shadow: 0 1px 3px rgba(180, 90, 0, 0.6);
    border-color: rgba(255, 149, 0, 0.7);
    box-shadow: 0 2px 12px rgba(255, 149, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-glass-orange:hover {
    background: rgba(255, 175, 50, 0.98);
    color: #fff;
    box-shadow: 0 4px 24px rgba(255, 175, 50, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-glass-blue {
    background: rgba(0, 122, 255, 0.85);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 50, 140, 0.6);
    border-color: rgba(0, 122, 255, 0.6);
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-glass-blue:hover {
    background: rgba(70, 170, 255, 0.98);
    color: #fff;
    box-shadow: 0 4px 24px rgba(70, 170, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feature-card {
    text-align: center;
    padding: 8px 10px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 6px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #000;
}

.feature-desc {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.4;
}

/* LLM Providers Grid */
.llm-providers-grid .llm-provider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Release Two-Column Layout */
.release-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 2rem;
}

.release-col-title {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin-bottom: 0.75rem;
}

/* Release Section */
.release-list {
    list-style: none;
    padding: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 2rem;
}

.release-list li {
    padding: 4px 0;
}

.release-list li::before {
    content: "•";
    color: #667eea;
    margin-right: 8px;
}

.release-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.release-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #666;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.release-table td {
    padding: 16px;
    font-size: 0.9rem;
    color: #000;
    border-bottom: 1px solid #f0f0f0;
}

.version-badge {
    display: inline-block;
    background: rgba(0, 122, 255, 0.85);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 50, 140, 0.6);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    transition: all 0.3s ease;
}

.version-badge:hover {
    background: rgba(70, 170, 255, 0.98);
    box-shadow: 0 4px 24px rgba(70, 170, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px 0 30px;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #666;
    font-weight: 300;
}

/* Contact Form */
.contact-form {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    color: #000;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .cta-button {
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.contact-form .cta-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}

.contact-buttons > * {
    flex: 1;
    text-align: center;
}

.contact-status {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    min-height: 1.2em;
}

.contact-status.success {
    color: #228B22;
}

.contact-status.error {
    color: #cc0000;
}

/* Icon wrapper */
.icon-wrap {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 26%;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    border-radius: 26%;
    pointer-events: none;
    z-index: 2;
}

.wave-1 {
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    animation: wave-in 8s ease-in-out infinite;
}

.wave-2 {
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: wave-in 8s ease-in-out infinite 4s;
}

@keyframes wave-in {
    0%   { transform: translate(-50%, -50%) rotate(var(--wave-rot, 0deg)) scale(1.1); opacity: 0; }
    50%  { transform: translate(-50%, -50%) rotate(var(--wave-rot, 0deg)) scale(0.3); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) rotate(var(--wave-rot, 0deg)) scale(0.1); opacity: 0; }
}

.icon-wrap img {
    position: relative;
    width: 128px;
    height: 128px;
    animation: breathe 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes breathe {
    0%, 20%  { transform: scale(1);    filter: brightness(1); }
    40%, 60% { transform: scale(1.08); filter: brightness(1.12); }
    80%, 100% { transform: scale(1);    filter: brightness(1); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 15px 0;
    }

    .section-card {
        padding: 30px;
        border-radius: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .release-columns,
    .setup-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .release-table th.col-size,
    .release-table td.col-size,
    .release-table th.col-sha,
    .release-table td.col-sha {
        display: none;
    }

    .llm-providers-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-buttons {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .contact-buttons > * {
        width: 100% !important;
    }
}
