:root {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --primary-color: #10b981;
    --primary-hover: #059669;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Outfit, sans-serif
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 23, 42, .8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .5rem
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color .3s
}

.nav-links a:hover {
    color: var(--text-primary)
}

.btn {
    padding: .75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
    cursor: pointer;
    border: none
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, .2)
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--text-primary)
}

.btn-secondary:hover {
    background-color: #334155;
    transform: translateY(-2px)
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 6rem 5% 2rem;
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, .15) 0, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1
}

.hero-content {
    flex: 1;
    max-width: 600px
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6
}

.hero-buttons {
    display: flex;
    gap: 1rem
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background-color: var(--surface-color);
    border-radius: 40px;
    border: 12px solid #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5), 0 0 0 2px #334155;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform .5s ease
}

.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg)
}

.mockup-header {
    text-align: center;
    margin-bottom: 2rem
}

.mockup-header h2 {
    font-size: 1.5rem;
    margin-bottom: .5rem
}

.mockup-header p {
    color: var(--primary-color);
    font-weight: 600
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1
}

.mockup-item {
    background: rgba(255, 255, 255, .05);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem
}

.item-icon {
    font-size: 1.5rem
}

.item-text {
    flex: 1;
    font-size: .9rem;
    font-weight: 600
}

.item-amount {
    font-weight: 800
}

.mockup-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: auto
}

.features-expanded {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    gap: 8rem
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem
}

.feature-row.reverse {
    flex-direction: row-reverse
}

.feature-text {
    flex: 1
}

.feature-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color)
}

.feature-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8
}

.feature-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.small-mockup {
    width: 250px;
    height: 500px;
    transform: rotateY(-10deg) rotateX(5deg);
    z-index: 2
}

.feature-char {
    position: absolute;
    width: 400px;
    z-index: 1;
    border-radius: 20px;
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%)
}

.left-char {
    left: -50px;
    top: -50px
}

.right-char {
    right: -50px;
    top: -50px
}

@media (max-width:900px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem
    }

    .feature-visual {
        margin-top: 2rem;
        transform: scale(.9)
    }

    .feature-char {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        opacity: .6
    }

    .left-char,
    .right-char {
        left: 50%;
        top: 50%
    }
}

@media (max-width:400px) {
    .feature-visual {
        transform: scale(.75)
    }

    .hero-title {
        font-size: 3rem
    }
}

.footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, .05)
}

@media (max-width:900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem
    }

    .hero-buttons {
        justify-content: center
    }

    .phone-mockup {
        transform: rotateY(0) rotateX(0);
        margin-top: 4rem
    }
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem !important;
    }

    .feature-row:nth-child(even) {
        flex-direction: column !important;
    }

    .feature-visual {
        flex-direction: column !important;
        margin-top: 2rem;
        min-height: unset !important;
    }

    .feature-char {
        position: relative !important;
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto -50px auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 2 !important;
        display: block;
    }

    .phone-mockup {
        margin: 0 auto !important;
        transform: none !important;
        z-index: 1 !important;
        position: relative;
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1rem !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}