/* ==========================================
   GUEST CARD WEBSITE STYLES
   Professional, Mobile-Responsive Design
   ========================================== */

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

:root {
    --primary-color: #007AFF;
    --primary-hover: #0051D5;
    --secondary-color: #5856D6;
    --text-dark: #1D1D1F;
    --text-light: #86868B;
    --background: #FFFFFF;
    --background-alt: #F5F5F7;
    --border-color: #D2D2D7;
    --success-color: #34C759;
    --error-color: #FF3B30;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

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

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    text-decoration: none;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background-alt);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    text-align: center;
}

.pricing h2 {
    margin-bottom: 3rem;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.pricing-card h3 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--primary-color);
}

.price {
    margin: 2rem 0;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price .period {
    font-size: 1.5rem;
    color: var(--text-light);
}

.trial {
    font-size: 1.25rem;
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.subscription-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: var(--background-alt);
    text-align: center;
}

.download h2 {
    margin-bottom: 1rem;
}

.download-badge {
    margin-top: 2rem;
}

.coming-soon {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Content Pages (Privacy, Terms, Support) */
.content-page {
    max-width: 900px;
    padding: 4rem 20px;
}

.content-page h1 {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.content-page section {
    margin-bottom: 3rem;
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: var(--background-alt);
    padding: 3rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin-top: 0;
}

.contact-card .btn {
    margin-top: 1rem;
    display: inline-block;
}

.contact-form-note {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--success-color);
}

.troubleshooting {
    margin-top: 4rem;
}

.feedback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-top: 4rem;
    text-align: center;
}

.feedback h2 {
    color: white;
    margin-top: 0;
}

.feedback a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .app-preview {
        max-width: 200px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-links a {
        padding: 0.5rem;
    }

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

    .pricing-card {
        padding: 2rem 1rem;
    }

    .price .amount {
        font-size: 3rem;
    }

    .content-page {
        padding: 2rem 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

/* Print Styles */
@media print {
    header, footer, .hero, .cta-buttons, .download {
        display: none;
    }

    .content-page {
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
