/* Reset and Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-bg: #6b7280;
    --secondary-hover: #4b5563;
    --dark-bg: #1a1a1a;
    --light-bg: #f9fafb;
    --white: #fff;
    --text-main: #333;
    --text-muted: #555;
}

* {
    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(--text-main);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: var(--dark-bg);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-brand a:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #666; /* Could be a variable, but keeping specific gray for now */
}

/* Content Section */
.content {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.content h2 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Call to Action */
.cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.app-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-size: 1.5rem;
}

.app-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 0.9rem;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.form-status.loading {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.contact-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.info-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.info-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Legal Document */
.legal-document {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-document h1 {
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

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

.legal-document section {
    margin-bottom: 2rem;
}

.legal-document h2 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-document p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-document ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.legal-document li {
    margin-bottom: 0.5rem;
}

.legal-document .legal-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Home Hero */
.hero-home {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    animation: heroGradient 10s ease infinite;
    color: var(--white);
    padding: 7rem 0 6rem;
    text-align: center;
}

@keyframes heroGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Values Strip */
.values-section {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

.value-icon {
    display: inline-block;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Featured Apps Section */
.featured-apps-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 2.5rem;
}

.see-all-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.see-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.see-all-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .cta {
        flex-direction: column;
        align-items: center;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
