:root {
    --calc-primary: #FF8200;
    --calc-primary-deep: #E0730A;
    --calc-primary-light: #FF9A33;
    --calc-navy: #0B2342;
    --calc-sand: #f7f5f2;
    --calc-font-display: 'Noto Serif', Georgia, 'Times New Roman', serif;
    --calc-font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --calc-radius: 16px;
    --calc-shadow-card: 0 8px 32px rgba(255, 130, 0, 0.1);
}

.calc-page {
    font-family: var(--calc-font-body);
    background: var(--calc-sand);
    background-image: linear-gradient(180deg, #f7f5f2 0%, #faf8f5 40%, #f5f2ee 100%);
    color: var(--calc-navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.calc-page h1,
.calc-page h2 {
    font-family: var(--calc-font-display);
}

/* Hero */
.calc-hero {
    position: relative;
    background-color: #FF8200;
    background-image: linear-gradient(135deg, #FF8200 0%, #E0730A 35%, #FF9A33 65%, #FFA94D 100%);
    padding: 40px 24px 72px;
    text-align: center;
    overflow: hidden;
}

.calc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 30% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(255, 220, 160, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 70% at 10% 80%, rgba(224, 115, 10, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.calc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23ffffff' fill-opacity='0.06' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.calc-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: calcOrbFloat 8s ease-in-out infinite;
}

.calc-hero-orb--1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(255, 220, 160, 0.25) 0%, transparent 70%);
}

.calc-hero-orb--2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    left: -40px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.2) 0%, transparent 70%);
    animation-delay: -3s;
}

.calc-hero-orb--3 {
    width: 150px;
    height: 150px;
    top: 30px;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 240, 200, 0.2) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes calcOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.04); }
}

.calc-hero h1 {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(180, 80, 0, 0.3);
}

.calc-hero h1 span {
    color: #ffffff;
    font-weight: 700;
}

.calc-hero p {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    max-width: 440px;
    margin: 0 auto;
    letter-spacing: 0.2px;
}

.calc-hero-wave-back {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    line-height: 0;
    opacity: 0.45;
}

.calc-hero-wave-back svg,
.calc-hero-waves svg {
    display: block;
    width: 100%;
}

.calc-hero-wave-back svg {
    height: 36px;
}

.calc-hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.calc-hero-waves svg {
    height: 64px;
}

/* Main content */
.calc-main {
    max-width: 640px;
    margin: 32px auto 0;
    padding: 0 16px 60px;
    position: relative;
    z-index: 2;
}

.calc-iframe-card {
    background: #fff;
    border-radius: var(--calc-radius);
    box-shadow: var(--calc-shadow-card);
    border: 1px solid rgba(255, 130, 0, 0.12);
    overflow: hidden;
}

.calc-iframe-card iframe {
    display: block;
    width: 100%;
    border: none;
    min-height: 600px;
    transition: height 0.3s ease;
}

/* Trust badges */
.calc-trust-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.calc-trust-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #8a4a00;
    background: linear-gradient(135deg, #fff5eb 0%, #ffe9d2 100%);
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 130, 0, 0.2);
    box-shadow: 0 2px 8px rgba(255, 130, 0, 0.08);
}

.calc-trust-chip svg {
    width: 16px;
    height: 16px;
    color: var(--calc-primary);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .calc-hero {
        padding: 32px 16px 60px;
    }

    .calc-hero h1 {
        font-size: 28px;
    }

    .calc-hero p {
        font-size: 14px;
    }

    .calc-main {
        margin-top: 20px;
        padding-bottom: 40px;
    }

    .calc-trust-strip {
        gap: 8px;
    }

    .calc-trust-chip {
        padding: 6px 10px;
        font-size: 11px;
    }
}
