/* ========================================
   CALCULATORS PAGE - HYPER PREMIUM DESIGN
   Plik: calculators-premium.css
   Szablon: template-pages/kalkulatory.php
   Last updated: 2025-12-14
   ======================================== */

/* ===========================================
   0. CONTAINER & CUSTOM PROPERTIES
   =========================================== */
:root {
    --calc-gold: #ffd700;
    --calc-gold-dark: #b8860b;
    --calc-purple: #7c3aed;
    --calc-purple-dark: #5b21b6;
    --calc-cyan: #06b6d4;
    --calc-pink: #ec4899;
    --calc-green: #10b981;
}

.calc-hero .container,
.calc-grid .container,
.calc-features .container,
.calc-info .container {
    max-width: 1264px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ===========================================
   A. HERO SECTION - HYPER PREMIUM
   =========================================== */
.calc-hero {
    position: relative;
    background:
        linear-gradient(135deg, #020617 0%, #0f172a 20%, #1e1b4b 50%, #312e81 80%, #4c1d95 100%);
    padding: 60px 0 180px;
    overflow: hidden;
    text-align: center;
}

/* Noise texture */
.calc-hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 2;
}

/* Holographic grid */
.calc-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 3;
    animation: calc-grid-move 25s linear infinite;
}

@keyframes calc-grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Aurora effect */
.calc-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        conic-gradient(from 0deg at 20% 30%, transparent 0deg, rgba(6, 182, 212, 0.2) 60deg, transparent 120deg),
        conic-gradient(from 180deg at 80% 70%, transparent 0deg, rgba(124, 58, 237, 0.25) 60deg, transparent 120deg),
        conic-gradient(from 90deg at 50% 50%, transparent 0deg, rgba(16, 185, 129, 0.15) 45deg, transparent 90deg),
        radial-gradient(ellipse 100% 80% at 0% 0%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: calc-aurora 25s ease-in-out infinite;
}

@keyframes calc-aurora {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
        filter: hue-rotate(20deg);
    }
}

/* Floating particles */
.calc-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(3px 3px at 10% 20%, rgba(6, 182, 212, 0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 20% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 30% 80%, rgba(124, 58, 237, 0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 30%, rgba(16, 185, 129, 0.6) 0%, transparent 100%),
        radial-gradient(4px 4px at 50% 60%, rgba(6, 182, 212, 0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 10%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(3px 3px at 70% 40%, rgba(124, 58, 237, 0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 70%, rgba(6, 182, 212, 0.7) 0%, transparent 100%),
        radial-gradient(3px 3px at 90% 25%, rgba(16, 185, 129, 0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: calc-particles 30s ease-in-out infinite;
}

@keyframes calc-particles {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 1; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
}

/* ===========================================
   A.1 BACKGROUND SHAPES - MORPHING
   =========================================== */
.calc-hero__bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.calc-hero__shape {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.calc-hero__shape--1 {
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle at 30% 30%, #06b6d4 0%, transparent 50%),
        conic-gradient(from 0deg, #06b6d4, #0891b2, #0e7490, #06b6d4);
    top: -150px;
    left: -150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation:
        calc-morph-1 20s ease-in-out infinite,
        calc-rotate 45s linear infinite;
}

.calc-hero__shape--2 {
    width: 450px;
    height: 450px;
    background:
        radial-gradient(circle at 50% 50%, #7c3aed 0%, transparent 50%),
        conic-gradient(from 180deg, #7c3aed, #8b5cf6, #a78bfa, #7c3aed);
    top: 20%;
    right: -100px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation:
        calc-morph-2 25s ease-in-out infinite,
        calc-rotate 50s linear infinite reverse;
}

.calc-hero__shape--3 {
    width: 350px;
    height: 350px;
    background:
        radial-gradient(circle at 50% 50%, #10b981 0%, transparent 50%),
        conic-gradient(from 90deg, #10b981, #34d399, #6ee7b7, #10b981);
    bottom: -100px;
    left: 30%;
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    animation:
        calc-morph-3 18s ease-in-out infinite,
        calc-rotate 40s linear infinite;
}

@keyframes calc-morph-1 {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) scale(1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: translate(40px, 50px) scale(1.1);
    }
}

@keyframes calc-morph-2 {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) scale(1);
    }
    50% {
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
        transform: translate(-50px, 30px) scale(1.08);
    }
}

@keyframes calc-morph-3 {
    0%, 100% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        transform: translate(0, 0) scale(1);
    }
    50% {
        border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
        transform: translate(60px, -40px) scale(1.15);
    }
}

@keyframes calc-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Glowing orbs */
.calc-hero__orb {
    position: absolute;
    border-radius: 50%;
}

.calc-hero__orb--1 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #fff 0%, #06b6d4 50%, transparent 100%);
    box-shadow:
        0 0 20px 10px rgba(6, 182, 212, 0.6),
        0 0 40px 20px rgba(6, 182, 212, 0.4),
        0 0 60px 30px rgba(6, 182, 212, 0.2);
    top: 25%;
    left: 15%;
    animation: calc-orb-pulse 4s ease-in-out infinite, calc-orb-float 8s ease-in-out infinite;
}

.calc-hero__orb--2 {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #fff 0%, #7c3aed 50%, transparent 100%);
    box-shadow:
        0 0 15px 8px rgba(124, 58, 237, 0.6),
        0 0 30px 15px rgba(124, 58, 237, 0.4);
    top: 60%;
    right: 20%;
    animation: calc-orb-pulse 4s ease-in-out infinite 1s, calc-orb-float 10s ease-in-out infinite reverse;
}

.calc-hero__orb--3 {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff 0%, #10b981 50%, transparent 100%);
    box-shadow:
        0 0 12px 6px rgba(16, 185, 129, 0.6),
        0 0 24px 12px rgba(16, 185, 129, 0.3);
    top: 40%;
    left: 70%;
    animation: calc-orb-pulse 3.5s ease-in-out infinite 0.5s, calc-orb-float 12s ease-in-out infinite;
}

.calc-hero__orb--4 {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #fff 0%, #ffd700 50%, transparent 100%);
    box-shadow:
        0 0 10px 5px rgba(255, 215, 0, 0.6),
        0 0 20px 10px rgba(255, 215, 0, 0.3);
    top: 75%;
    left: 25%;
    animation: calc-orb-pulse 5s ease-in-out infinite 2s, calc-orb-float 15s ease-in-out infinite reverse;
}

@keyframes calc-orb-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes calc-orb-float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(15px); }
    50% { transform: translateY(-35px) translateX(0); }
    75% { transform: translateY(-20px) translateX(-15px); }
}

/* ===========================================
   A.2 HERO CONTENT
   =========================================== */
.calc-hero__container {
    position: relative;
    z-index: 10;
}

/* Breadcrumb */
.calc-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 28px;
    margin-bottom: 40px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.calc-hero__breadcrumb a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.calc-hero__breadcrumb a:hover {
    color: #06b6d4;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.calc-hero__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.calc-hero__breadcrumb > span {
    color: #06b6d4;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* Main content */
.calc-hero__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Badge */
.calc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    position: relative;
    overflow: hidden;
}

.calc-hero__badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: calc-shimmer 3s ease-in-out infinite;
}

@keyframes calc-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.calc-hero__badge svg {
    color: #06b6d4;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.calc-hero__badge span {
    color: #06b6d4;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Title */
.calc-hero__title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #06b6d4 25%,
        #10b981 50%,
        #7c3aed 75%,
        #fff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: calc-title-shine 6s linear infinite;
}

@keyframes calc-title-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@media (max-width: 768px) {
    .calc-hero__title {
        font-size: 38px;
    }
}

.calc-hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 768px) {
    .calc-hero__text {
        font-size: 16px;
    }
}

/* Stats */
.calc-hero__stats {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 640px) {
    .calc-hero__stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

.calc-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.calc-hero__stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #10b981);
}

.calc-hero__stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.3);
}

.calc-hero__stat-value {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.calc-hero__stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Wave */
.calc-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    color: #f8fafc;
    line-height: 0;
}

.calc-hero__wave svg {
    display: block;
    width: 100%;
    height: 120px;
    filter: drop-shadow(0 -8px 20px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .calc-hero__wave svg {
        height: 70px;
    }
}

/* ===========================================
   B. CALCULATORS GRID SECTION
   =========================================== */
.calc-grid {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background */
.calc-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.calc-grid__header {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.calc-grid__header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 640px) {
    .calc-grid__header-left {
        flex-direction: column;
        align-items: flex-start;
    }
}

.calc-grid__icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(
        135deg,
        #06b6d4 0%,
        #0891b2 30%,
        #7c3aed 60%,
        #10b981 100%
    );
    background-size: 200% 200%;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 12px 30px rgba(6, 182, 212, 0.4),
        0 6px 15px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: calc-icon-gradient 6s ease-in-out infinite;
}

@keyframes calc-icon-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.calc-grid__icon-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: calc-shimmer 2.5s ease-in-out infinite;
}

.calc-grid__icon-wrapper svg {
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.calc-grid__title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-grid__title {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #111827 0%, #374151 50%, #111827 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
}

.calc-grid__title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #10b981, #7c3aed);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .calc-grid__title {
        font-size: 30px;
    }
}

.calc-grid__subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    margin: 8px 0 0 0;
}

/* Content Grid */
.calc-grid__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .calc-grid__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .calc-grid__content {
        grid-template-columns: 1fr;
    }
}

/* Empty state */
.calc-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 24px;
    border: 2px dashed rgba(6, 182, 212, 0.2);
}

.calc-grid__empty svg {
    color: #06b6d4;
    opacity: 0.5;
    margin-bottom: 20px;
}

.calc-grid__empty h3 {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.calc-grid__empty p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* ===========================================
   B.1 CALCULATOR CARDS - HYPER PREMIUM
   =========================================== */
.calc-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Glow effect */
.calc-card__glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        var(--gradient-from, #06b6d4),
        var(--gradient-to, #10b981),
        #7c3aed,
        var(--gradient-from, #06b6d4)
    );
    background-size: 300% 300%;
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: calc-card-glow 6s linear infinite;
    z-index: 0;
}

@keyframes calc-card-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.calc-card:hover .calc-card__glow {
    opacity: 1;
}

/* Inner card */
.calc-card__inner {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

.calc-card:hover .calc-card__inner {
    box-shadow:
        0 20px 40px rgba(6, 182, 212, 0.2),
        0 40px 80px rgba(124, 58, 237, 0.1);
}

.calc-card:hover {
    transform: translateY(-12px);
}

/* Icon */
.calc-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gradient-from, #06b6d4), var(--gradient-to, #10b981));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 20px color-mix(in srgb, var(--gradient-from, #06b6d4) 40%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.calc-card__icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.calc-card:hover .calc-card__icon::before {
    left: 100%;
}

.calc-card:hover .calc-card__icon {
    transform: scale(1.05) rotate(-3deg);
}

.calc-card__icon svg {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.calc-card__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Content */
.calc-card__content {
    flex: 1;
}

.calc-card__title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.calc-card:hover .calc-card__title {
    background: linear-gradient(135deg, var(--gradient-from, #06b6d4), var(--gradient-to, #10b981));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-card__description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Action button */
.calc-card__action {
    margin-top: auto;
}

.calc-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gradient-from, #06b6d4);
    transition: all 0.3s ease;
}

.calc-card__btn svg {
    transition: transform 0.3s ease;
}

.calc-card:hover .calc-card__btn svg {
    transform: translateX(6px);
}

/* Card number */
.calc-card__number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.calc-card:hover .calc-card__number {
    color: color-mix(in srgb, var(--gradient-from, #06b6d4) 10%, transparent);
    transform: scale(1.1);
}

/* ===========================================
   C. FEATURES SECTION
   =========================================== */
.calc-features {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.calc-features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.calc-features__header {
    text-align: center;
    margin-bottom: 56px;
}

.calc-features__title {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .calc-features__title {
        font-size: 28px;
    }
}

.calc-features__subtitle {
    font-size: 17px;
    color: #6b7280;
    margin: 0;
}

.calc-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .calc-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .calc-features__grid {
        grid-template-columns: 1fr;
    }
}

/* Feature card */
.calc-feature {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.calc-feature:hover {
    border-color: transparent;
    box-shadow:
        0 20px 40px rgba(6, 182, 212, 0.15),
        0 0 0 1px rgba(6, 182, 212, 0.1);
    transform: translateY(-8px);
}

.calc-feature__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.calc-feature:hover .calc-feature__icon {
    transform: scale(1.1) rotate(-5deg);
}

.calc-feature__icon--purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.calc-feature__icon--cyan {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.calc-feature__icon--pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.calc-feature__icon svg {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.calc-feature__title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
}

.calc-feature__text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ===========================================
   D. INFO SECTION
   =========================================== */
.calc-info {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

.calc-info::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.calc-info__wrapper {
    max-width: 950px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 56px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 32px rgba(0, 0, 0, 0.06),
        0 24px 64px rgba(6, 182, 212, 0.08);
    display: flex;
    gap: 36px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(6, 182, 212, 0.1);
}

@media (max-width: 768px) {
    .calc-info__wrapper {
        flex-direction: column;
        padding: 40px 28px;
    }
}

.calc-info__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #06b6d4 0%, #7c3aed 50%, #10b981 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 12px 28px rgba(6, 182, 212, 0.35),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.calc-info__icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: calc-shimmer 3s ease-in-out infinite;
}

.calc-info__icon svg {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.calc-info__content {
    flex: 1;
}

.calc-info__title {
    font-size: 30px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.calc-info__text {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.8;
}

.calc-info__text p {
    margin: 0 0 16px;
}

.calc-info__text p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   E. RESPONSIVE & ACCESSIBILITY
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    .calc-hero::before,
    .calc-hero::after,
    .calc-hero__shape,
    .calc-hero__orb,
    .calc-hero__badge::before,
    .calc-grid__icon-wrapper::before,
    .calc-card__glow,
    .calc-card__icon::before,
    .calc-info__icon::before {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus states */
.calc-hero__breadcrumb a:focus-visible,
.calc-card:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 4px;
    border-radius: 12px;
}

/* High contrast */
@media (prefers-contrast: high) {
    .calc-hero {
        background: #000;
    }

    .calc-card__inner {
        border: 2px solid #000;
    }

    .calc-hero__title {
        -webkit-text-fill-color: #fff;
    }
}

/* Print */
@media print {
    .calc-hero {
        background: #fff !important;
        color: #000 !important;
        padding: 20px 0;
    }

    .calc-hero__bg-shapes,
    .calc-hero__wave,
    .calc-hero::before,
    .calc-hero::after,
    .calc-hero-noise,
    .calc-hero-grid {
        display: none !important;
    }

    .calc-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .calc-hero__title {
        -webkit-text-fill-color: #000;
        background: none;
    }
}
