/* ConferenceHaven - Landing Page Styles */

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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a3e0;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f7fa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-announcement {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    margin: 0 auto 30px;
    display: inline-block;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-badge {
    background: #48bb78;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

.btn-chat {
    font-size: 1.1rem;
    padding: 16px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-chat:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* User Journey Section */
.user-journey {
    background: linear-gradient(to bottom, #f5f7fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.user-journey h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.user-journey .section-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-flow {
    max-width: 900px;
    margin: 0 auto;
}

/* Client Support Banner */
.client-support-banner {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.client-support-banner h3 {
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.75rem;
}

.client-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.client-option-group {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.client-option-group h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-option-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-option-group li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.client-option-group li strong {
    color: var(--text-primary);
}

.privacy-badge {
    background: #f0fdf4;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.privacy-badge strong {
    color: #065f46;
    display: block;
    margin-bottom: 0.25rem;
}

.client-note {
    text-align: center;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.client-note strong {
    color: #92400e;
}

.journey-step {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.journey-step-final {
    border: 2px solid var(--success-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.journey-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.journey-step-final .journey-number {
    background: linear-gradient(135deg, var(--success-color) 0%, #38a169 100%);
    font-size: 2rem;
}

.journey-content {
    flex: 1;
}

.journey-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.journey-content p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

.journey-screenshot {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-screenshot img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
}

.journey-note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.journey-note strong {
    color: #92400e;
    display: block;
    margin-bottom: 0.5rem;
}

.journey-note ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--text-secondary);
}

.journey-note li {
    margin-bottom: 0.25rem;
}

.journey-success {
    background: #f0fff4;
    border-left: 4px solid var(--success-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
    color: #065f46;
}

.journey-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 0.5rem 0;
    font-weight: 700;
}

.journey-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.journey-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Features Section */
.features {
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* How It Works Section */
.how-it-works {
    background-color: var(--white);
}

.step {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.screenshot {
    margin-top: 20px;
}

.screenshot img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.caption {
    text-align: center;
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Clients Section */
.clients {
    background-color: var(--light-bg);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.client-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.client-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.client-card img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Get Started Section */
.get-started {
    background-color: var(--white);
}

.config-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.tab-content > p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

code {
    background-color: var(--light-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

pre {
    background-color: var(--dark-bg);
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
    font-size: 0.875rem;
}

.config-note {
    margin-top: 15px;
    padding: 15px;
    background-color: #fff5e1;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Tools Section */
.tools {
    background-color: var(--light-bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tool-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.tool-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tool-example {
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 6px;
    font-size: 0.9rem;
}

.tool-example strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

footer a:hover {
    color: var(--white);
}

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

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

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

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

    .tab-button {
        width: 100%;
        text-align: left;
    }

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

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

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

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* REST API Section */
.rest-api {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
}

.rest-api h2 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.rest-api .section-intro {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 3rem;
}

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

.api-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.api-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.code-block code {
    flex: 1;
    color: #ffd700;
    font-size: 0.9rem;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.api-steps {
    margin-left: 1.5rem;
    line-height: 2;
}

.api-steps li {
    margin-bottom: 0.5rem;
}

.endpoint-list {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.endpoint-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.endpoint-list strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.api-example {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.api-example h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Method Option Styles (neutral, equal treatment) */
.method-option {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.method-option h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.method-description {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.method-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.method-divider::before,
.method-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.method-divider::before {
    left: 0;
}

.method-divider::after {
    right: 0;
}

.method-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Remove featured card styles - all clients are equal */
/* Removed .client-card.featured styles */

/* Prerequisites Details (collapsible) */
.prerequisites-details {
    background: var(--light-bg);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.prerequisites-details h3 {
    color: var(--text-primary);
    margin-top: 0;
}

/* Setup Steps Styles */
.setup-steps h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.setup-steps h4:first-child {
    margin-top: 0;
}

.benefits {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.benefits h4 {
    margin-top: 0;
    color: var(--text-primary);
}

.benefits ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.benefits li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .method-option h3 {
        font-size: 1.25rem;
    }
    
    .method-description {
        font-size: 0.95rem;
    }

    /* User Journey Mobile Styles */
    .user-journey h2 {
        font-size: 2rem;
    }

    .user-journey .section-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Client Support Banner Mobile */
    .client-support-banner h3 {
        font-size: 1.5rem;
    }

    .client-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-option-group {
        padding: 1rem;
    }

    .client-option-group h4 {
        font-size: 1.1rem;
    }

    .client-note {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .journey-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .journey-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .journey-content h3 {
        font-size: 1.25rem;
    }

    .journey-arrow {
        font-size: 1.5rem;
    }

    .journey-note ul {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
}

