:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #10b981;
    --accent-gold: #d4a574;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

section,
header,
footer,
.container {
    max-width: 100%;
}

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

/* Hero Section - Breaking Chain Style */
.hero {
    background: linear-gradient(120deg, #0a2342 0%, #1a3a5c 35%, #3d6a99 60%, #d4a574 85%, #f5e6d3 100%);
    color: white;
    padding: 100px 20px 120px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212,165,116,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Chain Visual Effect */
.hero-chain-visual {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    z-index: 1;
    overflow: hidden;
    max-width: 100%;
    pointer-events: none;
}

.chain-segment {
    flex: 1;
    min-width: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
    display: flex;
    align-items: center;
    position: relative;
}

.chain-segment.left {
    justify-content: flex-end;
    padding-right: 20px;
}

.chain-segment.right {
    padding-left: 20px;
}

.chain-link {
    width: 30px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    margin: 0 -8px;
    background: transparent;
    flex: 0 0 auto;
}

.chain-break {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.spark-effect {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(212,165,116,0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: sparkPulse 2s ease-in-out infinite;
}

@keyframes sparkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.freedom-birds {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 50px;
    max-width: 100%;
    overflow: hidden;
}

.bird {
    font-size: 24px;
    display: inline-block;
    animation: flyAway 4s ease-out infinite;
    opacity: 0.7;
    flex: 0 0 auto;
}

.bird:nth-child(1) {
    animation-delay: 0s;
}

.bird:nth-child(2) {
    animation-delay: 0.5s;
}

.bird:nth-child(3) {
    animation-delay: 1s;
}

@keyframes flyAway {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    100% {
        transform: translate(200px, -100px) rotate(15deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    min-width: 0;
}

.badge {
    display: inline-block;
    background: rgba(212, 165, 116, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100%;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    min-width: 0;
}

.stat {
    text-align: center;
    min-width: 0;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cta {
    background: rgba(255, 255, 255, 0.98);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255,255,255,0.5) inset;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #d4a574);
}

.urgency-strip {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    margin: -45px -45px 30px;
    margin-top: -41px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.price {
    margin-bottom: 25px;
}

.price-old {
    font-size: 24px;
    color: var(--text-gray);
    text-decoration: line-through;
    opacity: 0.6;
}

.price-currency {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin: 5px 0 10px;
    line-height: 1.1;
}

.price-note {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    max-width: 100%;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-large {
    padding: 20px 44px;
    font-size: 18px;
    width: 100%;
}

.pulse-btn {
    animation: pulseButton 2s ease-in-out infinite;
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 10px 35px rgba(102, 126, 234, 0.5);
    }
}

.guarantee-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
    min-width: 0;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
    min-width: 0;
}

.guarantee-badge i {
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
}

/* Social Proof Section */
.section-social-proof {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.social-proof-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    min-width: 0;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    min-width: 0;
}

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

.testimonial-info {
    min-width: 0;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.testimonial-meta {
    font-size: 13px;
    color: var(--text-gray);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.testimonial-result {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.result-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.result-value {
    font-size: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    min-width: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.trust-icon {
    font-size: 40px;
    flex: 0 0 auto;
}

.trust-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trust-text strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}

.trust-text span {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Section */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 44px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Problem Section */
.section-problem {
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    min-width: 0;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-width: 0;
}

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

.problem-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.problem-insight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    min-width: 0;
}

.insight-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.insight-content {
    min-width: 0;
}

.insight-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.insight-content p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.95;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    min-width: 0;
}

.solution-visual,
.solution-text {
    min-width: 0;
}

.solution-text h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 18px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: break-word;
}

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

.checklist i {
    color: var(--secondary-color);
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checklist strong {
    color: var(--text-dark);
}

.solution-highlight {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    min-width: 0;
}

.solution-highlight i {
    color: #f59e0b;
    font-size: 24px;
    flex-shrink: 0;
}

.solution-highlight p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Mockup */
.mockup {
    background: linear-gradient(135deg, #1a3a5c 0%, #3d6a99 100%);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 0;
}

.mockup-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    flex: 0 0 auto;
}

.mockup-content {
    background: white;
    border-radius: 16px;
    padding: 35px;
    min-height: 450px;
    min-width: 0;
}

.mockup-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.mockup-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mockup-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-check {
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    color: #166534;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mockup-tracker {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    min-width: 0;
}

.tracker-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.tracker-days {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.tracker-days .day {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    flex: 0 0 auto;
}

.tracker-days .day.filled {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

/* Comparison Section */
.section-compare {
    background: var(--bg-light);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    min-width: 0;
}

.comparison-column {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    min-width: 0;
}

.comparison-paid {
    border: 3px solid var(--primary-color);
}

.comparison-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    max-width: calc(100% - 24px);
    text-align: center;
    white-space: normal;
}

.comparison-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.icon-bad {
    color: #ef4444;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-good {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* Inside Section */
.section-inside {
    background: var(--bg-light);
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    min-width: 0;
}

.inside-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-width: 0;
}

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

.inside-number {
    position: absolute;
    top: -18px;
    left: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    flex: 0 0 auto;
}

.inside-icon {
    font-size: 44px;
    margin: 20px 0 15px;
}

.inside-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.inside-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Cost Calculator Section */
.section-cost {
    padding: 80px 20px;
}

.cost-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(21, 37, 63, 0.08);
    padding: 50px 40px;
    min-width: 0;
}

.cost-header {
    text-align: center;
    margin-bottom: 40px;
}

.cost-badge {
    display: inline-block;
    padding: 10px 20px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 100%;
}

.cost-subtitle {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    overflow-wrap: break-word;
    word-break: break-word;
}

.cost-calculator {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.cost-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
    min-width: 0;
}

.cost-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cost-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cost-field input {
    height: 54px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 0 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.2s ease;
    width: 100%;
    min-width: 0;
}

.cost-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.cost-action {
    text-align: center;
    margin-bottom: 30px;
}

.cost-result {
    min-height: 180px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f9ff 0%, #eef5ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.15);
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.cost-result-placeholder {
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.5;
}

.cost-result-values {
    width: 100%;
    min-width: 0;
}

.cost-result-title {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.cost-result-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    min-width: 0;
}

.cost-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(31, 49, 83, 0.08);
    border: 1px solid var(--border-color);
    min-width: 0;
}

.cost-result-card span {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.cost-result-card strong {
    font-size: 32px;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cost-result-bottom {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cost-result-bottom strong {
    color: #ef4444;
    font-weight: 800;
}

.cost-note {
    margin-top: 30px;
    text-align: center;
}

.cost-note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    overflow-wrap: break-word;
    word-break: break-word;
}

.cost-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    min-width: 0;
}

.result-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-width: 0;
}

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

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.result-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    min-width: 0;
}

.cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
}

.cta-urgency i {
    font-size: 18px;
    flex-shrink: 0;
}

.cta-box h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-description {
    font-size: 19px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
    min-width: 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    min-width: 0;
}

.cta-feature i {
    color: #10b981;
    font-size: 20px;
    flex-shrink: 0;
}

.cta-feature span {
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-price {
    background: rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cta-price .price-old {
    font-size: 28px;
    text-decoration: line-through;
    opacity: 0.7;
    color: white;
}

.price-discount {
    background: #ef4444;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
}

.price-large {
    font-size: 64px;
    font-weight: 900;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.price-info {
    font-size: 15px;
    opacity: 0.9;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
    min-width: 0;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.95;
    min-width: 0;
}

.guarantee-item i {
    font-size: 16px;
    flex-shrink: 0;
}

.cta-note {
    margin-top: 25px;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* FAQ Section */
.section-faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 28px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    gap: 16px;
    min-width: 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 20px;
    flex-shrink: 0;
    font-size: 18px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
}

.faq-answer p {
    padding: 0 35px 28px;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 70px 20px 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    min-width: 0;
}

.footer-info,
.footer-links {
    min-width: 0;
}

.footer-info h4 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-info p {
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.disclaimer {
    font-size: 13px;
    opacity: 0.6;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    min-width: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header {
    padding: 45px 45px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.modal-body {
    padding: 35px 45px 45px;
}

.order-summary {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 35px;
    border: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-price {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
    flex-shrink: 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 0;
    font-size: 20px;
    font-weight: 800;
}

.total-price {
    color: var(--primary-color);
    flex-shrink: 0;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.form-group input {
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    min-width: 0;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group small {
    font-size: 13px;
    color: var(--text-gray);
    overflow-wrap: break-word;
    word-break: break-word;
}

.payment-methods h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.payment-option input[type="radio"] {
    margin-right: 14px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex: 0 0 auto;
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    min-width: 0;
}

.payment-option i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.payment-secure {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.payment-secure i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.btn-block {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding: 80px 16px 100px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .hero-cta {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .urgency-strip {
        margin: -28px -18px 20px;
        margin-top: -24px;
        font-size: 12px;
        line-height: 1.4;
        padding: 12px 14px;
    }

    .price-currency {
        font-size: 48px;
    }

    .section {
        padding: 60px 16px;
    }

    .section-social-proof,
    .section-cost,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 40px;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: stretch;
    }

    .solution-visual,
    .solution-text {
        width: 100%;
        min-width: 0;
    }

    .mockup {
        padding: 14px;
        border-radius: 18px;
    }

    .mockup-header {
        gap: 8px;
        margin-bottom: 14px;
    }

    .mockup-dot {
        width: 10px;
        height: 10px;
    }

    .mockup-content {
        min-height: auto;
        padding: 18px;
        border-radius: 14px;
    }

    .mockup-page {
        gap: 14px;
    }

    .mockup-title {
        font-size: 17px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .mockup-checklist {
        gap: 10px;
    }

    .mockup-check {
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.45;
    }

    .mockup-tracker {
        margin-top: 8px;
        padding: 14px;
        border-radius: 10px;
    }

    .tracker-title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .tracker-days {
        gap: 8px;
    }

    .tracker-days .day {
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 7px;
    }

    .solution-text h3 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .checklist li {
        gap: 10px;
        padding: 14px 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .checklist i {
        font-size: 18px;
        margin-top: 3px;
    }

    .solution-highlight {
        margin-top: 22px;
        padding: 16px;
        gap: 12px;
        border-radius: 10px;
    }

    .solution-highlight i {
        font-size: 20px;
        margin-top: 2px;
    }

    .solution-highlight p {
        font-size: 14px;
        line-height: 1.6;
    }

    .problems-grid,
    .inside-grid,
    .results-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-column {
        padding: 28px 20px;
    }

    .cta-box h2 {
        font-size: 34px;
    }

    .cta-features,
    .cost-fields,
    .cost-result-numbers,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .price-large {
        font-size: 52px;
    }

    .modal-content {
        width: calc(100vw - 24px);
        max-width: 100%;
        margin: 0;
        border-radius: 18px;
    }

    .modal-header,
    .modal-body {
        padding: 28px 20px;
    }

    .trust-indicators {
        gap: 18px;
        padding: 20px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .trust-item {
        gap: 12px;
    }

    .problem-insight {
        flex-direction: column;
        padding: 28px 20px;
    }

    .inside-card,
    .result-card,
    .testimonial-card,
    .cost-box,
    .cta-price {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-question {
        padding: 22px 18px;
    }

    .faq-question h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .faq-answer p {
        padding: 0 18px 22px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px 80px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.2;
    }

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

    .hero-cta {
        padding: 24px 16px;
    }

    .urgency-strip {
        flex-direction: column;
        text-align: center;
        padding: 10px 12px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .price-currency {
        font-size: 42px;
    }

    .btn-large {
        padding: 18px 20px;
        font-size: 16px;
    }

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

    .solution-content {
        gap: 22px;
    }

    .mockup {
        padding: 10px;
        border-radius: 16px;
    }

    .mockup-content {
        padding: 14px;
    }

    .mockup-title {
        font-size: 15px;
    }

    .mockup-check {
        font-size: 12px;
        padding: 9px 10px;
    }

    .mockup-tracker {
        padding: 12px;
    }

    .tracker-days {
        gap: 6px;
    }

    .tracker-days .day {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .solution-text h3 {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .checklist li {
        gap: 8px;
        padding: 12px 0;
        font-size: 13px;
        line-height: 1.55;
    }

    .checklist i {
        font-size: 16px;
    }

    .solution-highlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }

    .solution-highlight p {
        font-size: 13px;
    }

    .problem-card,
    .inside-card {
        padding: 35px 20px;
    }

    .inside-number {
        left: 20px;
    }

    .cost-box {
        padding: 24px 16px;
    }

    .cta-guarantees {
        flex-direction: column;
        gap: 15px;
    }

    .cta-urgency {
        border-radius: 18px;
        padding: 12px 14px;
    }

    .price-row {
        gap: 10px;
    }

    .cta-price .price-old {
        font-size: 22px;
    }

    .price-large {
        font-size: 40px;
    }

    .order-item,
    .order-total {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-option {
        padding: 14px;
    }

    .payment-option span {
        font-size: 14px;
        gap: 10px;
    }

    .footer {
        padding-top: 50px;
    }
}

/* ===== HabitLab SEO expansion: keeps original landing style ===== */
.site-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 18px 20px;
    color: #fff;
}
.site-topbar .topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}
.brand-text small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    opacity: .78;
    letter-spacing: 0;
}
.top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.top-nav a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.top-nav a:hover { color: #fff; }
.top-nav .nav-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
}
.hero { padding-top: 125px; }
.hero.home-hero { min-height: 760px; }
.hero-catalog-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0 25px;
}
.hero-mini-link {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px var(--border-color);
}
.hero-mini-link small {
    display: block;
    color: var(--text-gray);
    font-weight: 600;
    margin-top: 4px;
}
.home-hero .hero-cta { max-width: 740px; }
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.product-card-link {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.product-card-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.product-card-icon { font-size: 46px; margin-bottom: 14px; }
.product-card-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #5568d3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.product-card-link h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.product-card-link p { color: var(--text-gray); margin-bottom: 18px; }
.product-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 900;
}
.product-card-price { color: var(--text-dark); }
.section-darkline {
    background: linear-gradient(135deg, #0a2342 0%, #1a3a5c 50%, #3d6a99 100%);
    color: #fff;
}
.section-darkline .section-title,
.section-darkline .section-subtitle { color: #fff; }
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.method-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 28px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}
.method-card h3 { font-size: 22px; margin-bottom: 10px; }
.method-card p { color: rgba(255,255,255,.84); }
.page-breadcrumbs {
    font-size: 14px;
    color: rgba(255,255,255,.78);
    margin-bottom: 18px;
}
.page-breadcrumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.disclaimer-box {
    margin-top: 30px;
    padding: 20px 24px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.6;
}
.lead-success {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 12px;
    font-weight: 700;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.calculator-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.calculator-card h3 { font-size: 22px; margin-bottom: 10px; }
.calculator-card p { color: var(--text-gray); margin-bottom: 18px; }
.calculator-card .cost-box { padding: 0; box-shadow: none; border: none; }
.calculator-card .cost-calculator { grid-template-columns: 1fr; }
.product-note {
    margin: 16px 0 0;
    color: var(--text-gray);
    font-size: 13px;
}
.product-note strong { color: var(--text-dark); }
.price-row-soft {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.price-ready-badge {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}
.price-request-badge { background: #fff7ed; color: #c2410c; }
@media (max-width: 900px) {
    .site-topbar { position: absolute; }
    .site-topbar .topbar-inner { align-items: flex-start; }
    .top-nav { gap: 10px; }
    .top-nav a:not(.nav-pill) { display: none; }
    .hero-catalog-mini { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .brand-text small { display: none; }
    .site-topbar { padding: 14px 12px; }
    .hero { padding-top: 110px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .hero-mini-link { padding: 12px; }
}


/* Calculator design refresh */
.cost-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(102, 126, 234, 0.14);
    box-shadow: 0 24px 70px rgba(19, 39, 71, 0.10);
}

.cost-calculator {
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 25px rgba(25, 44, 78, 0.06);
    padding: 24px;
}

.cost-fields {
    gap: 16px;
    margin-bottom: 22px;
}

.cost-field {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 14px 14px 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cost-field:hover {
    transform: translateY(-1px);
    border-color: rgba(102, 126, 234, 0.35);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.cost-field label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #475569;
    margin-bottom: 10px;
}

.cost-field input {
    height: 52px;
    border: 1.5px solid #dbe4f0;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 17px;
    font-weight: 700;
    background: #f8fbff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.cost-field input:hover {
    border-color: #c6d4ea;
    background: #ffffff;
}

.cost-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
    background: #ffffff;
}

.cost-action {
    margin-bottom: 22px;
}

.cost-action .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(102, 126, 234, 0.28);
}

.cost-result {
    min-height: 205px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f2347 0%, #274d86 52%, #4f77af 100%);
    border: 0;
    padding: 26px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(18, 38, 69, 0.16);
}

.cost-result-placeholder {
    color: rgba(255,255,255,.88);
    font-size: 16px;
    text-align: center;
}

.cost-result-title {
    font-size: 20px;
    color: rgba(255,255,255,.95);
    margin-bottom: 18px;
    font-weight: 800;
    text-align: center;
}

.cost-result-numbers {
    gap: 14px;
    margin-bottom: 18px;
}

.cost-result-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.cost-result-card span {
    color: rgba(255,255,255,0.76);
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cost-result-card strong {
    font-size: 30px;
    color: #ffffff;
}

.cost-result-bottom {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,.95);
    text-align: center;
}

.cost-result-bottom strong {
    color: #fef08a;
}

.calculators-grid {
    align-items: stretch;
}

.calculator-card {
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    padding: 30px;
    border: 1px solid rgba(102, 126, 234, 0.12);
    box-shadow: 0 18px 45px rgba(22, 34, 56, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.calculator-card h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.calculator-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    min-height: 72px;
}

.calculator-card .cost-calculator {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.calculator-card .cost-field {
    background: #f8fbff;
}

.calculator-card .cost-result {
    min-height: 190px;
}

.product-note {
    margin-top: 18px;
    font-size: 14px;
}

.product-note a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.product-note a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .cost-box {
        padding: 34px 22px;
    }

    .cost-calculator {
        padding: 18px;
    }

    .cost-fields,
    .cost-result-numbers {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .calculator-card > p {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .cost-result {
        padding: 20px 16px;
    }

    .cost-result-card strong {
        font-size: 26px;
    }

    .cost-result-title {
        font-size: 18px;
    }
}


/* Calculators page layout fix */
.calculators-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    align-items: start;
}

.calculator-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
}

.calculator-card > p {
    min-height: 72px;
}

.calculator-card .js-habit-calculator,
.calculator-card .cost-calculator {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.calculator-card .cost-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(108px, auto);
    min-height: 236px;
    align-content: start;
}

.calculator-card .cost-field {
    padding: 12px 12px 14px;
}

.calculator-card .cost-field input {
    font-size: 16px;
    padding: 0 14px;
}

.calculator-card input[type="time"] {
    letter-spacing: .03em;
}

.calculator-card .cost-action {
    margin-bottom: 18px;
}

.calculator-card .cost-action .btn {
    max-width: none;
    width: 100%;
}

.calculator-card .cost-result {
    min-height: 228px;
    padding: 22px 18px;
}

.calculator-card .cost-result-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.calculator-card .cost-result-numbers {
    gap: 12px;
    margin-bottom: 14px;
}

.calculator-card .cost-result-card {
    padding: 16px 14px;
}

.calculator-card .cost-result-card strong {
    font-size: 22px;
    line-height: 1.15;
}

.calculator-card .cost-result-bottom {
    font-size: 15px;
    line-height: 1.55;
}

.calculator-card .product-note {
    margin-top: 18px;
    padding-top: 4px;
}

@media (max-width: 1199px) {
    .calculators-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .calculators-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card > p {
        min-height: 0;
    }

    .calculator-card .cost-fields {
        min-height: 0;
    }
}
