/* CSS Variables for consistent theming */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --secondary-color: #6B7280;
    --success-color: #10B981;
    --background-light: #F9FAFB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Header Styles */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    height: 58px;
}

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

.logo-container i {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-intro-section {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.intro-card {
    max-width: 800px;
    margin: 0 auto;
}

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

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: left;
}

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

.form-input-container {
    position: relative;
    flex: 1;
}

.hero-input {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.2s ease;
    min-height: 60px;
}

.hero-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.attach-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-light);
    padding: 0.5rem;
}

.submit-btn {
    min-width: 60px;
    height: 60px;
    border-radius: 0.75rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.feature-image img {
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

.feature-image img:hover {
    transform: scale(1.02);
}

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

.process-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.2s ease;
}

.process-card:hover {
    transform: translateY(-3px);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-icon i {
    font-size: 2rem;
    color: var(--white);
}

.process-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tech-trends-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.trend-card {
    background: var(--background-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease;
}

.trend-card:hover {
    transform: translateY(-2px);
}

.trend-card h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

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

.pricing-note {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-light);
}

.contact-form-container {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
.footer {
    background-color: #1F2937 !important;
    color: var(--white);
}

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

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

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

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

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

.footer-description {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
}

.contact-info {
    color: #D1D5DB;
}

.contact-info h6 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-info p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.copyright {
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-form {
        flex-direction: column;
    }
    
    .hero-input {
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .tech-trends-section {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .intro-text {
        text-align: center;
    }
    
    .feature-card, .process-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #111827;
        --text-dark: #F9FAFB;
        --text-light: #D1D5DB;
        --white: #1F2937;
        --border-color: #374151;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding-top: 100px;
    background-color: var(--background-light);
}

.legal-content {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-text ul {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: var(--background-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.contact-details p {
    margin-bottom: 0.5rem;
}

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

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

/* Navbar scrolled state */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Success modal styles */
.success-icon {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Additional responsive improvements */
@media (max-width: 992px) {
    .legal-content {
        padding: 2rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.75rem;
    }
    
    .legal-text h2 {
        font-size: 1.25rem;
    }
}
