/* ==========================================================================
   Cynthia Apps - Portfolio Website Styles
   ========================================================================== */

/* CSS Variables */
:root {
    --primary-color: #DD6B20;
    --primary-dark: #C55A15;
    --primary-light: #F6AD55;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-darker: #1a1a1a;
    --text-light: #666666;
    --text-white: #F5F5F5;
    --bg-dark: #2D2D2D;
    --bg-light: #F8F8F8;
    --bg-white: #FAFAFA;
    --bg-cream: #FFF5EB;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --gradient-dark: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    --gradient-light: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-darker);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
}

.btn-mustard {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: 2px solid var(--primary-color);
}

.btn-mustard:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: #FFFFFF;
    color: var(--text-darker);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-darker);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

.hero .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
}

.hero .btn-secondary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

.hero .btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF !important;
}

/* Apps Section */
.apps-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.app-card {
    background-color: #FFFFFF;
    border: 2px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-dark);
}

.app-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.app-platform {
    display: inline-block;
    background-color: var(--bg-gray);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.app-features {
    margin: 1.5rem 0;
}

.app-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-features li::before {
    content: '✓';
    font-weight: 700;
    font-size: 1.25rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
footer {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-darker);
}

.footer-section ul li {
    margin: 0.75rem 0;
}

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

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

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

/* App Landing Pages */
.app-hero {
    padding: 5rem 0;
    text-align: center;
    background: #FFFFFF;
    color: var(--text-darker);
}

.app-hero-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.app-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-darker);
}

.app-hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-darker);
    font-weight: 600;
}

.app-hero-cta {
    margin-bottom: 1rem;
}

.app-hero-trial {
    font-size: 1rem;
    color: var(--text-light);
}

/* App Features Section */
.app-features-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.app-feature-card {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-feature-card:hover {
    border-color: var(--text-dark);
    transform: translateY(-4px);
}

.app-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.app-feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.pricing-card {
    max-width: 500px;
    margin: 3rem auto 0;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 2rem 0;
}

.currency {
    font-size: 1.75rem;
    vertical-align: super;
}

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

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.pricing-features li::before {
    content: '✓';
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 0.5rem;
}

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

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

.legal-page h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.legal-page h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-page ul {
    list-style: disc;
    margin-left: 2rem;
}

.legal-page li {
    margin: 0.75rem 0;
}

.disclaimer {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-top: 3rem;
}

/* Support Page */
.support-page {
    padding: 4rem 0;
}

.support-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0.75rem;
}

.support-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    margin-bottom: 4rem;
    text-align: center;
}

.contact-email {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 1.5rem 0;
}

.contact-phone {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-item {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    margin-bottom: 1rem;
}

.faq-item ul {
    list-style: disc;
    margin-left: 2rem;
}

.faq-item li {
    margin: 0.75rem 0;
}

.geo-factbox {
    background-color: var(--bg-cream);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.geo-factbox h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-darker);
}

.geo-facts-table,
.geo-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.geo-facts-table th,
.geo-facts-table td,
.geo-compare-table th,
.geo-compare-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.geo-facts-table th,
.geo-compare-table th {
    color: var(--text-light);
    font-weight: 600;
    width: 35%;
}

.geo-compare-table thead th {
    background-color: var(--bg-gray);
    color: var(--text-darker);
    width: auto;
}

.geo-facts-table tr:last-child td,
.geo-facts-table tr:last-child th,
.geo-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.faq-jumpnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.faq-jumpnav a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-jumpnav a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-cream);
}

/* Blog */
.blog-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.blog-listing {
    padding: 3rem 0 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.blog-card {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-date,
.blog-read-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-card h2 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--text-darker);
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.975rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

/* Blog Article */
.blog-article {
    padding: 4rem 0 6rem;
}

.blog-article-container {
    max-width: 760px;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.article-byline {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.article-body h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-list {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-list li {
    margin: 0.6rem 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.article-cta {
    background-color: var(--bg-cream);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h2 {
    margin-top: 0;
    font-size: 1.75rem;
}

.article-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.article-references {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-references h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.article-references ol {
    list-style: decimal;
    margin-left: 1.5rem;
}

.article-references li {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 1.875rem;
    }

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

/* About Page */
.about-section {
    padding: 5rem 0;
}

.about-content {
    max-width: 860px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 5rem;
}

.about-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.philosophy-item {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

.philosophy-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.philosophy-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.about-apps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-app-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    align-items: flex-start;
}

.about-app-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.about-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.about-app-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.about-app-tagline {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .about-app-card {
        flex-direction: column;
    }

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #FFFFFF;
    color: var(--text-darker);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-darker);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

    .nav-links {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

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

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }

    .app-card {
        padding: 2rem;
    }
}
