/* =============================================
   TÜYO Landing Page - Section Styles
   ============================================= */

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    background: rgba(9, 9, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--space-3) 0;
    border-bottom-color: var(--glass-border);
    background: rgba(9, 9, 13, 0.95);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.navbar-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width var(--transition-base);
}

.navbar-link:hover {
    color: var(--text-primary);
}

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

.navbar-cta {
    margin-left: var(--space-4);
}

.navbar .logo img {
    height: 77px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: var(--space-8);
    flex-direction: column;
    gap: var(--space-6);
    z-index: var(--z-fixed);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: var(--text-xl);
    color: var(--text-primary);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--glass-border);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-mockup-wrapper {
    position: relative;
}

.hero-mockup-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, var(--neon-green-glow) 0%, transparent 70%);
    filter: blur(40px);
    animation: glow 4s ease-in-out infinite;
    z-index: -1;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--bg-surface);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

/* ===== APP SHOWCASE SECTION ===== */
.showcase {
    position: relative;
    overflow: hidden;
}

.showcase-slider-container {
    position: relative;
    padding: 0 var(--space-16);
}

.showcase-slider {
    display: flex;
    gap: var(--space-8);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-8) var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.showcase-slider::-webkit-scrollbar {
    display: none;
}

.showcase-slide {
    scroll-snap-align: center;
    flex-shrink: 0;
}

.showcase-slide .iphone-mockup {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.showcase-slide:hover .iphone-mockup {
    transform: translateY(-10px);
    box-shadow:
        0 35px 100px rgba(0, 255, 136, 0.2),
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: var(--text-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.showcase-nav:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    border-color: var(--neon-green);
}

.showcase-nav-prev {
    left: var(--space-4);
}

.showcase-nav-next {
    right: var(--space-4);
}

.showcase-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    cursor: pointer;
    transition: all var(--transition-base);
}

.showcase-dot.active {
    background: var(--neon-green);
    width: 30px;
}

.showcase-dot:hover {
    background: var(--neon-green-dark);
}

.showcase-label {
    text-align: center;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: var(--bg-surface);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    position: relative;
}

/* Connecting Lines */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(16.67% + 30px);
    right: calc(16.67% + 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-purple), var(--gold));
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    background: var(--bg-surface);
}

/* ===== COMING SOON / BETA SECTION ===== */
.beta {
    position: relative;
    overflow: hidden;
}

.beta-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.beta-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-16);
    position: relative;
    overflow: hidden;
}

.beta-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-purple), var(--neon-green));
    background-size: 200% 200%;
    border-radius: var(--radius-3xl);
    z-index: -1;
    animation: gradientShift 5s ease infinite;
    opacity: 0.5;
}

.beta-icon {
    font-size: 4rem;
    margin-bottom: var(--space-6);
}

.beta-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.beta-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.beta-form {
    display: flex;
    gap: var(--space-4);
    max-width: 450px;
    margin: 0 auto;
}

.beta-form .form-input {
    flex: 1;
}

.beta-form .btn {
    flex-shrink: 0;
}

.beta-success {
    display: none;
    padding: var(--space-4);
    background: var(--neon-green-subtle);
    border: 1px solid var(--neon-green);
    border-radius: var(--radius-lg);
    color: var(--neon-green);
    margin-top: var(--space-4);
}

.beta-success.show {
    display: block;
}

/* ===== CONTACT SECTION ===== */
.contact {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info {
    padding-right: var(--space-8);
}

.contact-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.contact-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.contact-email {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    color: var(--neon-green);
    margin-bottom: var(--space-8);
}

.contact-email svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--space-4);
}

.contact-success {
    display: none;
    padding: var(--space-4);
    background: var(--neon-green-subtle);
    border: 1px solid var(--neon-green);
    border-radius: var(--radius-lg);
    color: var(--neon-green);
    text-align: center;
    margin-top: var(--space-4);
}

.contact-success.show {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.footer-links h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--glass-border);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    background: var(--neon-green);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-neon-green);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--neon-green-glow);
}