/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-purple: #7c3aed;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-400: #9ca3af;
    --white: #ffffff;
    --background: #fafafa;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 5rem 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   DECORATIVE SHAPES
   ============================================ */
.decorative-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.6;
}

.shape-cross {
    width: 20px;
    height: 20px;
    top: 180px;
    left: 150px;
    background:
        linear-gradient(to right, #6dd5ed 45%, transparent 45%, transparent 55%, #6dd5ed 55%),
        linear-gradient(to bottom, #6dd5ed 45%, transparent 45%, transparent 55%, #6dd5ed 55%);
}

.shape-circle-pink {
    width: 40px;
    height: 40px;
    top: 280px;
    left: 60px;
    background: radial-gradient(circle, transparent 30%, #ec4899 30%, #ec4899 50%, transparent 50%);
    border-radius: 50%;
}

.shape-diamond {
    width: 25px;
    height: 25px;
    top: 380px;
    left: 150px;
    background: linear-gradient(135deg, #9ca3af 25%, transparent 25%),
        linear-gradient(225deg, #9ca3af 25%, transparent 25%),
        linear-gradient(45deg, #9ca3af 25%, transparent 25%),
        linear-gradient(315deg, #9ca3af 25%, transparent 25%);
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-size: 50% 50%;
    background-repeat: repeat;
    transform: rotate(45deg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--purple-600);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple-600);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple-600);
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-signin {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    padding: 0.6rem 1.5rem;
}

.btn-signin:hover {
    border-color: var(--purple-600);
    color: var(--purple-600);
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--purple-600);
    border: 2px solid var(--purple-600);
}

.btn-outline:hover {
    background: var(--purple-600);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background: var(--white);
}

.hero-gradient {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 70%;
    height: 120%;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 40%, #ec4899 70%, #f97316 100%);
    border-radius: 50% 0% 0% 50%;
    z-index: 1;
    opacity: 0.95;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.phone-mockup {
    position: relative;
    width: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-card::after {
    content: '→';
    position: absolute;
    top: 3rem;
    right: -1rem;
    font-size: 2rem;
    color: var(--purple-600);
    opacity: 0.3;
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-500) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .phone-mockup {
        width: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .step-card::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-gradient {
        width: 100%;
        height: 60%;
        top: auto;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .phone-mockup {
        width: 250px;
    }

    .decorative-shapes {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: 220px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .step-card {
        padding: 2rem 1.5rem;
    }
}