* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e5a96;
    --primary-dark: #0d3a5c;
    --primary-light: #2a7bb4;
    --accent-color: #00a86b;
    --accent-light: #4ecb9d;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #f5f7fa;
    --bg-lighter: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(30, 90, 150, 0.08);
    --shadow-hover: 0 4px 24px rgba(30, 90, 150, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-lighter);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ BUTTONS ============ */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ============ HEADER ============ */
.header {
    background-color: var(--bg-lighter);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .nav a {
        font-size: 15px;
    }

    .hero-copy h1,
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-copy p,
    .hero-content p {
        font-size: 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    min-height: 420px;
}

.hero-copy {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
}

.hero-copy h1 {
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 24px;
    text-align: left;
}

.hero-copy p {
    font-size: 20px;
    max-width: 620px;
    margin-bottom: 30px;
    text-align: left;
    opacity: 0.95;
}

.hero-photo {
    display: flex;
    justify-content: center;
}

.photo-frame {
    width: 100%;
    max-width: 420px;
    min-height: 420px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-frame img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.help-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.help-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.help-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.process-steps .step {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: left;
}

.process-steps .step-arrow {
    display: none;
}

.process-steps .step-number {
    margin-bottom: 18px;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.about-list li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.about-photo .photo-frame {
    width: 100%;
    max-width: 420px;
    min-height: 420px;
    border-radius: 28px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-gray);
}

.pricing-inline-icon {
    font-size: 22px;
    margin-right: 12px;
    vertical-align: middle;
}

.pricing-note-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 22px;
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-top: 36px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

.pricing-note-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.pricing-note-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.pricing-description {
    padding-bottom: 12px;
}

.pricing-description p {
    margin: 0 0 8px 0;
    color: var(--text-gray);
    line-height: 1.7;
}

.pricing-duration {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 8px !important;
}

.pricing-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 8px 0;
}

.pricing-results {
    padding-top: 12px;
}

.pricing-results-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0 !important;
}

.pricing-note-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 16px 0;
}

.tools {
    background-color: var(--bg-lighter);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tool-card {
    background: white;
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    overflow: hidden;
}

.tool-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tool-card.image .tool-icon {
    background: transparent;
}

.tool-card:last-child .tool-icon img {
    width: 75px;
    height: 75px;
}

.tool-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.contact {
    background-color: var(--bg-light);
    padding: 70px 0;
    text-align: center;
}

.contact h2,
.contact p {
    color: var(--text-dark);
}

.contact .btn {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hero-grid,
    .help-grid,
    .pricing-grid,
    .article-list,
    .process-steps,
    .benefits-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 {
        font-size: 42px;
    }
    .hero {
        padding: 80px 0;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }
    .hero-copy {
        text-align: center;
    }
    .hero-copy h1 {
        font-size: 34px;
    }
    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }
    .photo-frame {
        min-height: 320px;
    }
    .about-photo .photo-frame {
        min-height: 320px;
    }
    .help-grid,
    .process-steps,
    .pricing-grid,
    .article-list,
    .benefits-grid,
    .about-grid,
    .tools-grid {
        gap: 20px;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .contact .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ============ SECTIONS COMMON ============ */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 50px;
}

/* ============ PROBLEMS SECTION ============ */
.problems {
    background-color: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.problem-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ============ SERVICES SECTION (9 BLOCKS) ============ */
.services {
    background-color: var(--bg-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-color);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.service-card-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 28px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-highlight h3 {
    color: white;
}

.service-card-highlight p {
    color: rgba(255, 255, 255, 0.95);
}

.highlight-text {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--accent-light) !important;
    margin-top: 12px !important;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.pricing {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.pricing-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.pricing-card ul,
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.pricing-card li,
.feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.pricing-note {
    margin-top: 30px;
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-text {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.articles {
    background-color: var(--bg-lighter);
}

.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.article-item {
    background: #fff;
    padding: 28px 28px 30px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 240px;
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.article-item h3,
.article-item p {
    transition: color 0.2s ease;
}

.article-item h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.article-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.article-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 18px;
}

.article-link::after {
    content: '→';
    margin-left: 8px;
    font-weight: 700;
}

.article-link {
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .pricing-grid,
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid,
    .article-list {
        grid-template-columns: 1fr;
    }
}

/* ============ BENEFITS SECTION ============ */
.benefits {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
}

.benefit-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============ PROCESS SECTION ============ */
.process {
    background-color: var(--bg-lighter);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--primary-color);
    padding: 0 10px;
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
    }
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ FAQ SECTION ============ */
.faq {
    background-color: var(--bg-lighter);
}

.faq-items {
    display: grid;
    gap: 20px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 20px;
    color: var(--text-gray);
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============ CTA SECTION ============ */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 12px;
}

.cta > .container > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form button {
    padding: 16px;
    font-size: 16px;
}

.form-note {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 8px;
}

/* ============ FOOTER ============ */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #aaaaaa;
}

.footer-col a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #777777;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* ====== CALCULATOR STYLES ====== */
.calculator-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.calc-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.calc-row label {
    min-width: 220px;
    color: var(--text-dark);
    font-weight: 600;
}
.calc-row input,
.calc-row select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}
.calc-row button {
    width: 160px;
}
.calc-results {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    display: grid;
    gap: 8px;
}
.result-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.result-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .calc-row { flex-direction: column; align-items: stretch; }
    .calc-row label { min-width: 0; }
}
