/* ============================================
   YouFocus Landing Page Styles
   Dark purple theme with glassy effects
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #E8E6F0;
    background: linear-gradient(135deg, #0B0814 0%, #1C1238 50%, #3E2B86 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    padding: 100px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #A855F7;
    letter-spacing: -0.5px;
    margin: 0;
}

.main-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
    letter-spacing: -1.5px;
    margin: 0;
}

.subtitle {
    font-size: 20px;
    color: #FFFFFF;
    line-height: 1.6;
    max-width: 540px;
    font-weight: 500;
}

.social-proof {
    font-size: 16px;
    color: #C4B5FD;
    line-height: 1.5;
    margin: -8px 0 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(168, 85, 247, 0.7);
    background: linear-gradient(135deg, #9333EA 0%, #A855F7 100%);
}

.small-text {
    font-size: 14px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* Hero Mockups */
.hero-mockups {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
    width: fit-content;
    max-width: 400px;
}

.popup-preview:hover {
    transform: translateY(-14px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.history-dashboard:hover {
    transform: translateY(6px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.popup-preview {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: translateY(-10px);
}

.history-dashboard {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: translateY(10px);
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-content {
    display: block;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.mockup-image {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    margin: 0;
}

.popup-preview .mockup-image {
    max-height: 420px;
    width: auto;
    margin: 0 auto;
}

.history-dashboard .mockup-image {
    max-height: 500px;
    width: auto;
    margin: 0 auto;
}

/* ============================================
   Why This Matters Section
   ============================================ */

.why-matters-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.15);
}

.why-matters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.why-matters-item {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-matters-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.why-matters-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.why-matters-item p {
    font-size: 16px;
    color: #C4B5FD;
    line-height: 1.6;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: #C4B5FD;
    line-height: 1.6;
}

/* ============================================
   How it Works Section
   ============================================ */

.how-it-works-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: #C4B5FD;
    line-height: 1.6;
}

/* ============================================
   Privacy Section
   ============================================ */

.privacy-section {
    padding: 100px 0;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.privacy-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    position: relative;
}

.privacy-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    border-top-color: transparent;
}

.privacy-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.privacy-card p {
    font-size: 18px;
    color: #C4B5FD;
    line-height: 1.8;
}

/* ============================================
   Blog Section
   ============================================ */

.blog-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.15);
}

.blog-subtitle {
    font-size: 18px;
    color: #C4B5FD;
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.blog-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 17px;
    color: #E8E6F0;
    line-height: 1.7;
    margin-bottom: 28px;
}

.blog-link {
    display: inline-block;
    color: #A855F7;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(168, 85, 247, 0.4);
    padding-bottom: 4px;
    margin-top: 8px;
}

.blog-link:hover {
    color: #C4B5FD;
    border-bottom-color: rgba(196, 181, 253, 0.8);
    transform: translateX(4px);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    color: #C4B5FD;
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 14px;
    color: #9CA3AF;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #C4B5FD;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-mockups {
        position: relative;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        margin-top: 40px;
    }
    
    .popup-preview {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        width: fit-content;
        margin: 0 auto;
        transform: none;
    }
    
    .popup-preview:hover {
        transform: translateY(-4px);
    }
    
    .popup-preview .mockup-image {
        max-height: 400px;
        width: auto;
        height: auto;
    }
    
    .history-dashboard {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        width: fit-content;
        margin: 0 auto;
        transform: none;
    }
    
    .history-dashboard:hover {
        transform: translateY(-4px);
    }
    
    .history-dashboard .mockup-image {
        max-height: 450px;
        width: auto;
        height: auto;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
        margin-bottom: 48px;
    }
    
    .why-matters-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .main-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-card {
        padding: 40px 24px;
    }
    
    .privacy-card h2 {
        font-size: 28px;
    }
    
    .blog-card {
        padding: 32px 24px;
    }
    
    .blog-card h3 {
        font-size: 20px;
    }
    
    .blog-subtitle {
        font-size: 16px;
        padding: 0 16px;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .hero-mockups {
        min-height: auto;
        margin-top: 30px;
        gap: 24px;
    }
    
    .mockup-card {
        max-width: 100%;
        width: fit-content;
    }
    
    .popup-preview {
        width: fit-content;
        margin: 0 auto;
    }
    
    .history-dashboard {
        width: fit-content;
        margin: 0 auto;
    }
    
    .popup-preview .mockup-image {
        max-height: 450px;
        width: auto;
        height: auto;
    }
    
    .history-dashboard .mockup-image {
        max-height: 500px;
        width: auto;
        height: auto;
    }
    
    .why-matters-item {
        padding: 24px;
    }
}
