/* gabs.report - Corporate Gradient SaaS Annual Report */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1A1A2E;
    background: #FFFFFF;
    overflow-x: hidden;
}

.section {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.section-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #1A1A2E;
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #1A1A2E;
    margin-bottom: 1rem;
}

/* ========== COVER PAGE ========== */

.cover {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    animation: fadeInCover 600ms ease forwards;
}

@keyframes fadeInCover {
    to { opacity: 1; }
}

.floating-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 30%;
    animation: drift1 20s ease-in-out infinite;
    opacity: 0;
    animation: drift1 20s ease-in-out infinite, fadeInCircle 800ms ease 200ms forwards;
}

.circle-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 45%;
    animation: drift2 25s ease-in-out infinite;
    opacity: 0;
    animation: drift2 25s ease-in-out infinite, fadeInCircle 800ms ease 400ms forwards;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 55%;
    animation: drift3 15s ease-in-out infinite;
    opacity: 0;
    animation: drift3 15s ease-in-out infinite, fadeInCircle 800ms ease 600ms forwards;
}

@keyframes fadeInCircle {
    to { opacity: 1; }
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(-15px, -40px); }
    75% { transform: translate(20px, -10px); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-25px, -30px); }
    50% { transform: translate(20px, -15px); }
    75% { transform: translate(-10px, -45px); }
}

@keyframes drift3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, -25px); }
    50% { transform: translate(-20px, -10px); }
    75% { transform: translate(25px, -35px); }
}

.cover-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.cover-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 8rem);
    color: #FFFFFF;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: scale(1.1);
    animation: fadeInTitle 400ms ease 400ms forwards;
}

@keyframes fadeInTitle {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cover-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeInUp 400ms ease 700ms forwards;
}

.cover-divider {
    width: 30vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 2rem auto;
    transform: scaleX(0);
    animation: drawLine 400ms ease 1000ms forwards;
}

@keyframes drawLine {
    to { transform: scaleX(1); }
}

.cover-year {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: fadeInUp 400ms ease 1300ms forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== EXECUTIVE SUMMARY ========== */

.executive-summary {
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.summary-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
}

.summary-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.summary-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.summary-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-box {
    padding: 24px;
    border-left: 3px solid #667EEA;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.metric-box.visible {
    opacity: 1;
    transform: translateX(0);
}

.metric-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #667EEA;
    line-height: 1.1;
}

.metric-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

/* ========== DATA SECTION ========== */

.data-section {
    background: #F5F7FF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.data-container {
    max-width: 900px;
    width: 100%;
}

.chart-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.chart-wrapper {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
}

#area-chart {
    width: 100%;
    height: auto;
}

.grid-lines line {
    stroke: #E0E4F0;
    stroke-width: 1;
}

.axis-labels text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    fill: #6B7280;
}

.chart-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1.5s ease;
}

.chart-line.animate {
    stroke-dashoffset: 0;
}

.chart-area {
    transition: opacity 1s ease 0.5s;
}

.chart-area.animate {
    opacity: 1;
}

/* ========== FINDINGS GRID ========== */

.findings {
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.findings-container {
    max-width: 1000px;
    width: 100%;
}

.findings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.finding-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.finding-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.finding-number-bg {
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 6rem;
    color: rgba(102, 126, 234, 0.15);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.finding-content {
    position: relative;
    z-index: 1;
}

.finding-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #667EEA;
    display: block;
    margin-bottom: 0.75rem;
}

.finding-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1A1A2E;
    margin-bottom: 0.75rem;
}

.finding-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6B7280;
}

/* ========== APPENDIX FOOTER ========== */

.appendix {
    background: #1A1A2E;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appendix-content {
    text-align: center;
}

.appendix-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.appendix-edition {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .summary-container {
        grid-template-columns: 1fr;
    }

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