/* =========================================
   INNAP BASE STYLES
   ========================================= */

@import 'variables.css';
@import 'header.css';
@import 'hero.css';
@import 'problems.css';
@import 'diagnostic.css';
@import 'impact-method.css';
@import 'final-sections.css';
@import 'scenarios.css';
@import 'neural-bg.css';
@import 'cookie-banner.css';

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: url('../Logos/InnAp_favicon.png'), auto;
}

img,
video,
iframe {
    max-width: 100%;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Responsive typography */
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
    cursor: url('../Logos/InnAp_favicon.png'), pointer;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

/* Allow neural-bg to show through in light sections */
.problems,
.method,
.faq,
.scenarios,
.solutions {
    background-color: transparent !important;
}

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

.text-primary {
    color: var(--primary);
}

.text-highlight {
    color: var(--highlight);
}

/* --- GRADIENT ICONS --- */
.gradient-icon {
    stroke: url(#innap-gradient) !important;
    stroke-width: 2px;
    width: 24px;
    height: 24px;
}

.problem-card .gradient-icon {
    width: 40px;
    height: 40px;
}

.solution-card .gradient-icon {
    width: 32px;
    height: 32px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(-45deg, var(--primary), var(--accent), var(--highlight), var(--primary));
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(27, 58, 107, 0.4);
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-premium);
}

/* Glass shine effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 25%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 120%;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    color: var(--primary);
    border: 1px solid rgba(27, 58, 107, 0.2);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: rgba(27, 58, 107, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- VISUALLY HIDDEN (Accessibility) --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}