/* ===== GLOBAL STYLES ===== */
:root {
    --primary-blue: #1e3a8a;
    --light-blue: #dbeafe;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --border-light: #e2e8f0;
    --success-bg: #dbeafe;
    --success-text: #1e40af;
    --error-bg: #fee2e2;
    --error-text: #991b1b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 50%, var(--bg-light) 100%);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.nav-brand span {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.nav-subtitle {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 72px;
    padding: 60px 24px 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -400px;
    right: -400px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -400px;
    left: -400px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(219, 234, 254, 0.5);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary-blue);
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color: var(--bg-white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px rgba(5, 150, 105, 0.3);
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 60px 24px;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.info-card {
    text-align: center;
    padding: 20px;
}

.info-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 24px;
}

.section-title {
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== BEFORE/AFTER SECTION ===== */
.before-after-section {
    padding: 80px 24px;
    background: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.before-after-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.before-after-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

.before-after-card h3 {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.before-box,
.after-box {
    padding: 20px;
    text-align: center;
}

.before-box {
    background: #f1f5f9;
}

.after-box {
    background: #dbeafe;
    border-left: 1px solid var(--border-light);
}

.before-box p,
.after-box p {
    font-size: 14px;
    color: var(--text-light);
}

.label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.after-box .label {
    color: var(--primary-blue);
}

/* ===== FORM SECTION ===== */
.form-section {
    padding: 80px 24px;
}

.form-container {
    max-width: 600px;
}

.form-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== MESSAGES ===== */
.success-message,
.error-message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.success-message {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: var(--primary-blue);
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: var(--error-text);
}

.success-icon,
.error-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.success-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.success-text,
#errorText {
    font-size: 14px;
}

/* ===== FORM STYLES ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px rgba(5, 150, 105, 0.3);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-privacy {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 80px 24px;
    background: var(--bg-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.contact-info-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-info-meta {
    margin-top: 8px !important;
    font-size: 12px !important;
    color: #9ca3af !important;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #1e3a8a 100%);
    color: #d1d5db;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-links {
    margin-top: 16px;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 8px;
    }

    .hero {
        margin-top: 100px;
        padding: 40px 24px 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .form-box {
        padding: 24px;
    }

    .services-grid,
    .info-grid,
    .before-after-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

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

    .after-box {
        border-left: none;
        border-top: 1px solid var(--border-light);
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero {
        margin-top: 70px;
        padding: 30px 16px 40px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .info-section,
    .services-section,
    .before-after-section,
    .form-section,
    .contact-info-section {
        padding: 40px 16px;
    }

    .form-box {
        padding: 16px;
    }

    .cta-button,
    .submit-button {
        padding: 14px 24px;
        font-size: 14px;
    }

    .form-box {
        border-radius: 12px;
    }
}
