/* style.css */

/* 1. CSS Variables */
:root {
  /* Tetradic Color Scheme */
  --color-primary: #0DCAF0; /* Vibrant Cyan */
  --color-secondary: #ff4757; /* Strong Red/Pink */
  --color-accent1: #20c997;  /* Teal/Green */
  --color-accent2: #6f42c1;  /* Rich Purple */

  /* Dark Theme */
  --bg-dark: #0a0a14;
  --bg-dark-secondary: #1a1a2e;
  --bg-light: #f8f9fa; /* Bootstrap light grey */

  /* Text Colors */
  --text-light: #f0f0f0;
  --text-muted: #a0a0b0;
  --text-dark: #212529;

  /* Fonts */
  --font-header: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  /* UI Elements */
  --border-radius: 0.5rem;
  --transition-speed: 0.3s;
}

/* 2. Global Styles */
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3 {
  font-family: var(--font-header);
  font-weight: 800;
  letter-spacing: -1px;
}

/* Adaptive Typography */
h1, .display-1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

h2, .section-title, .section-title-light {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-title-light {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-muted);
}

section {
  padding: 6rem 0;
  overflow: hidden;
}

.bg-darker {
    background-color: #05050a;
}

/* 3. Utility Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* For pages like privacy.html, terms.html */
.static-page-content {
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: white;
    color: var(--text-dark);
}

.static-page-content h1, .static-page-content h2 {
    color: var(--text-dark);
}
.static-page-content p {
    color: #555;
}


/* 4. Header & Navigation */
.navbar {
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-speed) ease;
}

.navbar.scrolled {
  background: var(--bg-dark);
}

.navbar-brand.futuristic-logo {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--color-primary);
  text-shadow: 0 0 5px var(--color-primary);
  transition: text-shadow var(--transition-speed);
}

.navbar-brand.futuristic-logo:hover {
    text-shadow: 0 0 15px var(--color-primary);
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-speed), text-shadow var(--transition-speed);
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  text-shadow: 0 0 8px var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}


/* 5. Buttons */
.btn {
    font-family: var(--font-header);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    border-width: 2px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.futuristic-btn {
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent2));
    border: none;
    color: white;
}

.futuristic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--color-primary);
    color: white;
}

.futuristic-btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.futuristic-btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--color-primary);
    transform: translateY(-2px);
}

/* 6. Hero Section */
#hero {
  min-height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
    background-attachment: fixed;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.8), rgba(10, 10, 20, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}
.hero-content p {
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* 7. Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.futuristic-card {
    background-color: var(--bg-dark-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.futuristic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(13, 202, 240, 0.3);
}

.card .card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.futuristic-card:hover img {
    transform: scale(1.05);
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.card-title {
    color: var(--color-primary);
    font-weight: 700;
}

/* Team Card Specifics */
.futuristic-card-team {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    align-items: center; /* Center content horizontally */
}

.futuristic-card-team .card-image {
    width: 150px;
    height: 150px;
    margin-top: 1.5rem;
}

.futuristic-card-team img {
    border: 4px solid var(--color-primary);
    padding: 5px;
    background-color: var(--bg-dark-secondary);
}

.futuristic-card-team h4 {
    color: var(--text-light);
}

/* 8. Pricing Section */
.futuristic-list .list-group-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 1.5rem 1rem;
}

.futuristic-list .list-group-item h5 {
    color: var(--text-light);
    font-weight: 600;
}

.futuristic-list .list-group-item small {
    color: var(--text-muted);
}

.futuristic-badge {
    background-color: var(--color-accent2) !important;
    font-size: 1rem;
    padding: 0.5em 1em;
}

/* 9. Contact Form */
.futuristic-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.futuristic-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.5);
    color: var(--text-light);
}

.futuristic-form .form-control::placeholder {
    color: var(--text-muted);
}

.futuristic-form .form-floating > label {
    color: var(--text-muted);
}

/* 10. Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-link:hover {
    color: var(--color-primary);
}

/* 11. Modal */
.futuristic-modal .modal-content {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    color: var(--text-light);
}

.futuristic-modal .modal-header {
    border-bottom: 1px solid rgba(13, 202, 240, 0.3);
}

.futuristic-modal .modal-header .modal-title {
    color: var(--color-primary);
}

.futuristic-modal .modal-body p {
    color: var(--text-muted);
}

/* 12. Success Page */
.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 2rem;
}

.success-content h1 {
    color: var(--color-primary);
}

/* 13. Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    #hero {
        background-attachment: scroll; /* Disable parallax on mobile for performance */
    }

    h1, .display-1 {
        font-size: 2.2rem;
    }
    
    h2, .section-title, .section-title-light {
        font-size: 1.8rem;
    }
}