/* --- EXTERNAL FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* --- 1. GLOBAL VARIABLES & BASE STYLES --- */
:root {
  --primary-color: #2b12be;
  --accent-color: yellowgreen;
  --text-main: #333;
  --bg-light: #f4f1f1;
  --white: #ffffff;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- 2. LAYOUT: HEADER & NAVIGATION --- */
header {
  display: flex;             
  align-items: center;       
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(244, 241, 241, 0.1);
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

/* Decorative underline for header */
header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 60px;
  height: 3.5px;
  background-color: rgba(7, 2, 37, 0.939);
  display: block;
  z-index: 1001;
  border-radius: 15px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
} 

.logo-title img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.brand-name {
  font-family: "montserrat", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0.1px;
  margin: 0;
  background: linear-gradient(90deg, #2b12be, #bab9b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul.menu li a {
  position: relative;
  text-decoration: none;
  color: #200aca;
  font-weight: 600;
  padding: 5px 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Hover effect for Nav Links */
nav ul.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease-in-out;
}

nav ul.menu li a:hover::after {
  width: 100%;
}

/* Mobile Hamburger Icon */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  gap: 5px;
  padding: 10px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* --- 3. PAGE COMPONENTS & SECTIONS --- */
main {
  display: block;
  width: 100%;
}

section {
    padding: 80px 10%;
    background: var(--white);
}

/* Hero Section with Video */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px;
    box-sizing: border-box;
    background-image: url('./images/Cover3.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-video {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 30vw;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 2;
}

.upload-container {
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Status messages used by script.js */
.status-msg {
    margin-top: 10px;
    font-weight: bold;
}

.success-text {
    color: #228B22;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background-color: #f9f9f9;
}

/* Pricing Tables */
.pricing-table-container {
    overflow-x: auto;
    width: 100%;
}

.pricing table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: var(--white);
}

.pricing th, .pricing td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.pricing th {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- 4. CONTACT PAGE SPECIFIC STYLES --- */
.contact-container {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-light);
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 500px;
    gap: 15px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px auto;
}

.submit-btn {
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #1a0a8f;
}

/* Replacement for inline styles on contact page */
.privacy-disclaimer {
    font-size: 12px;
    color: gray;
    margin-top: 10px;
    text-align: center;
}

/* --- 5. FOOTER --- */
footer {
    background: #070225;
    color: var(--white);
    padding: 40px 10%;
    text-align: center;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- 6. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }
    
    .brand-name {
        font-size: 28px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Transform menu into mobile dropdown */
    nav ul.menu {
        display: none; /* JS will toggle this with 'active' class */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 0;
    }

    /* JS Toggle class */
    nav ul.menu.active {
        display: flex;
    }

    nav ul.menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .hero {
      min-height: 60vh;
      padding-top: 120px;
    }

    .hero-video {
        position: relative;
        width: 80%;
        bottom: 0;
        right: 0;
        margin: 20px auto 0;
    }

    /* Allow table to scroll on small screens */
    .pricing table {
        display: block;
        overflow-x: auto;
    }
}