/* Base & Reset */
:root {
    --bg-color: #0A0A0A;
    --bg-surface: #121212;
    --card-bg: #1C1C1C;
    --card-border: rgba(255, 255, 255, 0.05);
    
    --accent-primary: #FFD54F;
    --accent-hover: #E6BC3B;
    --accent-glow: rgba(255, 213, 79, 0.3);
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-dark: #121212;
    
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.blob-bg {
    position: fixed;
    top: -20vh;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10,10,10,0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    filter: blur(80px);
    pointer-events: none;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-stack);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 213, 79, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Layout Utilities */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px; /* Offset nav */
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.headline {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

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

.subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.users-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    background-size: cover;
    margin-right: -10px;
}

.avatar-count {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 10;
}

/* Phone Mockup Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

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

.mockup-phone {
    width: 250px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
    background: #000;
    position: absolute;
    transition: none;
}

.phone-1 {
    z-index: 2;
    transform: translateX(-40px);
}

.phone-2 {
    z-index: 1;
    transform: translateX(80px) translateY(40px) scale(0.92);
    opacity: 0.5;
    filter: blur(1px);
}

.mockup-phone img {
    width: 100%;
    height: auto;
    display: block;
}

/* Adjust for smaller hero visual space */
@media (max-width: 1200px) {
    .mockup-wrapper {
        width: 400px;
        height: 500px;
    }
    .mockup-phone {
        width: 220px;
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
}

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

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

.section-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 213, 79, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.feature-card.has-visual {
    display: flex;
    flex-direction: column;
}

.mini-demo-card {
    margin-top: 2rem;
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Pricing / Pro Callout */
.pricing {
    padding: 4rem 0 8rem;
}

.pro-callout {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-surface);
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    border: 1px solid rgba(255, 213, 79, 0.2);
    overflow: hidden;
}

.pro-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(18,18,18,0) 70%);
    pointer-events: none;
}

.pro-content {
    position: relative;
    z-index: 10;
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 213, 79, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 213, 79, 0.3);
}

.pro-callout h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.pro-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.pro-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.pro-features li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.pro-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.period {
    color: var(--text-secondary);
}

.pro-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem 2rem;
    background: var(--bg-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

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

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

.link-column h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.link-column a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.link-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .headline {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .pro-features {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .pro-pricing {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .headline {
        font-size: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

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