/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Main container */
.main-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3730a3 100%);
}

/* Navigation */
.navbar {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

.nav-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.nav-button {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
}

.bg-blur-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: #60a5fa;
}

.bg-blur-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: #818cf8;
}

.bg-blur-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16rem;
    height: 16rem;
    background: #a78bfa;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
    position: relative;
    z-index: 10;
}

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

.hero-text {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(to right, white, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cta-button {
    background: linear-gradient(to right, #3b82f6, #4338ca);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
    background: linear-gradient(to right, #2563eb, #3730a3);
    transform: scale(1.05);
}

.hero-rating {
    font-size: 0.875rem;
    color: #94a3b8;
}

.hero-image {
    position: relative;
}

.phone-container {
    position: relative;
    max-width: 20rem;
    margin: 0 auto;
}

.phone-wrapper {
    position: relative;
}

.phone-img-top {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    transition: transform 0.5s;
}

.phone-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s;
}

.phone-img:hover {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.badge-active {
    top: -1rem;
    right: -1rem;
    background: linear-gradient(to right, #10b981, #059669);
    animation: bounce 1s infinite;
}

.badge-days {
    bottom: -1rem;
    left: -1rem;
    background: linear-gradient(to right, #8b5cf6, #7c3aed);
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(1deg); 
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Feature sections */
.feature-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 8rem;
}

.feature-section-1 {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

.feature-section-2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3730a3 100%);
}

.feature-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
}

.feature-bg-dark {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.bg-blur-4 {
    position: absolute;
    top: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: #60a5fa;
    border-radius: 50%;
    filter: blur(3rem);
}

.bg-blur-5 {
    position: absolute;
    bottom: 25%;
    left: 25%;
    width: 20rem;
    height: 20rem;
    background: #a78bfa;
    border-radius: 50%;
    filter: blur(3rem);
}

.feature-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

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

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-text-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.feature-badge-dark {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.feature-title-white {
    color: white;
}

.feature-description {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
}

.feature-description-light {
    color: #cbd5e1;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-green {
    background: #10b981;
}

.feature-icon-blue {
    background: #3b82f6;
}

.feature-icon-purple {
    background: #8b5cf6;
}

.icon {
    width: 1rem;
    height: 1rem;
    color: white;
}

.feature-item-text {
    color: #374151;
    font-weight: 500;
}

.feature-button {
    background: linear-gradient(to right, #1f2937, #111827);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.feature-button:hover {
    background: linear-gradient(to right, #111827, #000000);
    transform: scale(1.05);
}

.feature-image {
    position: relative;
}

.feature-image-first {
    order: -1;
}

.phone-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    border-radius: 1.5rem;
    filter: blur(2rem);
    opacity: 0.2;
    z-index: -1;
    transform: rotate(6deg) scale(1.1);
}

/* Feature center section */
.feature-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-center-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-green {
    background: linear-gradient(to right, #10b981, #059669);
}

.card-icon-blue {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
}

.card-icon-purple {
    background: linear-gradient(to right, #a78bfa, #8b5cf6);
}

.emoji {
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.card-description {
    color: #cbd5e1;
}

/* Download section */
.download-section {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
}

.download-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.download-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.download-description {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
}

.download-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-button {
    background: linear-gradient(to right, #2563eb, #4338ca);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-button:hover {
    background: linear-gradient(to right, #1d4ed8, #3730a3);
    transform: scale(1.05);
}

.download-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.download-note {
    color: #64748b;
    font-size: 0.875rem;
}

.download-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #eab308;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #0f172a, #1e293b);
    padding: 4rem 0;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-weight: 600;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: #94a3b8;
    transition: color 0.2s;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Responsive design */
@media (min-width: 640px) {
    html {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
    
    .download-cta {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .download-stats {
        flex-direction: row;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-image-first {
        order: 0;
    }
    
    .feature-title {
        font-size: 3rem;
    }
    
    .download-title {
        font-size: 3rem;
    }
    
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .feature-title {
        font-size: 3.5rem;
    }
    
    .download-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-content {
        padding: 6rem 1.5rem;
    }
    
    .feature-section {
        padding: 8rem 0;
    }
    
    .download-section {
        padding: 8rem 0;
    }
}