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

:root {
    --bg-primary: #141414;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #202020;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-primary: #ED7845;
    --accent-secondary: #0F4C75;
    --gradient-primary: linear-gradient(135deg, #ED7845 0%, #0F4C75 100%);
    --gradient-secondary: linear-gradient(135deg, #0F4C75 0%, #ED7845 100%);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    min-height: 100vh;
    padding-top: 80px;
    background: #000000;
}

/* Hero Logo Section */
.hero-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-video {
    margin-bottom: -3rem;
    margin-top: -6rem;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-video video {
    width: 1000px;
    height: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.hero-logo-text {
    font-size: 8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.hero-logo-domain {
    font-size: 8rem;
    font-weight: 900;
    color: #ED7845;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 10;
    margin-top: -8rem;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-logo-text,
    .hero-logo-domain {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-logo-text,
    .hero-logo-domain {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-logo-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-text,
    .hero-logo-domain {
        font-size: 3rem;
    }
    
    .hero-logo {
        flex-direction: column;
        gap: 0;
    }
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(237, 120, 69, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: rgba(26, 26, 26, 0.5);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 120, 69, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
}

/* AI Section */
.ai-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ai-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.ai-text .section-description {
    text-align: left;
    margin-bottom: 3rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-bullet {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Code Preview */
.code-preview {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.code-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.code-line.ai-suggestion {
    background: rgba(237, 120, 69, 0.1);
    margin: 0 -1.5rem 0.5rem;
    padding: 0.5rem 1.5rem;
    border-left: 3px solid var(--accent-primary);
}

.line-number {
    color: rgba(255, 255, 255, 0.4);
    width: 20px;
    text-align: right;
    user-select: none;
}

.code-text {
    color: rgba(255, 255, 255, 0.9);
}

.keyword { color: var(--accent-primary); }
.class-name { color: var(--accent-secondary); }
.function-name { color: #28ca42; }

.cursor {
    animation: blink 1s infinite;
    color: white;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.ai-tooltip {
    position: absolute;
    bottom: -60px;
    right: 1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(237, 120, 69, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.ai-tooltip span {
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.ai-tooltip p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Performance Section */
.performance-section {
    padding: 8rem 0;
    background: rgba(26, 26, 26, 0.5);
}

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

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 76, 117, 0.3);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Download Section */
.download-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.download-btn.primary {
    background: var(--gradient-primary);
    border: none;
}

.download-btn:hover {
    transform: translateX(4px);
    border-color: rgba(237, 120, 69, 0.3);
}

.download-btn.primary:hover {
    box-shadow: 0 10px 30px rgba(237, 120, 69, 0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ai-text .section-title,
    .ai-text .section-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    margin-left: -12px;
    animation: bounce 2s ease-in-out infinite;
    font-size: 24px;
    color: #cccccc;
    font-weight: normal;
}

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

/* Mouse Light Effect */
.mouse-light {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    mix-blend-mode: screen;
}

/* Glitch Effects */
.screen-glitch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 0, 0, 0.1) 10%,
        transparent 20%,
        rgba(0, 255, 0, 0.1) 30%,
        transparent 40%,
        rgba(0, 0, 255, 0.1) 50%,
        transparent 60%,
        rgba(255, 255, 0, 0.1) 70%,
        transparent 80%,
        rgba(255, 0, 255, 0.1) 90%,
        transparent 100%
    );
    animation: screen-glitch 0.5s infinite;
}

@keyframes screen-glitch {
    0%, 100% { 
        transform: translateX(0);
        opacity: 0;
    }
    10% { 
        transform: translateX(-10px);
        opacity: 0.8;
    }
    20% { 
        transform: translateX(10px);
        opacity: 0.6;
    }
    30% { 
        transform: translateX(-5px);
        opacity: 1;
    }
    40% { 
        transform: translateX(15px);
        opacity: 0.4;
    }
    50% { 
        transform: translateX(-20px);
        opacity: 0.9;
    }
    60% { 
        transform: translateX(8px);
        opacity: 0.7;
    }
    70% { 
        transform: translateX(-12px);
        opacity: 0.5;
    }
    80% { 
        transform: translateX(5px);
        opacity: 0.8;
    }
    90% { 
        transform: translateX(-8px);
        opacity: 0.3;
    }
}

.cursor-glitch {
    animation: cursor-glitch 0.1s infinite !important;
}

@keyframes cursor-glitch {
    0% { 
        filter: blur(10px) hue-rotate(0deg);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    20% { 
        filter: blur(20px) hue-rotate(90deg);
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.8);
    }
    40% { 
        filter: blur(5px) hue-rotate(180deg);
        box-shadow: 0 0 60px rgba(0, 255, 0, 0.8);
    }
    60% { 
        filter: blur(30px) hue-rotate(270deg);
        box-shadow: 0 0 30px rgba(0, 0, 255, 0.8);
    }
    80% { 
        filter: blur(15px) hue-rotate(45deg);
        box-shadow: 0 0 50px rgba(255, 255, 0, 0.8);
    }
    100% { 
        filter: blur(10px) hue-rotate(360deg);
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }
}

.glitch-active {
    animation: body-glitch 2s ease-in-out;
}

@keyframes body-glitch {
    0%, 100% { 
        filter: none;
    }
    10% { 
        filter: hue-rotate(90deg) saturate(1.5);
    }
    20% { 
        filter: invert(0.1) contrast(1.2);
    }
    30% { 
        filter: hue-rotate(180deg) brightness(1.3);
    }
    40% { 
        filter: sepia(0.3) contrast(1.5);
    }
    50% { 
        filter: hue-rotate(270deg) saturate(2);
    }
    60% { 
        filter: invert(0.2) brightness(1.5);
    }
    70% { 
        filter: contrast(2) hue-rotate(45deg);
    }
    80% { 
        filter: saturate(0.5) brightness(0.8);
    }
    90% { 
        filter: hue-rotate(315deg) contrast(1.8);
    }
}
