:root {
    --twims-navy: #0e7490;
    --twims-navy-dark: #084e61;
    --twims-light: #f8fafc;
    --twims-dark: #1e293b;
    --twims-blue: #22d3ee;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--twims-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.hero h1, .hero h2,
.hero-title,
.section-title,
.features-container h2,
.features-container h3,
.monitoring-container h2,
.flow-container h2,
.report-container h2,
.footer-header h2,
.section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--twims-navy);
    margin: 0.5rem 0;
    line-height: 1.2;
}

.section-header h5 {
    font-weight: 100;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.footer-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: white;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.overline {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--twims-navy);
    font-size: 0.8rem;
    display: block;
}

.hero {
    background: linear-gradient(145deg, var(--twims-navy), var(--twims-navy-dark));
    color: var(--white);
    padding: 8rem 5% 6rem 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 5%;
    bottom: 0;
    transform: none;
    width: 50%;
    max-width: 60%;
    opacity: 0.35;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-mask-image: linear-gradient(to left, black 10%, transparent 100%);
    mask-image: linear-gradient(to left, black 20%, transparent 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin: 0;
}

.hero-subtitle {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--twims-light);
    color: var(--twims-navy);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 2.5rem;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px var(--twims-blue);
}

.features-container {
    padding: 6rem 5%;
    background-color: var(--twims-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--twims-navy);
    margin-bottom: 1.25rem;
}

.monitoring-container {
    padding: 6rem 5%;
    background: var(--white);
}

.monitoring-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.monitoring-visuals {
    background: var(--twims-light);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.status-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot-green  { background: #22c55e; }
.dot-green::after  { background: #22c55e; }
.dot-orange { background: #fda706; }
.dot-orange::after { background: #fda706; }
.dot-red    { background: #ef4444; }
.dot-red::after    { background: #ef4444; }

@keyframes pulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

.resource-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--twims-navy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.flow-container {
    padding: 6rem 5%;
    background-color: #fcfcfc;
}

.flow-timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-badge {
    width: 48px;
    height: 48px;
    background: var(--twims-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    z-index: 2;
    position: relative;
    outline: 8px solid #fcfcfc;
}

.report-container {
    padding: 6rem 5%;
    background: var(--twims-navy);
    color: var(--white);
}

.report-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary {
    background: var(--white);
    color: var(--twims-navy);
    padding: 0.5rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    align-content: center;
}

.btn-plain {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.5rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    align-content: center;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--twims-navy);
    box-shadow: 0 10px 20px var(--twims-blue);
    transition: all 0.3s ease;
    transform: translateY(-2px);
}

.btn-plain:hover {
    border-color: var(--twims-blue);
    box-shadow: 0 10px 20px var(--twims-blue);
    transition: all 0.3s ease;
    transform: translateY(-2px);
}

.footer {
    padding: 4rem 5%;
    text-align: center;
    background: var(--twims-light);
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 1024px) {
    .monitoring-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
    }

    .hero-content {
        display: grid;
        justify-items: center;
    }

    .hero-subtitle {
        margin: 1.5rem auto 0;
    }

    .flow-timeline {
        flex-direction: column;
        gap: 3rem;
    }

    .flow-timeline::before {
        content: '';
        position: absolute;
        left: 24px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e2e8f0;
    }

    .flow-step {
        display: flex;
        text-align: left;
        gap: 1.5rem;
    }

    .step-badge {
        margin: 0;
        flex-shrink: 0;
    }

    .report-wrapper {
        display: flex;
        align-items: center;
        max-width: 1200px;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

    .page-foot{
        margin-top:22px;
        text-align:center;
        font-size:11px;
        color:var(--muted);
        font-weight:500
    }