/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(180deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00d4ff;
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00d4ff, #5b21b6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #5b21b6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 46, 0.6) 50%, rgba(10, 10, 10, 0.7) 100%),
                radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(91, 33, 182, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.title-subtitle {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: #00d4ff;
}

.hero-description {
    font-size: 20px;
    color: #a0a0a0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Hero Features Checklist */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(8px);
}

.feature-check {
    font-size: 20px;
    color: #00d4ff;
    font-weight: bold;
    min-width: 20px;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: #0a0a0a;
}

.download-content {
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.code-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
}

.code-label {
    font-size: 14px;
    font-weight: 500;
    color: #a0a0a0;
}

.copy-button {
    background: #00d4ff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: #00b8e6;
    transform: translateY(-1px);
}

.code-content {
    padding: 24px;
    background: #1a1a1a;
}

.install-command {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    white-space: nowrap;
    overflow-x: auto;
    user-select: all;
    display: block;
    letter-spacing: 0.5px;
}

/* Develop Section */
.develop {
    padding: 120px 0;
    background: #0a0a0a;
}

.develop-steps {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-info {
    max-width: 500px;
}

.step-title {
    font-size: 28px;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 16px;
}

.step-description {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
}

/* Deploy Section */
.deploy {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.deploy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('deploy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.deploy .container {
    position: relative;
    z-index: 1;
}

.deploy-steps {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Performance Section */
.performance {
    padding: 120px 0;
    background: #0f0f0f;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.orbstack-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.orbstack-link:hover {
    color: #00b8e6;
    text-decoration: underline;
}

.performance-comparison {
    margin-bottom: 80px;
}

.comparison-chart {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bar-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bar-label {
    min-width: 200px;
    font-weight: 600;
    color: #ffffff;
}

.bar {
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    transition: width 2s ease-out;
}

.devkit-bar {
    background: linear-gradient(135deg, #00d4ff, #5b21b6);
    width: 100%;
}

.traditional-bar {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    width: 20%;
}

.manual-bar {
    background: linear-gradient(135deg, #ffa726, #ff7043);
    width: 5%;
}

.bar-value {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #a0a0a0;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #00d4ff, #5b21b6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-description {
    color: #a0a0a0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-metric {
    font-size: 18px;
    font-weight: 600;
    color: #00d4ff;
}

/* Architecture Section */
.architecture {
    padding: 120px 0;
    background: #0f0f0f;
}

.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.arch-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    min-width: 250px;
    text-align: center;
}

.arch-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #00d4ff;
}

.arch-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.arch-icon {
    font-size: 24px;
}

.arch-text {
    font-weight: 500;
    color: #ffffff;
}

.arch-arrow {
    font-size: 32px;
    color: #00d4ff;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: #0a0a0a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.testimonial-content {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    font-size: 32px;
}

.author-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.author-title {
    color: #a0a0a0;
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 20px;
    color: #a0a0a0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 14px;
}

.note-icon {
    color: #00d4ff;
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-logo-image:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(180deg);
}

.footer-description {
    color: #a0a0a0;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00d4ff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-social {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .title-main {
        font-size: 48px;
    }
    
    .title-subtitle {
        font-size: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        position: relative;
        margin: 16px auto;
        width: 200px;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
    }
    
    .architecture-diagram {
        flex-direction: column;
    }
    
    .arch-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        max-width: 100%;
        margin-top: 60px;
    }
    
    .install-command {
        font-size: 12px;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .step:nth-child(even) {
        direction: ltr;
    }
    
    .step-info {
        max-width: none;
    }
    
    .deploy-steps {
        margin-top: 60px;
    }
}

/* Very wide screens - make command even smaller */
@media (min-width: 1400px) {
    .install-command {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .title-main {
        font-size: 36px;
    }
    
    .title-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .performance-stats {
        grid-template-columns: 1fr;
    }
}
