/* Marketing Page Styles */
/* Brand Color Palette (from frontend/src/index.css):
 *   Primary: #0093b0 (teal blue - logo color)
 *   Primary Dark: #005f77
 *   Secondary: #84c6ab (mint green)
 *   Secondary Dark: #5fb08a
 *   Neutrals: #000000, #444444, #7a7a7a, #85919b
 */

/* ===== TYPOGRAPHY SYSTEM ===== */
/* Modern typography foundation using PT Serif for body and Nunito Sans for headings */

/* Base Typography */
* {
    font-family: 'PT Serif', Georgia, serif;
}

body {
    font-family: 'PT Serif', Georgia, serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Font Weight Classes */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Font Size Classes - Responsive Typography Scale */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.text-5xl {
    font-size: 3rem;
    line-height: 1;
}
.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

/* Responsive Typography */
@media (min-width: 640px) {
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 768px) {
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Heading Styles with Nunito Sans Font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}
h2 {
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
}
h4 {
    font-size: 1.25rem;
    font-weight: 600;
}
h5 {
    font-size: 1.125rem;
    font-weight: 500;
}
h6 {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Headings */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3.75rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2.25rem; }
}

/* Text Utilities */
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

/* ===== END TYPOGRAPHY SYSTEM ===== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0093b0 0%, #005f77 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #84c6ab 0%, #5fb08a 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 198, 171, 0.3);
}

.hero-cta:hover {
    background: linear-gradient(135deg, #5fb08a 0%, #4a9470 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 198, 171, 0.4);
    color: white;
    text-decoration: none;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 147, 176, 0.02) 0%, rgba(132, 198, 171, 0.02) 100%);
    pointer-events: none;
}

/* Section Header */
.section-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-family: 'PT Serif', serif;
    color: #7a7a7a;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0093b0 0%, #84c6ab 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Images */
.feature-image-container {
    margin-bottom: 2rem;
    position: relative;
}

.feature-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

/* Feature Icon Wrapper (for icon-based features) */
.feature-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0093b0 0%, #005f77 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 147, 176, 0.3);
}

.feature-card:hover .feature-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: white;
}

/* Feature Content */
.feature-content {
    position: relative;
    z-index: 1;
}

.feature-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-family: 'PT Serif', serif;
    color: #7a7a7a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-image,
    .feature-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-image,
    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        font-size: 1.75rem;
    }
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: white;
}

.demo-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: #444444;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    font-family: 'PT Serif', Georgia, serif;
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0093b0;
    box-shadow: 0 0 0 3px rgba(0, 147, 176, 0.1);
}

.btn-primary {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0093b0 0%, #005f77 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #007a94 0%, #004a5e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 147, 176, 0.3);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0093b0 0%, #005f77 100%);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #0093b0;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #84c6ab 0%, #5fb08a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-title {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
    letter-spacing: -0.025em;
}

.pricing-price {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0093b0;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    color: #444444;
    font-family: 'PT Serif', serif;
}

.pricing-features li:before {
    content: "✓";
    color: #84c6ab;
    font-weight: bold;
    margin-right: 10px;
}

/* Newsletter Signup */
.newsletter-section {
    padding: 60px 0;
    background: #444444;
    color: white;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'PT Serif', serif;
}

.newsletter-btn {
    background: linear-gradient(135deg, #84c6ab 0%, #5fb08a 100%);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #5fb08a 0%, #4a9470 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(132, 198, 171, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        letter-spacing: -0.025em;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (min-width: 769px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
