/* --- RESET + NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height:1.5; background:#181e27; color:#e2eaf1; min-height:100vh; }
ol, ul { list-style:none; }
a { background:transparent; color:inherit; text-decoration:none; }
a:focus { outline:2px solid #f4a261; outline-offset:2px; }
img { max-width:100%; display:block; }
table { border-collapse:collapse; border-spacing:0; }
*, *:before, *:after { box-sizing:border-box; }

/* --- BRAND VARIABLES --- */
:root {
  --primary:#264653;
  --secondary:#2a9d8f;
  --accent:#f4a261;
  --background:#181e27;
  --surface:#212939;
  --surface-light:#233449;
  --on-surface:#e2eaf1;
  --on-surface-dark:#191f24;
  --neon-cyan:#2ec7c9;
  --neon-orange:#ffb677;
  --neon-blue:#42a5f5;
  --radius-lg:18px;
  --radius:10px;
  --radius-xs:6px;
  --shadow:0 6px 32px 0 rgba(44,51,66,.11),0 2px 4px 0 rgba(44,51,66,.07);
  --shadow-hover: 0 10px 38px 0 rgba(44,51,66,.18),0 3px 8px 0 rgba(44,51,66,.14);
  --font-display:'Montserrat', Arial, Helvetica, sans-serif;
  --font-body:'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- BASE TYPOGRAPHY --- */
body {
  font-family: var(--font-body);
  font-size:16px;
  background:var(--background);
  color:var(--on-surface);
}

h1, .hero h1 {
  font-family:var(--font-display);
  font-weight:800;
  font-size:2.5rem;
  color:#fff;
  letter-spacing:0.01em;
  margin-bottom:18px;
}
h2 {
  font-family:var(--font-display);
  font-weight:700;
  font-size:2rem;
  color:var(--neon-cyan);
  margin-bottom:24px;
}
h3 {
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.3rem;
  color:var(--accent);
  margin-bottom:12px;
}
p, ul, li, table, .blog-meta, .testimonial-name {
  font-size:1rem;
  margin-bottom:10px;
  color:var(--on-surface);
}

strong { color:var(--secondary); font-weight:700; }

/* --- LAYOUT CONTAINERS --- */
.container {
  width:100%;
  max-width:1250px;
  margin:0 auto;
  padding:0 18px;
}
.content-wrapper {
  width:100%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.section {
  margin-bottom:60px;
  padding:40px 20px;
  background: var(--surface-light);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
@media(max-width:768px) {
  .section { padding:30px 10px; margin-bottom:36px; }
}

/* --- NAVIGATION --- */
header {
  background: var(--surface);
  box-shadow: 0 1px 20px 0 rgba(34,57,72,0.13);
  position:relative;
  z-index: 30;
}
.main-nav {
  width:100%;
  display:flex;
  align-items:center;
  gap:22px;
  justify-content:flex-start;
  padding:18px 0 18px 0;
}
.main-nav > a {
  font-family:var(--font-display);
  font-weight:600;
  font-size:1rem;
  padding:8px 18px;
  color:#e2eaf1;
  border-radius:var(--radius-xs);
  transition:background .28s, color .16s;
  position:relative;
}
.main-nav > a:hover:not(.cta-btn),
.main-nav > a:focus:not(.cta-btn){
  background:var(--neon-cyan);
  color:#181e27;
}
.main-nav img {
  height:36px; width:auto;
  margin-right:6px;
  background:none;
  vertical-align:middle;
}
.cta-btn {
  background:linear-gradient(92deg, var(--neon-orange),var(--accent) 90%);
  color:var(--on-surface-dark);
  border:none;
  font-family:var(--font-display);
  font-size:1.1rem;
  font-weight:700;
  padding:10px 22px;
  border-radius:var(--radius);
  cursor:pointer;
  box-shadow: 0 3px 14px 0 rgba(244,162,97,.07);
  transition:background .2s,transform .14s,box-shadow .2s;
  margin-left:14px;
  outline:none;
  letter-spacing:0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background:linear-gradient(100deg, var(--neon-cyan),var(--accent) 90%);
  color:#181e27;
  transform:translateY(-1px) scale(1.03);
  box-shadow:var(--shadow-hover);
}
@media (max-width: 1024px) {
  .main-nav { gap:10px; }
  .main-nav > a { padding:7px 10px; font-size: 0.97rem; }
  .cta-btn { margin-left:8px; padding:8px 13px; font-size:1rem; }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display:none;
  background:none;
  color:#f4a261;
  font-size:2.1rem;
  border:none;
  cursor:pointer;
  padding:8px 15px 8px 10px;
  margin-left:auto;
  z-index:88;
}
@media(max-width:1024px) {
  .main-nav { display:none; }
  .mobile-menu-toggle { display:block; }
}
.mobile-menu {
  position:fixed;
  top:0; right:0;
  width:100vw; height:100vh;
  background:rgba(26,30,39,.96);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  z-index:120;
  transition: transform .33s cubic-bezier(.87,.05,.48,1.1), opacity .2s;
  transform:translateX(100vw); opacity:0; pointer-events:none;
  box-shadow:0 0 64px 0 rgba(34,57,72,0.37);
}
.mobile-menu.open {
  transform:translateX(0); opacity:1; pointer-events:auto;
}
.mobile-menu-close {
  align-self:flex-end;
  font-size:2.1rem;
  background:none;
  border:none;
  color:var(--accent);
  margin:24px 25px 10px 0;
  cursor:pointer;
  padding:8px 8px 8px 8px;
  border-radius:var(--radius-lg);
  transition:background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background:rgba(65,182,237,0.08);
  color:var(--neon-orange);
}
.mobile-nav {
  width:100%;
  display:flex;
  flex-direction:column;
  gap:20px;
  margin:38px 0 0 38px;
}
.mobile-nav a {
  font-size:1.25rem;
  font-family:var(--font-display);
  font-weight:600;
  color:#fff;
  padding:14px 12px 14px 0;
  border-radius:var(--radius-xs);
  transition:background .19s, color .14s;
  min-width:180px;
  margin-right:12px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background:rgba(244,162,97,.11);
  color:var(--neon-orange);
}

/* --- HERO (FOR index, about, services, etc.) --- */
.hero {
  width:100%;
  background:linear-gradient(110deg,#233449 60%, #162039 100%);
  border-bottom:2px solid var(--neon-cyan);
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:48px;
  box-shadow:var(--shadow);
  position:relative;
  z-index:2;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  padding:44px 0 24px 0;
  gap:15px;
}
.hero p {
  font-size:1.18rem;
  color:var(--on-surface);
  margin-bottom:18px;
}

@media(max-width:768px) {
  .hero{ min-height:140px; margin-bottom:24px; }
  .hero .content-wrapper{ padding:25px 0 10px 0; }
  .hero h1{font-size:1.4rem;}
  .hero p{font-size:1rem;}
}

/* --- FEATURE CARDS --- */
.features-grid {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:20px;
  justify-content:space-between;
}
.feature-card {
  background:linear-gradient(102deg, var(--surface-light), var(--surface) 98%);
  border-radius:var(--radius);
  flex:1 1 270px;
  min-width:230px;
  margin-bottom:20px;
  padding:30px 28px 32px 28px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(44,157,143,.12);
  position:relative;
  transition:box-shadow .23s, transform .19s;
}
.feature-card img { height:48px; width:48px; margin-bottom:5px; filter: drop-shadow(0 0 7px var(--neon-cyan)); }
.feature-card:hover, .feature-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform:translateY(-3px) scale(1.03);
  border:1px solid var(--neon-cyan);
}

@media(max-width:900px) {
  .features-grid { flex-direction:column; gap:18px; }
  .feature-card { flex:1 1 100%; }
}

/* --- SERVICE CARDS --- */
.services-cards {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:20px;
  justify-content:space-between;
}
.service-card {
  background:linear-gradient(101deg, #24344f, #222931 100%);
  border: 1.5px solid rgba(244,162,97,0.07);
  padding:28px 24px 18px 24px;
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  flex:1 1 290px;
  min-width:240px;
  margin-bottom:20px;
  min-height:210px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
  position:relative;
  transition:box-shadow .22s, border .22s, transform .15s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow:var(--shadow-hover);
  border:1.5px solid var(--accent);
  transform:scale(1.02);
}
.service-card h3 { color:var(--neon-blue); }
.service-price { color:var(--neon-orange); font-size:1.09rem; font-weight:bold; margin-top:14px; font-family:var(--font-display);}

@media(max-width:900px) {
  .services-cards{ flex-direction:column; gap:16px; }
  .service-card{ flex:1 1 100%; min-width:0; }
}

/* --- TESTIMONIALS --- */
.testimonials-list {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:10px;
  align-items:stretch;
  justify-content:space-between;
}
.testimonial-card {
  background:#fff;
  color:#181e27;
  border-radius:var(--radius-lg);
  box-shadow:0 2px 14px 0 rgba(35,52,73,.09);
  padding:32px 28px 25px 32px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  min-width:260px;
  flex:1 1 305px;
  margin-bottom:20px;
  position:relative;
  border:1.5px solid var(--neon-orange);
  transition:box-shadow .23s, transform .19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow:0 8px 24px 0 rgba(35,52,73,.17);
  border:1.5px solid var(--neon-cyan);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-card p {
  color:#181e27;
  font-size:1.05rem;
  font-style:italic;
  font-weight:500;
}
.testimonial-name {
  color:var(--secondary);
  font-size:1.01rem;
  font-weight:700;
}
@media(max-width:900px) {
  .testimonials-list{ flex-direction:column; gap:16px; }
  .testimonial-card{ flex:1 1 100%; }
}

/* --- BLOG PREVIEW --- */
.blog-preview {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:10px;
  justify-content:space-between;
}
.blog-post {
  background:linear-gradient(103deg,#182546 0%, #233449 100%);
  padding:24px 22px 18px 22px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  min-width:225px;
  flex:1 1 300px;
  margin-bottom:20px;
  display:flex;
  flex-direction:column;
  gap:13px;
  border:1.5px solid rgba(66,165,245,0.07);
  transition:box-shadow .18s, border .15s, transform .13s;
}
.blog-post h3 { color:var(--accent); }
.blog-post a {
  color:#42a5f5;
  font-weight:500;
  border-bottom:1.5px solid #42a5f5;
  transition:color .18s, border-bottom .18s;
}
.blog-post a:hover { color:var(--neon-cyan); border-bottom:1.5px solid var(--neon-cyan); }
.blog-post .blog-meta {
  color:var(--neon-cyan);
  font-size:0.97rem;
  font-weight:600;
}
.blog-post:hover, .blog-post:focus-within {
  box-shadow:var(--shadow-hover);
  border:1.5px solid var(--neon-blue);
  transform:scale(1.015);
}
@media(max-width:900px) {
  .blog-preview{ flex-direction:column; gap:12px; }
  .blog-post{ flex:1 1 100%; min-width:0; }
}

/* --- TABLES (Pricing etc.) --- */
.pricing-table,
.pricing-table th, .pricing-table td {
  color:var(--on-surface);
  background:none;
  font-size:1rem;
  border:none;
}
.pricing-table {
  width:100%;
  margin-bottom:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.pricing-table th {
  font-family:var(--font-display);
  color:var(--accent);
  background:var(--surface);
  font-weight:500;
  font-size:1.07rem;
  padding:15px 12px;
  letter-spacing:0.01em;
}
.pricing-table td {
  padding:15px 14px;
  background:var(--surface-light);
  font-weight:400;
  color:var(--on-surface);
  border-bottom:1px solid rgba(44,157,143,0.09);
}
.pricing-table tr:last-child td { border-bottom:none; }
@media(max-width:700px){
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table tr, .pricing-table th, .pricing-table td {
    display:block;
    width:100%;
  }
  .pricing-table th { padding:12px 8px; }
  .pricing-table td { padding:12px 10px; }
}

/* --- GENERIC CARDS (FALLBACK) --- */
.card-container {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.card {
  margin-bottom:20px;
  position:relative;
  background:var(--surface-light);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:26px 22px;
  transition:box-shadow .18s, transform .13s;
}
.card:hover, .card:focus-within {
  box-shadow:var(--shadow-hover);
  transform:scale(1.01);
}

.content-grid {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:space-between;
}
.text-image-section {
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
@media(max-width:768px) {
  .text-image-section { flex-direction:column; align-items:flex-start; gap:18px; }
}
.feature-item {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:15px;
}

/* --- TYPOGRAPHY/GENERAL UI --- */
.text-section {
  background:var(--surface);
  border-radius:var(--radius);
  padding:25px 18px 16px 18px;
  margin-bottom:12px;
  color:var(--on-surface);
  letter-spacing:.01em;
  box-shadow:var(--shadow);
}
ul li, .text-section li {
  padding-left:1.4em; position:relative; margin-bottom:7px;
}
ul li:before, .text-section li:before {
  content:"";
  display:inline-block;
  width:8px; height:8px;
  border-radius:50%;
  margin-right:8px;
  background:var(--accent);
  vertical-align:middle;
  position:absolute; left:0; top:8px;
}

/* --- CONTACT SECTION --- */
.contact-info {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:10px;
}
.contact-info p {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:0;
  color:var(--neon-cyan);
}
.contact-info img { height:19px; width:19px; filter:drop-shadow(0 0 6px var(--neon-cyan)); }

/* --- FOOTER --- */
footer {
  background:var(--surface);
  color:#e2eaf1;
  box-shadow:0 -2px 10px 0 rgba(44,51,66,0.12);
  padding-top:34px;
  padding-bottom:28px;
  margin-top:38px;
}
.footer-content {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:19px;
  width:100%;
}
.footer-content img { height:48px; width:auto; }
.brand-tagline {
  font-family:var(--font-display);
  color:var(--neon-blue);
  font-size:1.02rem;
  margin-bottom:4px;
  text-align:center;
}
.footer-nav {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  font-size:1rem;
  margin-bottom:8px;
}
.footer-nav a {
  color:var(--neon-cyan);
  border-bottom:1.2px solid transparent;
  transition:border-bottom .19s, color .19s;
}
.footer-nav a:hover { color:var(--accent); border-bottom:1.2px solid var(--accent); }
.footer-contact {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:var(--on-surface);
  font-size:0.99rem;
}
.footer-contact img{height:15px;width:15px;vertical-align:bottom;margin-right:6px;filter:drop-shadow(0 0 4px var(--neon-cyan));}

@media(max-width:768px){
  .footer-content{ padding:0; }
}

/* --- BUTTONS (global fallback) --- */
button, .btn {
  font-family:var(--font-display);
  font-size:1rem;
  padding:10px 22px;
  background:var(--accent);
  color:var(--on-surface-dark);
  border:none;
  border-radius:var(--radius);
  box-shadow:0 2px 9px 0 rgba(244,162,97,0.06);
  cursor:pointer;
  font-weight:700;
  transition:background .17s, color .13s, transform .12s;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background:var(--neon-cyan);
  color:#191f24;
  transform:translateY(-1px) scale(1.02);
  outline:2px solid var(--accent);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position:fixed;
  left:0; right:0;
  bottom:0;
  width:100%;
  z-index:240;
  background:#1a202b;
  color:#e2eaf1;
  box-shadow:0 -5px 25px 0 rgba(34,57,72,0.15);
  padding:24px 0 18px 0;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:24px;
  justify-content:center;
  font-family:var(--font-body);
  transition:transform .35s cubic-bezier(.9,.13,.37,1.1), opacity .22s;
  opacity:1; transform:translateY(0%);
}
.cookie-banner.hide {
  opacity:0; transform:translateY(100%);
  pointer-events:none;
}
.cookie-banner p {
  flex:1 1 400px;
  font-size:1rem;
  margin-right:18px;
}
.cookie-btn-group {
  display:flex;
  flex-direction:row;
  gap:14px;
}
.cookie-btn {
  font-family:var(--font-display);
  font-size:1rem;
  padding:7px 19px;
  border-radius:var(--radius-xs);
  border:none;
  cursor:pointer;
  background:var(--neon-cyan);
  color:#191f24;
  font-weight:700;
  margin-right:0;
  box-shadow:0 2px 8px 0 rgba(44,157,143,.09);
  transition:background .13s, color .13s;
}
.cookie-btn.settings {
  background:var(--accent);
  color:#191f24;
}
.cookie-btn.reject {
  background:var(--surface-light);
  color:#e2eaf1;
  border:1.1px solid #f4a261;
}
.cookie-btn:hover, .cookie-btn:focus { background:var(--neon-orange); color:#191f24; }

/* --- COOKIE MODAL --- */
.cookie-modal {
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  z-index:300;
  background:rgba(19,22,30,.75);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity .28s;
}
.cookie-modal.open { opacity:1; pointer-events:auto; }
.cookie-modal-content {
  background:#fff;
  color:#181e27;
  border-radius:var(--radius);
  padding:34px 24px 22px 24px;
  min-width:300px;
  box-shadow:0 10px 55px 0 rgba(35,52,73,.23);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  max-width:97vw;
}
.cookie-modal-content h2 {
  color:var(--accent);
  margin-bottom:7px;
  font-size:1.3rem;
}
.cookie-category {
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:14px;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color:var(--neon-cyan);
  width:19px; height:19px;
}
.cookie-category label {
  font-size:1rem; color:#181e27;
}
.cookie-category input[disabled] + label {
  opacity:.55;
  font-style:italic;
}
.cookie-modal-actions {
  display: flex;
  gap:15px;
  margin-top:12px;
}
.cookie-modal-close {
  background:var(--accent);
  color:#191f24;
  padding:6px 18px;
  border-radius:var(--radius-xs);
  border:none;
  cursor:pointer;
  font-size:1rem;
  box-shadow:0 2px 7px 0 rgba(35,52,73,.09);
  font-family:var(--font-display);
  transition:background .13s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background:var(--neon-orange); color:#181e27; }

@media(max-width:768px){
  .cookie-banner{ flex-direction:column; align-items:flex-start; gap:14px; padding:14px 7px 9px 9px; font-size:.94rem; }
  .cookie-banner p { margin-right:0; }
}

/* --- ANIMATION UTILS --- */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .feature-card, .service-card, .blog-post, .testimonial-card, button, .btn, .mobile-menu, .cookie-banner, .card, .pricing-table, .cookie-modal {
    transition:box-shadow .18s, transform .17s,background .16s,color .12s;
  }
}

/* --- RESPONSIVE --- */
@media (max-width:768px) {
  h1, .hero h1 { font-size:1.3rem; }
  h2 { font-size:1.1rem; }
  h3 { font-size:1rem; }
  .container{padding:0 7px;}
  .content-wrapper{gap:9px;}
  .features-grid, .services-cards, .testimonials-list, .blog-preview, .content-grid, .card-container { gap:14px; }
  .feature-card, .service-card, .testimonial-card, .blog-post, .card { padding:16px 7px; min-width:0; }
  .footer-content img { height:34px; }
}

/* --- FOCUS VISIBLE OUTLINES (for accessibility) --- */
a:focus, .cta-btn:focus, button:focus, .btn:focus, .mobile-menu-close:focus, .cookie-btn:focus, .cookie-modal-close:focus {
  outline:2.5px solid var(--neon-cyan);
  outline-offset:2px;
  z-index:16;
}

/* --- HIDE ELEMENTS FOR JS (UTILITY) --- */
.hidden { display:none!important; }

/* --- Z-INDEX LAYERING --- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index:auto; }

/* --- END OF FILE --- */
