/* Import Plus Jakarta Sans font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Root variables matching julep.ai design */
:root {
    --primary-color: rgb(34, 34, 34);
    --primary-text: rgb(34, 34, 34);
    --body-text: rgb(0, 0, 0);
    --background-white: rgb(255, 255, 255);
    --accent-green: rgb(34, 197, 94);
    --button-bg: rgb(34, 34, 34);
    --button-text: rgb(0, 0, 238);
    --border-radius-full: 100px;
    --font-family: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
    --heading-size: 40px;
    --heading-weight: 700;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-white);
    color: var(--body-text);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: var(--background-white) !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text);
}

.nav-link {
    color: var(--primary-text) !important;
    font-weight: 500;
    margin: 0 0.5rem;
}

.btn-primary {
    background-color: var(--button-bg);
    border: none;
    color: var(--button-text);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(34, 34, 34, 0.9);
    color: var(--button-text);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background-color: var(--background-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-new {
    background-color: var(--accent-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-text {
    color: var(--primary-text);
    font-weight: 500;
}

.hero-title {
    font-size: var(--heading-size);
    font-weight: var(--heading-weight);
    color: var(--primary-text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.hero-intro-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: left;
}

.intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Customer Stories */
.customer-stories-section {
    background-color: #f8f9fa;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.story-tab {
    background-color: #e9ecef;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

.story-tab.active,
.story-tab:hover {
    background-color: var(--accent-green);
    color: white;
}

.story-content {
    text-align: center;
    margin-top: 2rem;
}

.story-item {
    display: none;
}

.story-item.active {
    display: block;
}

.story-logo {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.story-text {
    font-size: 1.125rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
}

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

.platform-category {
    text-align: center;
}

.platform-title {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.platform-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.platform-icon {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

.platform-icon:hover {
    background-color: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

/* Build Section */
.build-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.build-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 2rem;
}

.build-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.build-step {
    padding: 1.5rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.build-step h5 {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.build-step p {
    color: #666;
    margin: 0;
}

.code-preview {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.code-header {
    background-color: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
}

.code-dots span:nth-child(1) { background-color: #ff5f56; }
.code-dots span:nth-child(2) { background-color: #ffbd2e; }
.code-dots span:nth-child(3) { background-color: #27ca3f; }

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    color: #f8f8f2;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

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

.testimonial-item {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: left;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-info h6 {
    font-weight: 600;
    color: var(--primary-text);
    margin: 0;
}

.author-info p {
    color: #666;
    margin: 0;
    font-size: 0.875rem;
}

/* Features Grid */
.features-grid-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    text-align: left;
}

.feature-card h5 {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-text);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: white;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-weight: 500;
    color: var(--primary-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.cta-icon {
    font-size: 3rem;
    color: var(--accent-green);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
}

.text-success {
    color: var(--accent-green) !important;
}

.cta-form {
    margin-top: 2rem;
}

.input-group {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.input-group .form-control {
    border-radius: var(--border-radius-full);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.input-group .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

/* Footer */
.footer-section {
    background-color: #1a1a1a !important;
    color: #ccc;
}

.footer-title {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.contact-info a {
    color: var(--accent-green);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-color: #333;
    margin: 2rem 0;
}

.footer-brand .logo-text {
    color: white;
}

.footer-tagline {
    color: #ccc;
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
}

.footer-copyright {
    color: #ccc;
    margin: 0;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .story-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .hero-intro-section {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}

/* Additional page styles */

/* Pricing page styles */
.pricing-hero-section {
    padding: 120px 0 80px;
    background-color: var(--background-white);
}

.pricing-section {
    background-color: #f8f9fa;
}

.pricing-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--accent-green);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

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

.price-unit {
    font-size: 1rem;
    color: #666;
    display: block;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.pricing-footer {
    margin-top: 2rem;
}

.pricing-features-section .feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

/* Contact page styles */
.contact-hero-section {
    padding: 120px 0 80px;
    background-color: var(--background-white);
}

.contact-form-section {
    background-color: #f8f9fa;
}

.contact-form-card {
    background-color: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
}

.form-header p {
    color: #666;
    font-size: 1.125rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.form-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

.contact-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-address {
    color: #666;
    line-height: 1.6;
}

/* Terms and Privacy page styles */
.terms-section,
.privacy-section {
    padding: 120px 0 80px;
    background-color: var(--background-white);
}

.terms-title,
.privacy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.terms-updated,
.privacy-updated {
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.terms-content,
.privacy-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.terms-content h2,
.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-content ul,
.privacy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-details a {
    color: var(--accent-green);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}
