/* SquareUp Marketing Website Styles */

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

:root {
    /* Color Palette - Inspired by the app's dark theme */
    --primary-bg: #1A1F2E;
    --surface: #242938;
    --surface-variant: #2E3447;
    --primary-green: #2E7D32;
    --primary-green-light: #4CAF50;
    --gold-accent: #FFB300;
    --gold-light: #FFD54F;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --positive: #4CAF50;
    --negative: #EF5350;
    --divider: #334155;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--divider);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-accent);
}

.logo a {
    color: var(--gold-accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

/* Hero Section */
.hero {
    padding: var(--section-padding);
    padding-top: 60px;
    padding-bottom: 100px;
}

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

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--divider);
}

.btn-secondary:hover {
    border-color: var(--gold-accent);
    background-color: var(--surface-variant);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mockup-screen {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-variant) 100%);
    border-radius: 40px;
    aspect-ratio: 9/19.5;
    border: 8px solid var(--surface-variant);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--surface);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: var(--primary-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--divider);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-accent);
    box-shadow: 0 12px 32px rgba(255, 179, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.screenshots h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

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

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid var(--divider);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.screenshot-img:hover {
    transform: translateY(-4px);
    border-color: var(--gold-accent);
    box-shadow: 0 16px 48px rgba(255, 179, 0, 0.2);
}

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

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Use Cases Section */
.use-cases {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.use-cases h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.use-case {
    background-color: var(--primary-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--divider);
}

.use-case h3 {
    font-size: 22px;
    color: var(--gold-accent);
    margin-bottom: 12px;
}

.use-case p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: var(--surface);
    border-top: 1px solid var(--divider);
    padding: 60px 20px 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gold-accent);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--divider);
    color: var(--text-muted);
}

/* Support Page Styles */
.support-hero {
    background-color: var(--surface);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--divider);
}

.support-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.support-hero p {
    font-size: 20px;
    color: var(--text-secondary);
}

.support-content {
    padding: var(--section-padding);
}

.support-grid {
    display: grid;
    gap: 48px;
}

.support-card {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--divider);
    text-align: center;
}

.primary-contact {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-variant) 100%);
    border: 2px solid var(--primary-green);
}

.support-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.support-card h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.response-time {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.faq-section,
.troubleshooting-section {
    margin-top: 40px;
}

.faq-section h2,
.troubleshooting-section h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.faq-item {
    background-color: var(--surface);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--divider);
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold-accent);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card {
    text-align: left;
    background-color: var(--surface-variant);
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 24px;
}

.contact-card a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--gold-light);
}

.support-info {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
}

.contact-card ul {
    list-style: none;
    padding-left: 0;
}

.contact-card ul li {
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 24px;
    position: relative;
}

.contact-card ul li::before {
    content: '•';
    color: var(--gold-accent);
    position: absolute;
    left: 8px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .phone-mockup {
        max-width: 300px;
    }

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px 20px;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .features h2,
    .how-it-works h2,
    .use-cases h2,
    .cta-section h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

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