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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff6b6b;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.app-preview {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.pain-level {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.level-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.level-bars {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.bar {
    width: 20px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bar.active {
    background: #ff6b6b;
}

.level-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.triggers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.trigger-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.about-description {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: #f8f9fa;
}

.screenshots h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.screenshot-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Placeholder styles for screenshots */
.screenshot-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup-small {
    width: 120px;
    height: 240px;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.app-preview-small {
    padding: 15px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 8px;
    color: #333;
}

.preview-header {
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.preview-button {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 8px;
    margin: 10px auto;
    width: 60px;
}

.preview-stats {
    margin-top: auto;
    font-size: 7px;
    color: #666;
    text-align: center;
}

.preview-stats div {
    margin: 2px 0;
}

.preview-slider {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.slider-track {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
}

.slider-thumb {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: -2px;
}

.preview-options {
    margin: 10px 0;
}

.option {
    font-size: 7px;
    margin: 2px 0;
    padding: 2px 4px;
    background: #f0f0f0;
    border-radius: 3px;
}

.preview-chart {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 30px;
    margin: 10px 0;
}

.chart-bar {
    width: 8px;
    background: #667eea;
    border-radius: 1px;
    min-height: 4px;
}

.preview-timer {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.timer-circle {
    width: 30px;
    height: 30px;
    border: 2px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: bold;
}

.preview-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    font-size: 7px;
}

.setting-input {
    width: 30px;
    height: 8px;
    background: #f0f0f0;
    border-radius: 2px;
}

.setting-radio {
    background: #667eea;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 6px;
}

.setting-toggle {
    width: 12px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 3px;
    position: relative;
}

.setting-toggle::after {
    content: '';
    position: absolute;
    right: 1px;
    top: 1px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.screenshot-caption {
    padding: 20px;
    text-align: center;
}

.screenshot-caption h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.screenshot-caption p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
    background: white;
}

.privacy h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-highlight {
    background: #e8f5e8;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.privacy-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2e7d32;
}

.privacy-highlight p {
    color: #4caf50;
    font-size: 1.1rem;
}

.privacy-features {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.check {
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    background: #667eea;
    color: white;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero, .about, .screenshots, .privacy, .cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}
