/* ================================================================ */
/* Copious IT — Homepage styles                                     */
/* This block is unique to index.html (self-contained). It is kept   */
/* inline because several values here differ from the shared         */
/* stylesheets (e.g. teal #14b8a6 card glows vs brand cyan) and are  */
/* tuned to this page only.                                          */
/*                                                                   */
/* CHEAT SHEET — homepage colors                                    */
/*   --ink       #020617   page background (near-black navy)        */
/*   --ink-2     #0f172a   deeper panel                             */
/*   --text      #cbd5e1   body text (silver-slate)                 */
/*   --brand     #00b7e3   brand cyan                               */
/*   --brand-2   #1abbe6   lighter cyan (links/contact bar)         */
/*   --teal      rgba(20,184,166,…)  card hover/glow accent         */
/*   --grid      #00b7e3   hero grid lines                          */
/*   --panel     rgba(51,65,85,.5)  borders/hairlines               */
/*   FONTS       'Inter' (Google Fonts), fallback sans-serif        */
/* ================================================================ */

/* ------------------------------------------------------------------ */
/* BASE — box-sizing, smooth scroll, Inter font on ink background    */
/* ------------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #020617;           /* --ink   */
    color: #cbd5e1;                /* --text  */
    overflow-x: hidden;
}

/* ------------------------------------------------------------------ */
/* HERO — animated multi-stop gradient background                    */
/* ------------------------------------------------------------------ */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.hero-gradient {
    background: linear-gradient(-45deg, #020617, #0f172a, #002040, #001525, #0f172a, #020617);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

/* ------------------------------------------------------------------ */
/* HERO GRID — 3D perspective grid overlay with scrolling animation  */
/* ------------------------------------------------------------------ */
.hero-grid {
    background-image:
        linear-gradient(to right, #00b7e3 1px, transparent 1px),
        linear-gradient(to bottom, #00b7e3 2px, transparent 2px);
    background-size: 40px 40px;
    transform: perspective(800px) rotateX(45deg);
    transform-origin: bottom center;
    animation: move-grid 10s linear infinite;
    opacity: 0.8;
    will-change: background-position;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    mask-image:
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 35%, rgba(0,0,0,1) 100%),
        radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0) 85%);
    -webkit-mask-image:
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 35%, rgba(0,0,0,1) 100%),
        radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0) 85%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
}
@keyframes move-grid {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 80px 80px, 80px 80px; }
}

/* ------------------------------------------------------------------ */
/* FLOATING ORBS — soft blurred shapes drifting in the hero          */
/* ------------------------------------------------------------------ */
@keyframes float1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(30px,-50px) scale(1.1); }
    66%     { transform: translate(-20px,20px) scale(0.9); }
}
@keyframes float2 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(-40px,30px) scale(1.05); }
    66%     { transform: translate(25px,-40px) scale(0.95); }
}
.orb-1 { animation: float1 15s ease-in-out infinite; }
.orb-2 { animation: float2 18s ease-in-out infinite; }
.orb-3 { animation: float1 22s ease-in-out infinite reverse; }

/* ------------------------------------------------------------------ */
/* BUTTON SHINE — swept light sheen on hover                         */
/* ------------------------------------------------------------------ */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-shine:hover::after {
    transform: rotate(30deg) translateX(100%);
}

/* ------------------------------------------------------------------ */
/* SCROLL-REVEAL — fade/slide elements in on scroll (.visible by JS) */
/* ------------------------------------------------------------------ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------ */
/* SECTION DIVIDER — cyan gradient hairline between sections         */
/* ------------------------------------------------------------------ */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #00b7e3, transparent);
    margin: 0 auto;
    max-width: 80%;
}

/* ------------------------------------------------------------------ */
/* CARD HOVER — lift + teal glow (homepage accent)                   */
/* ------------------------------------------------------------------ */
.card-hover {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    border-color: rgba(20,184,166,0.3);
    box-shadow: 0 20px 60px -15px rgba(20,184,166,0.15);
}

/* ------------------------------------------------------------------ */
/* PRICING FEATURED CARD — highlighted plan glow (teal)              */
/* ------------------------------------------------------------------ */
.pricing-featured {
    border-color: rgba(20,184,166,0.5) !important;
    box-shadow: 0 0 40px -10px rgba(20,184,166,0.3), inset 0 1px 0 rgba(20,184,166,0.2);
}

/* ------------------------------------------------------------------ */
/* NAV / MOBILE MENU / CONTACT MODAL                                  */
/* ------------------------------------------------------------------ */
.nav-glass {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #020617 !important;    /* --ink */
}
.mobile-menu.open {
    transform: translateX(0);
}
.contact-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-modal {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ------------------------------------------------------------------ */
/* TESTIMONIAL QUOTE MARK — oversized decorative quotation glyph     */
/* ------------------------------------------------------------------ */
.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: rgba(20,184,166,0.15);          /* teal */
    font-family: Georgia, serif;
    position: absolute;
    top: -10px; left: 20px;
}

/* ------------------------------------------------------------------ */
/* CONTACT BANNER — fixed bottom bar with email/phone CTA            */
/* ------------------------------------------------------------------ */
#contact-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 80;
    background: linear-gradient(to right, #020617, #0f172a);
    border-top: 1px solid rgba(51,65,85,0.5);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
}
#contact-banner img {
    width: 20px; height: 20px;
    opacity: 0.7;
}
#contact-banner a {
    color: #1abbe6;                         /* --brand-2 */
    text-decoration: none;
    transition: color 0.3s;
}
#contact-banner a:hover {
    color: #00b7e3;                         /* --brand */
}
