/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #a855f7;
    --pink: #ec4899;
    --dark: #000000;
    --gray-light: #a1a1aa;
    --gray-dark: #27272a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0612, #1a0a28);
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

.btn-primary {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.social-proof {
    margin-top: 2rem;
    color: var(--gray-light);
    font-size: 0.875rem;
}

.hero-image {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
}

.hero-image .phone-mockup {
    flex: 0 0 auto;
    width: 300px;
    animation: float 6s ease-in-out infinite;
}

.hero-image .phone-mockup:nth-child(2) {
    animation: float 6s ease-in-out infinite 0.5s;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(168, 85, 247, 0.4));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.features-grid-2col .feature-card {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features-grid-2col .feature-icon {
    font-size: 2rem;
    margin-bottom: 0;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-light);
    font-size: 0.9375rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05));
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 500;
}

.save-badge {
    color: var(--purple);
    font-size: 0.875rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-dark);
    transition: 0.3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.5);
}

.pricing-card.popular {
    border-color: var(--purple);
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.price .period {
    color: var(--gray-light);
    font-size: 1.125rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--gray-light);
}

.btn-outline {
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--purple);
    background: rgba(168, 85, 247, 0.1);
}

.btn-gradient {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: none;
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 2rem;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-content {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.cta-card p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.btn-cta-white {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: var(--purple);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
}

.cta-mockups {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.mockup-stack {
    position: relative;
    width: 400px;
    height: 400px;
}

.mockup-stack img {
    position: absolute;
    width: 250px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

.mockup-1 {
    top: 0;
    left: 0;
    z-index: 2;
    animation: slideInRight 1s ease-out, tiltLeft 4s ease-in-out 1s infinite;
}

.mockup-2 {
    top: 50px;
    right: 0;
    z-index: 1;
    animation: slideInRight 1s ease-out 0.3s both, tiltRight 4s ease-in-out 1.3s infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tiltLeft {
    0%, 100% {
        transform: rotate(-2deg) translateY(0);
    }
    50% {
        transform: rotate(-5deg) translateY(-10px);
    }
}

@keyframes tiltRight {
    0%, 100% {
        transform: rotate(2deg) translateY(0);
    }
    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-text {
    text-align: center;
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-image .phone-mockup {
        width: 250px;
    }
    
    .features-grid,
    .features-grid-2col {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .mockup-stack {
        width: 300px;
        height: 300px;
    }
    
    .mockup-stack img {
        width: 180px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
