/* CardScope Website Styles */

:root {
    --primary: #FFCB05;
    --secondary: #3D7DCA;
    --accent: #CC0000;
    --bg: #F8F8F8;
    --surface: #FFFFFF;
    --text: #2A2A2A;
    --text-light: #666666;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: var(--secondary);
    font-size: 28px;
    margin-bottom: 0;
}

.tagline {
    color: var(--text-light);
    font-size: 12px;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.web-app-link {
    background: var(--secondary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.web-app-link:hover {
    background: #2d6bba;
    color: white !important;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.highlight {
    color: var(--secondary);
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.screenshot-carousel {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 64px;
    margin: 40px 0 24px 0;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--surface);
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 56px;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h3 {
    font-size: 24px;
    margin: 24px 0 16px 0;
    color: var(--text);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats {
    background: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.stat {
    text-align: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.stat:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--surface);
    text-align: center;
}

.download-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 32px;
}

.download-column {
    text-align: center;
}

.download-column h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

.column-description {
    color: var(--text-light);
    margin-bottom: 24px;
}

.download-divider {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.web-app-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(61, 125, 202, 0.3);
}

.web-app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 125, 202, 0.4);
    text-decoration: none;
}

.web-icon {
    font-size: 48px;
}

.web-text {
    text-align: left;
}

.web-text strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.web-text small {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.web-features {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--text);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, opacity 0.2s;
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.store-button.disabled:hover {
    transform: none;
}

.store-icon {
    font-size: 40px;
}

.store-text {
    text-align: left;
}

.store-text small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.store-text strong {
    display: block;
    font-size: 18px;
}

.download-note {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 48px 0 24px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 32px;
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .web-app-link {
        display: none;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .download-options {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .download-divider {
        display: none;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .store-button {
        width: auto;
        min-width: 160px;
    }
}
