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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b85;
    --accent-blue: #007AFF;
    --accent-purple: #5856D6;
    --accent-cyan: #5AC8FA;
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-secondary: linear-gradient(135deg, #5856D6 0%, #AF52DE 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 122, 255, 0.3);
    --shadow-glow-purple: 0 0 40px rgba(88, 86, 214, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Future Update Banner */
.future-update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--gradient-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.875rem 0;
    backdrop-filter: blur(20px);
    animation: slideDown 0.5s ease-out;
    display: block !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.banner-icon {
    font-size: 1.25rem;
}

.banner-text {
    color: var(--text-primary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-link {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.banner-link:hover {
    opacity: 0.8;
}


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

/* Navigation */
.nav {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: top 0.3s ease;
}

.nav.no-banner {
    top: 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-cyan);
    background: rgba(90, 200, 250, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin-bottom: 4rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    backdrop-filter: blur(10px);
}

.hero-badge-free {
    background: rgba(40, 202, 66, 0.1);
    border: 1px solid rgba(40, 202, 66, 0.3);
    color: #28ca42;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: 4rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 122, 255, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

.cta-button-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Code Preview */
.hero-visual {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
}

.code-preview {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

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

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.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 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.code-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.code-line.highlight {
    opacity: 1;
    background: rgba(0, 122, 255, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    margin: 0.5rem -0.5rem;
    border-left: 2px solid var(--accent-blue);
}

.line-number {
    color: var(--text-tertiary);
    min-width: 2rem;
    text-align: right;
}

.code-text {
    color: var(--text-primary);
    flex: 1;
}

.code-error {
    color: #ff5f57;
}

.code-suggestion {
    color: var(--accent-cyan);
}

.code-success {
    color: #28ca42;
}

.code-info {
    color: var(--accent-blue);
}

/* Sections */
.section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    letter-spacing: -0.02em;
}

.section-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
}

/* Demo Video Section */
.demo-video-section {
    background: var(--bg-primary);
    position: relative;
}

.demo-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 122, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 122, 255, 0.3);
    transform: translateY(-4px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* How It Works */
.how-it-works {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Zyohra */
.why-zyohra {
    background: var(--bg-primary);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.benefit-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Built for Xcode Developers */
.built-for {
    background: var(--bg-secondary);
}

.developer-features {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.developer-feature-left,
.developer-feature-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.developer-feature-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dev-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dev-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dev-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.xcode-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.xcode-logo {
    width: 120px;
    height: 120px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Coming Soon Section */
.coming-soon {
    background: var(--bg-primary);
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(90, 200, 250, 0.1);
    border: 1px solid rgba(90, 200, 250, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.coming-soon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.coming-soon-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.coming-soon-icon {
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-contact {
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-cyan);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(90, 200, 250, 0.3);
    background: rgba(90, 200, 250, 0.1);
}

.footer-contact-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    background: rgba(90, 200, 250, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 200, 250, 0.3);
}

.footer-contact-link svg {
    transition: transform 0.3s ease;
    margin-right: 0.75rem;
}

.footer-contact-link:hover svg {
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-4 {
    animation: fadeIn 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        padding: 0 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .demo-description {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .video-container {
        padding: 0 1rem;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
    
    .banner-text {
        font-size: 0.8125rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .future-update-banner {
        padding: 1rem 0; /* Slightly more padding on mobile */
    }
    
    .nav {
        top: 85px; /* Account for taller banner height on mobile due to text wrapping */
    }
    
    .nav.no-banner {
        top: 0; /* When banner is closed, move nav to top */
    }
    
    .hero {
        padding: 8rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .benefit-item {
        flex-direction: column;
        gap: 1rem;
    }

    .benefit-number {
        font-size: 2rem;
        min-width: auto;
    }

    .developer-features {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .developer-feature-center {
        order: -1;
    }

    .xcode-logo {
        width: 80px;
        height: 80px;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .coming-soon-card {
        padding: 2rem;
    }
    
    .coming-soon-title {
        font-size: 1.5rem;
    }
    
    .coming-soon-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-contact {
        padding: 1.25rem 1.5rem;
    }
    
    .footer-contact-link {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .nav {
        top: 85px; /* Ensure nav is fully below banner on small mobile */
    }
    
    .nav.no-banner {
        top: 0; /* When banner is closed, move nav to top */
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .feature-card {
        padding: 2rem;
    }
    
    .footer-contact {
        padding: 1.25rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-contact-link {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
    }
}

