@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #666666;
    --accent: #000000;
    --accent-hover: #333333;
    --surface: #f8f8f8;
    --border: #e5e5e5;

    --font-main: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;

    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;

    background-position: var(--grid-x, 0px) var(--grid-y, 0px);
    will-change: background-position;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

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

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
}

.btn-primary,
.btn-secondary,
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
    position: relative;
    background: transparent;
    color: white;
    border: none;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 350%;
    background: conic-gradient(from 0deg, #ff4545, #00ff99, #006aff, #ff0095, #ff4545);
    transform: translate(-50%, -50%);
    animation: border-spin 3s linear infinite;
    z-index: -2;
    transition: opacity 0.3s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--accent);
    border-radius: 48px;
    z-index: -1;
    transition: background 0.3s;
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    opacity: 0.2;

}

.btn-primary:hover::after {
    background: var(--accent-hover);
}

@keyframes border-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--surface);
}

.btn-primary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon,
.logo-icon img {
    width: 24px;
    height: 24px;
}

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

.nav-links a:not(.btn-nav) {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.btn-nav):hover {
    color: var(--text-primary);
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    background: var(--accent);
    color: white;
    font-size: 0.9rem;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.hero-section {
    padding-top: 140px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    margin-bottom: 2.5rem;
    max-width: 90%;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.btn-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.hero-hint {
    position: absolute;
    top: 100%;

    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.3rem;
    opacity: 0;
    width: max-content;

    animation: fadeUpHint 0.8s ease 0.6s forwards;
    pointer-events: none;
}

.hero-hint img {
    width: 30px;
    height: auto;
    transform: rotate(0deg);

    filter: brightness(0);
}

.hero-hint span {
    font-family: cursive;
    font-size: 0.95rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-top: 14px;
}

@keyframes fadeUpHint {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.hero-visual-scroll {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    z-index: 2;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.mockup-main {
    width: 300px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 6px solid #222;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotateX(20deg) rotateY(-10deg) rotateZ(5deg);

    transition: transform 0.1s ease-out;

}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #fff;

    background-image: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
    border-color: var(--border);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.gallery-section {
    padding: 80px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.gallery-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
    display: flex;
    gap: 2rem;
    animation: scrollMarquee 20s linear infinite;
    width: max-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 250px;
    height: 310px;
    background: #f0f0f0;
    border-radius: 25px;
    flex-shrink: 0;
    border: 3px solid #333;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-screen {
    width: 100%;
    height: 100%;
}

.mock-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {

        transform: translateX(calc(-1 * (250px + 2rem) * 10));
    }
}

.testimonials-section {
    padding: 100px 0;
    background: var(--surface);
}

.testimonials-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    scroll-snap-type: x mandatory;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    scroll-snap-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 100%;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--text-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.user-review {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
}

.user-name {
    margin-bottom: 0.2rem;
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    color: var(--text-primary);
}

.nav-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.showcase-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.phone-mockup-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 45px;
    border: 12px solid #222;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup-wrapper:hover .phone-frame {
    transform: rotate(0deg) scale(1.02);
}

.screen-content {
    background: black;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tutorial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 5;
    animation: spin 1s linear infinite;
    color: var(--text-secondary);
    pointer-events: none;
    transition: opacity 0.3s;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-overlay.visible {
    opacity: 1;
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon svg {
    margin-left: 4px;

    width: 32px;
    height: 32px;
    fill: black;
}

.video-overlay.visible .play-icon {
    transform: scale(1);
}

.showcase-text {
    padding-left: 0;
}

.steps-list {
    list-style: none;
    margin-top: 3rem;
    position: relative;
}

.steps-list::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 24px;
    width: 2px;
    background: var(--border);
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item.active,
.step-item:hover {
    opacity: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.step-item.active .step-num {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--surface);
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: black;
    color: white;
    border-radius: var(--radius-lg);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;

    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-card h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-card p {
    color: #999;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-card .btn-primary {
    background: white;
    border-color: white;
}

.cta-card .btn-primary:hover {
    background: #e0e0e0;
}

.footer {
    background: var(--surface);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.link-group h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.link-group a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .showcase-container {
        gap: 4rem;
    }
}

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

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: auto;
        margin-bottom: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-scroll {
        height: 450px;
    }

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

    .mockup-main {
        width: 240px;
        height: 510px;
    }

    .showcase-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .showcase-text {
        order: -1;

        margin-top: 2rem;
    }

    .steps-list::before {
        left: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 3rem;
        width: 100%;
        justify-content: space-between;
    }
}
