/* =============================================
   Sydney Chat - Modern Dating Platform Styles
   ============================================= */

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

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #10B981;
    --dark: #1F2937;
    --gray-dark: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark);
}

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

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

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--dark);
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

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

.nav-list li a {
    color: var(--gray-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-list li a:hover::after {
    width: 100%;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Hero */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow);
}

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

.cta-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.cta-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
}

/* Non-affiliate buttons (internal actions) */
.btn-submit, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.btn-submit:hover, .btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    /* Same styling as cta-btn but for internal links */
}

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

.features h2, .how-it-works h2, .testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.feature-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--light);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    font-style: italic;
    position: relative;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--gray-dark);
}

/* CTA Banner */
.cta-banner {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

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

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

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

.footer-section ul li a {
    color: var(--gray-light);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Page Content Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.policy-content, .about-content, .contact-content, .safety-content,
.features-detail, .stories-content, .tips-content, .guidelines-content,
.faq-content, .terms-content, .how-it-works-content {
    padding: 4rem 0;
}

.policy-section, .about-section, .terms-section, .guidelines-section {
    margin-bottom: 2.5rem;
}

.policy-section h2, .about-section h2, .contact-content h2,
.safety-content h2, .features-detail h2, .stories-content h2,
.tips-content h2, .guidelines-content h2, .terms-section h2, .guidelines-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.policy-section ul, .about-section ul, .safety-content ul,
.features-detail ul, .tips-content ul, .guidelines-content ul,
.terms-section ul, .guidelines-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li, .about-section li, .safety-content li,
.features-detail li, .tips-content li, .guidelines-content li,
.terms-section li, .guidelines-section li {
    margin-bottom: 0.5rem;
}

.policy-update, .terms-update {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light);
    font-style: italic;
    color: var(--gray);
}

/* Contact Form */
.contact-form-section, .contact-info-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
}

.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);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

.contact-info-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

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

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Blog */
.blog-content {
    padding: 4rem 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.blog-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card-content h2 a {
    color: var(--dark);
}

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

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* Article */
.article {
    padding: 3rem 0;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.back-to-blog {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.article-meta {
    color: var(--gray);
    font-size: 0.875rem;
    margin: 1rem 0;
}

.article-meta span {
    margin: 0 0.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul {
    margin: 1rem 0 1rem 2rem;
}

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

.article-cta {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    margin-bottom: 1rem;
}

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

.article-related h3 {
    margin-bottom: 1rem;
}

.article-related ul {
    list-style: none;
    margin-left: 0;
}

.article-related li {
    margin-bottom: 0.75rem;
}

/* About Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Steps Detail */
.steps-detail {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-detail {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.step-icon svg {
    width: 40px;
    height: 40px;
}

.step-content h3 {
    margin-top: 0;
}

/* Safety Grid */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.safety-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.safety-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.safety-icon svg {
    width: 30px;
    height: 30px;
}

.safety-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.safety-card ul {
    margin-top: 1rem;
    margin-left: 1.25rem;
}

.safety-card li {
    margin-bottom: 0.5rem;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.story-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-quote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.author-avatar svg {
    width: 30px;
    height: 30px;
}

.author-info strong {
    display: block;
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Features Showcase */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-large {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.feature-large:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-visual {
    flex: 0 0 200px;
    height: 200px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-visual svg {
    width: 80px;
    height: 80px;
}

.feature-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-text ul {
    margin-top: 1rem;
}

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

.tip-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.tip-icon svg {
    width: 30px;
    height: 30px;
}

/* Guidelines */
.guidelines-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.125rem;
}

.stories-intro,
.safety-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.125rem;
}

.values-list {
    margin-left: 0;
    list-style: none;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
}

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

.values-list li strong {
    color: var(--primary);
}

.prohibited-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light);
}

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

.prohibited-list li strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.prohibited-list li span {
    color: var(--gray-dark);
}

.guidelines-contact {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        gap: 0;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-list li {
        padding: 1rem;
        border-bottom: 1px solid var(--light);
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-grid,
    .feature-large {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .feature-large:nth-child(even) {
        flex-direction: column;
    }

    .step-detail {
        flex-direction: column;
        text-align: center;
    }

    .cta-floating {
        bottom: 1rem;
        right: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
