/* ── Variables ── */
:root {
    --accent: #07B3F9;
    --dark: #111111;
    --text: #444444;
    --text-light: #8a8d94;
    --white: #ffffff;
    --font-display: 'Raleway', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-serif: 'Merriweather', serif;
    --font-mono: 'Montserrat', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    overflow-x: hidden;
}

/* ── Loader ── */
.ip-header {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ip-header.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ip-logo img { max-width: 220px; }

.ip-loader svg { animation: rotate 1.4s linear infinite; }

.ip-loader-circlebg {
    fill: none;
    stroke: #2a2a2a;
    stroke-width: 6;
}

.ip-loader-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-dasharray: 180;
    stroke-dashoffset: 120;
    stroke-linecap: round;
}

@keyframes rotate { to { transform: rotate(360deg); } }

/* ── Navigation ── */
#header {
    background: transparent;
    padding: 1.2rem 0;
    transition: background 0.4s ease, padding 0.4s ease;
}

#header.scrolled {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(7,179,249,0.15);
}

#header .navbar-brand img { height: 40px; transition: height 0.3s; }
#header.scrolled .navbar-brand img { height: 30px; }

.logo-mini { display: none; }

#header .nav-link {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s, color 0.3s;
    margin: 0 0.75rem;
}

#header .nav-link:hover {
    color: var(--white);
    border-bottom-color: var(--accent);
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.3rem 0.6rem;
}

.navbar-toggler i { color: var(--white); font-size: 1.2rem; }

/* ── Hero Slider ── */
#home-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide { height: 100vh; }

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.logointro img {
    max-width: 260px;
    margin-bottom: 2rem;
    animation: fadeUp 1s ease 0.5s both;
}

.text-swiper {
    overflow: hidden;
    width: 100%;
}

.text-swiper .swiper-slide { height: auto; }

.slide-content h2 {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: clamp(2rem, 6vw, 4.5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: fadeUp 1s ease 0.8s both;
}

.slide-content p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--white);
    margin-top: 1.5rem;
    animation: fadeUp 1s ease 1s both;
}

.slide-sep {
    width: 70px;
    height: 3px;
    background: var(--accent);
    margin: 1.5rem auto 0;
    animation: fadeUp 1s ease 1.1s both;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active { background: var(--accent); }

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

/* ── About ── */
#about {
    padding: 6rem 0;
    background: var(--white);
}

.presentation {
    margin-bottom: 4rem;
}

.presentation span {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 2.2;
    color: var(--text);
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1.5rem;
    display: block;
}

.presentation strong {
    color: var(--accent);
    font-weight: 400;
}

/* ── Feature Cards ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0;
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* ── Footer ── */
#footer {
    background: var(--white);
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid #e1e1e1;
}

#footer .scrollup {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
}

#footer .scrollup:hover { color: var(--accent); }

#footer .social-title2 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

#footer .social-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

#footer .social-title strong { color: var(--text); font-weight: 700; }

.footer-credit {
    font-size: 0.65rem;
    color: var(--text-light);
    margin: 0.2rem 0;
}

.footer-credit a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover { color: var(--accent); }