:root {
    --color-mint: #4ECDC4;
    --color-pink: #E91E63;
    --color-yellow: #FFC107;
    --color-green: #4CAF50;
    --color-blue: #4C84EF;
    --color-brown: #A1887F;
    
    --color-bg: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-secondary: #666666;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #1A1A1A;
        --color-surface: #2A2A2A;
        --color-text: #FAFAFA;
        --color-text-secondary: #AAAAAA;
        
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-mint);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-mint) 0%, transparent 70%);
    opacity: 0.05;
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
}

.logo {
    width: 85px;
    height: 85px;
    /* background: var(--color-surface); */
    border-radius: 20px;
    /* box-shadow: var(--shadow-md); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: relative;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.app-name {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-mint), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: 24px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--color-text);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--color-green);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

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

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-mint);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Screenshots Section */
.screenshots {
    padding: 120px 0;
    background: var(--color-surface);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    color: var(--color-text);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}

.screenshot-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.screenshot-card.featured {
    transform: scale(1.1);
}

.screenshot-card:hover {
    transform: translateY(-8px) scale(1.05);
}

.screenshot-card.featured:hover {
    transform: translateY(-8px) scale(1.15);
}

.screenshot-card img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.screenshot-caption {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* Features Section */
.features {
    padding: 120px 0;
}

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

.feature-card {
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.feature-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-mint), var(--color-pink));
    text-align: center;
    color: #FFFFFF;
}

.cta-section h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

.cta-section .btn-primary {
    background: #FFFFFF;
    color: var(--color-mint);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--color-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    .footer {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.logo-small {
    width: 140px;
    height: 50px;
    /* background: var(--color-bg); */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.logo-small svg {
    width: 100%;
    height: 100%;
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-mint);
}

/* Responsive */
@media (max-width: 768px) {
    .tagline {
        font-size: 40px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .app-name {
        font-size: 36px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-card.featured {
        transform: scale(1);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h3 {
        font-size: 36px;
    }
    
    .cta-section p {
        font-size: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Privacy Policy Page */
.policy-hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12), rgba(76, 132, 239, 0.12));
}

.policy-hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.policy-hero p {
    max-width: 800px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--color-mint);
    text-decoration: none;
}

.back-link:hover {
    color: var(--color-blue);
}

.updated-date {
    color: var(--color-text-secondary);
    font-weight: 600;
    margin-bottom: 24px;
}

.privacy-page {
    padding: 40px 0 80px;
}

.policy-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
}

.policy-section + .policy-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    .policy-section + .policy-section {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.policy-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.policy-section p {
    margin-bottom: 16px;
    color: var(--color-text);
}

.policy-section ul {
    margin: 0 0 16px 20px;
    color: var(--color-text);
}

.policy-section ul ul {
    margin-top: 8px;
}

.policy-section li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 60px 0 24px;
    }

    .policy-hero h1 {
        font-size: 36px;
    }

    .policy-card {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .policy-card {
        padding: 24px;
    }

    .back-link {
        margin-bottom: 24px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-mint), var(--color-pink));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.modal-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.modal-header p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input {
    padding: 16px;
    font-size: 16px;
    border: 2px solid var(--color-bg);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-mint);
    background: var(--color-surface);
}

.form-group input.error {
    border-color: var(--color-pink);
}

.form-error {
    font-size: 14px;
    color: var(--color-pink);
    min-height: 20px;
    display: block;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.btn-submit {
    position: relative;
    width: 100%;
    justify-content: center;
}

.btn-submit.loading {
    pointer-events: none;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit .btn-loader {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-loader {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
    }

    .modal-header h3 {
        font-size: 24px;
    }

    .modal-icon {
        width: 64px;
        height: 64px;
    }
}
