/* K POP! Website Styles */

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2A2A2A;
    --light-color: #F7F7F7;
    --purple-accent: #A8E6CF;
    --pink-accent: #FFD3E1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 5px;
}

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

.tagline {
    text-align: center;
    color: var(--dark-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Main Content */
main {
    background: white;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.lead {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
}

.download-btn {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #FF6B6B, #FF5252, #FF4757);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.download-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 30px rgba(255, 82, 82, 0.4);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
    object-position: center;
}

/* Smaller Phone Mockups for Screenshots Section */
.phone-mockup-small {
    width: 250px;
    height: 540px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 6px;
    position: relative;
    margin: 0 auto 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-notch-small {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-mockup-small .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 29px;
    object-fit: cover;
    object-position: center;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: white;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-item p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Purpose Section */
.purpose {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.purpose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.purpose-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: white;
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-content > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.support-item {
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    text-align: center;
}

.support-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.support-item p {
    color: #666;
}

.support-item a {
    color: #667eea;
    text-decoration: none;
}

.support-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2A2A2A;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: var(--accent-color);
}

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

/* Legal Content Pages */
.legal-content {
    padding: 40px 0 80px;
    background: white;
}

.legal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.legal-content h4 {
    font-size: 1.3rem;
    margin: 20px 0 15px;
    color: #555;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.legal-content ul, .legal-content ol {
    margin: 15px 0 15px 30px;
    color: #555;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.legal-content a {
    color: #667eea;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 540px;
    }
    
    .phone-mockup-small {
        width: 200px;
        height: 430px;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .features h2, .purpose h2, .support h2 {
        font-size: 2rem;
    }
}