/* CUT AI - Landing Page */

:root {
    --landing-primary: #405189;
    --landing-secondary: #3577f1;
    --landing-dark: #212529;
    --landing-light: #f3f6f9;
    --landing-gray: #64748b;
    --landing-accent: #0ab39c;
}

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

/* ── Navbar ── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s, box-shadow 0.3s;
}

.landing-nav.scrolled {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.landing-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.landing-nav .nav-brand img {
    height: 36px;
}

.landing-nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.landing-nav .nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav .nav-links a:hover {
    color: #fff;
}

.landing-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--landing-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-nav .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(10, 179, 156, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Hero Slider ── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.hero-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(33, 37, 41, 0.88) 0%,
        rgba(64, 81, 137, 0.65) 50%,
        rgba(33, 37, 41, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    max-width: 700px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-tag .tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, #3577f1, #0ab39c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--landing-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 179, 156, 0.4);
    color: #fff;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.75rem;
}

.hero-indicators button {
    width: 40px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.hero-indicators button.active {
    background: #fff;
    width: 60px;
}

/* ── Sections ── */
.landing-section {
    padding: 6rem 0;
}

.landing-section.bg-dark {
    background: var(--landing-dark);
    color: #fff;
}

.landing-section.bg-light {
    background: var(--landing-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(64, 81, 137, 0.1);
    color: var(--landing-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-dark .section-tag {
    background: rgba(53, 119, 241, 0.2);
    color: var(--landing-secondary);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--landing-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.bg-dark .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Features Grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bg-dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--landing-gray);
    line-height: 1.6;
}

.bg-dark .feature-card p {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Flow Section ── */
.flow-steps {
    display: flex;
    gap: 1rem;
    position: relative;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.flow-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.flow-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--landing-gray);
    line-height: 1.6;
}

.flow-connector {
    position: absolute;
    top: 3.4rem;
    right: -0.65rem;
    color: var(--landing-primary);
    font-size: 1.25rem;
    z-index: 2;
}

/* ── Tech Stack ── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: var(--landing-secondary);
}

.tech-item .tech-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.tech-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Roadmap ── */
.roadmap-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.roadmap-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.roadmap-item:hover {
    transform: translateX(4px);
}

.roadmap-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.roadmap-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.roadmap-item p {
    font-size: 0.88rem;
    color: var(--landing-gray);
    line-height: 1.5;
}

/* ── CTA Section ── */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--landing-dark), #2a2f34);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ── */
.landing-footer {
    padding: 2rem 0;
    background: #050a15;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-size: 0.85rem;
}

.landing-footer a {
    color: var(--landing-secondary);
    text-decoration: none;
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-text h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .landing-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(33, 37, 41, 0.98);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    .landing-nav .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .features-grid,
    .tech-grid,
    .roadmap-list {
        grid-template-columns: 1fr;
    }
    .flow-steps {
        flex-direction: column;
    }
    .flow-connector {
        display: none;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
}
