/* tanso.biz — Corporate Gradient SaaS */

/* ========================
   Reset & Base
   ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F5F7FA;
    color: #64748B;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ========================
   Typography
   ======================== */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1A1A2E;
}

.section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #1A1A2E;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-heading.left-align {
    text-align: left;
}

.section-sub {
    text-align: center;
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 2.5rem;
}

/* ========================
   Hero Section
   ======================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0B1628 0%, #1E3A5F 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   Buttons / CTAs
   ======================== */
.cta-primary {
    display: inline-block;
    background: #2196F3;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3);
}

.cta-primary:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.cta-primary.large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.cta-secondary {
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.cta-ghost {
    display: inline-block;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 2.2rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.cta-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

/* ========================
   Feature Cards Section
   ======================== */
.features {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #2196F3;
}

.feature-icon {
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A1A2E;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
}

/* ========================
   Credibility Section
   ======================== */
.credibility {
    background: linear-gradient(135deg, #0B1628 0%, #1E3A5F 100%);
    padding: 4rem 2rem;
}

.metrics-bar {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cred-metric {
    text-align: center;
}

.cred-num {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #00BFA5;
    display: block;
    margin-bottom: 0.3rem;
}

.cred-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 191, 165, 0.3);
    border-radius: 20px;
    color: #00BFA5;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ========================
   Pricing Widget
   ======================== */
.pricing-widget {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.price-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.price-market {
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748B;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 1.8rem;
    color: #1A1A2E;
    display: block;
    margin-bottom: 0.35rem;
}

.price-change {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.price-change.up {
    color: #00BFA5;
}

.price-change.down {
    color: #F44336;
}

.sparkline {
    width: 100%;
    height: 40px;
    display: block;
}

.sparkline-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.5s ease-out;
}

.sparkline-path.drawn {
    stroke-dashoffset: 0;
}

.sparkline-fill {
    opacity: 0;
    transition: opacity 0.8s ease 0.8s;
}

.sparkline-fill.drawn {
    opacity: 1;
}

/* ========================
   Calculator Section
   ======================== */
.calculator {
    background: linear-gradient(135deg, #0B1628 0%, #1E3A5F 100%);
    padding: 5rem 2rem;
}

.calc-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calc-text .section-heading {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.calc-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.calc-steps {
    margin-bottom: 2rem;
}

.calc-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-num {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 0.9rem;
    color: #00BFA5;
    background: rgba(0, 191, 165, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.step-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.calc-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc-ring-container {
    text-align: center;
}

.calc-ring {
    width: 240px;
    height: 240px;
    display: block;
    margin: 0 auto 1.5rem;
}

.ring-scope1 {
    stroke-dasharray: 0 502.65;
    transition: stroke-dasharray 1.2s ease-out;
}

.ring-scope1.animated {
    stroke-dasharray: 175.93 502.65;
}

.ring-scope2 {
    stroke-dasharray: 0 402.12;
    transition: stroke-dasharray 1.2s ease-out 0.2s;
}

.ring-scope2.animated {
    stroke-dasharray: 120.64 402.12;
}

.ring-scope3 {
    stroke-dasharray: 0 301.59;
    transition: stroke-dasharray 1.2s ease-out 0.4s;
}

.ring-scope3.animated {
    stroke-dasharray: 211.11 301.59;
}

.ring-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.scope1 {
    background: #2196F3;
}

.legend-dot.scope2 {
    background: #00BFA5;
}

.legend-dot.scope3 {
    background: #F5A623;
}

/* ========================
   Testimonial
   ======================== */
.testimonial {
    padding: 5rem 2rem;
    background: #FFFFFF;
}

.testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #1A1A2E;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #00BFA5);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1A1A2E;
}

.author-role {
    display: block;
    font-size: 0.8rem;
    color: #64748B;
}

/* ========================
   CTA Banner
   ======================== */
.cta-banner {
    background: linear-gradient(135deg, #0B1628 0%, #1E3A5F 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-banner-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.cta-banner-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   Footer
   ======================== */
.footer {
    background: #FFFFFF;
    padding: 0;
    border-top: 1px solid #E2E8F0;
}

.footer-top {
    max-width: 1080px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #1A1A2E;
    display: block;
    margin-bottom: 0.75rem;
}

.logo-dot {
    color: #00BFA5;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.6;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fc-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1A1A2E;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-link {
    display: block;
    font-size: 0.85rem;
    color: #64748B;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.fc-link:hover {
    color: #2196F3;
}

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid #E2E8F0;
}

.footer-copy {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* ========================
   Fade-in Scroll Animation
   ======================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   Counter roll animation
   ======================== */
@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cred-num.counted {
    animation: counterPulse 0.4s ease;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
        min-height: 440px;
    }

    .metrics-bar {
        gap: 2rem;
    }

    .calc-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .calc-visual {
        order: -1;
    }

    .calc-text .section-heading {
        text-align: center;
    }

    .calc-desc {
        text-align: center;
    }

    .calc-steps {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .calc-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .feature-row {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .cta-banner-actions {
        flex-direction: column;
        align-items: center;
    }
}
