/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
body {
    color-scheme: only light;       
    forced-color-adjust: none;      
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    /* DELETE THIS LINE SO YOUR HERO SECTION TOUCHES THE VERY TOP */
    /* padding-top: 55px; */ 
    
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* =========================================
   GLOBAL UTILITIES
   ========================================= */
.container {
    max-width: 1300px;
    margin: 0 auto; /* Centers the container */
    width: 100%;
    padding: 0 20px; /* Prevents text from touching edges on mobile */
    box-sizing: border-box;
}

/* * FIXED NAVIGATION BAR */
/*.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000;
}*/
/* 1. Default State: Completely transparent for the top of the page */


/* 1. AT THE TOP: Text is visible, but background is completely transparent */
.navbar {
    position: fixed !important; /* Forces it to lock to the viewport */
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 55px;

    background-color: transparent;  
    border-bottom: 1px solid transparent;
    box-shadow: none;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000 !important; /* Ensures it stays above all other content */

    transition: background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

/* 2. SCROLLED STATE: The white background, blur, and border turn on */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); 
    
    /* THE TRANSFORM RULES HAVE BEEN DELETED FROM HERE */
}

.desktop-logo {
    height: 30px; /* Size for desktop */
    width: auto;
    display: block;
}

/* 2. Hide the Mobile Logo on Desktop */
.mobile-logo {
    display: none; 
}

.nav-logo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #101010;
    text-decoration: none;
    text-transform: uppercase;
    
    /* THE FIX: This strictly targets the text and ignores the image */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    
    display: flex !important; 
    flex-direction: row !important; 
    align-items: center; 
    gap: 12px; 
}


.nav-links {
    display: flex;
    align-items: center;
}

/* Standard Nav Links */
.nav-links > a {
    text-decoration: none;
    font-family: 'Roboto Flex', sans-serif; 
    font-weight: 400;
    font-size: 1rem;
    color: #202020;
    margin-left: 30px;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: #2563eb;
}



/* =========================================
        DROP DOWN MENUS SECTION 
========================================= */

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 30px;
}

/* The button in the navbar */
.dropbtn {
    background-color: transparent;
    color: #202020;
    font-family: 'Roboto Flex', sans-serif; 
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    padding: 25px 0; /* Matches navbar height for a larger hover area */
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* The hidden menu container */
.dropdown-content {
    display: none;
    font-family: 'Roboto Flex', sans-serif; 
    font-weight: 400; /* Use 400 for a clean look, or 600 to match the top-level menu */
    position: absolute;
    top: 55px; /* Appears directly below the 70px navbar */
    right: -30px;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    min-width: max-content;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    z-index: 1001;
}

/* Individual links inside the dropdown */
.dropdown-content a {
    color: #4b5563;
    padding: 8px 15px;
    text-decoration: none;
    white-space: nowrap;
    display: block;
/*    border-bottom: 1px solid #f1f5f9;*/
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Hover effects for dropdown items */
.dropdown-content a:hover {
    background-color: #f4f4f8;
    color: #25638b;
}

/* Show the menu when hovering over the parent .dropdown div */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #25638b;
}

/* =========================================
        HEADER SECTION 
========================================= */

.header {
    font-family: 'Red Hat Display', sans-serif; /* Uses the thin font you imported */
    font-weight: 770;                   /* Keeps it light and elegant */
    color: #101010;
    text-align: center;
    font-size: 2.2rem;
    padding: 150px 20px;
    background-color: #f8fafc;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.header-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;                   
    font-size: 1.25rem;                 
    color: #5b5563;                     
    letter-spacing: 2px;                
    text-transform: uppercase;          
    
    /* THE FIX: Swapped the negative margin for a clean 10px drop */
    margin-top: 10px;  
    margin-bottom: 25px;                   
}

/* THE FIX: Strips away the browser's default hidden margins */
.header h1 {
    margin: 0;
    padding: 0;
}

/* Makes the second half of the brand name thinner */
.brand-light {
    font-weight: 600; 
}


/* =========================================
       FEATURE SECTION 
========================================= */

.feature-row {
    display: flex;
    width: 100%;
    min-height: 300px; /* Keeps it tall and uniform on wide screens */
    height: auto;      /* Forces the box to stretch downward if the text wraps */
}
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* 1. Set up the container to center its contents */
.feature-image {
    flex: 1;
    width: 50%;
    display: flex;             /* Turns the container into a flexbox */
    justify-content: center;   /* Centers the image on the X-axis (horizontally) */
    align-items: center;       /* Centers the image on the Y-axis (vertically) */
    padding: 20px;             /* Adds a buffer so the image never touches the screen edges */
    box-sizing: border-box;    /* Ensures the padding doesn't break the 50% width split */
}

/* 2. Tell the image to scale down, but never stretch up */
.feature-image img {
    max-width: 90%;           /* Shrinks the image if it's wider than the container */
    max-height: 330px;          /* Shrinks the image if it's taller than the container */

    /* 2. Force the logical box to respect your image's true aspect ratio */
    width: auto;
    height: auto;
    
    /* 3. Prevent squishing */
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);

    margin-top: var(--img-offset, 0px);
}

.feature-image:hover {
    transform: scale(1.005);
}

.text-wrapper h2 {
    margin-top: 0;
    font-family: 'DM Sans', sans-serif; /* Applies the new font */
    font-weight: 200;                   /* This makes the text thin and slim */
    font-size: 2rem;                 /* Makes it noticeably larger than the body text */
    color: #111827;
    line-height: 0.8;                   /* Keeps multi-line titles looking tight and neat */
    letter-spacing: 0px;                /* Adds a tiny bit of breathing room between the thin letters */
}

.feature-subtitle {
    font-family: 'Roboto Flex', sans-serif; 
    font-weight: 600;
    font-size: 0.9rem;
    color: #2563eb; 
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 15px; 
    text-shadow: 0px 0.75px 0.75px rgba(0, 0, 0, 0.25);
}

/* TEXT HALF */

.feature-content {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    padding: 4% 8%;
    box-sizing: border-box;   /* FIX: Keeps padding safely contained inside the 50% width */
}

/* Emphasizes specific words inside a paragraph */
.text-highlight {
    font-weight: 400;       /* Makes it bold */
    font-style: bold;
}

/* NEW: Custom styling for the feature description */
.feature-description {
    font-family: 'Red Hat Display', sans-serif; /* Keeps it highly legible */
    font-size: 1.2rem;         /* Perfect reading size for desktop */
    color: #475569;             /* A sophisticated slate-gray color */
    line-height: 1.55;           /* Adds lots of vertical breathing room between lines */
    margin-top: 15px;           /* Pushes it away from the title slightly */
    margin-bottom: 0;
    font-weight: 300;           /* Standard text weight */
    text-align: justify;
}

/* === DESKTOP SPACING FIX === */

/* 1. Standard Rows (Image Left, Text Right) */
.feature-row:not(.reverse) .feature-image {
    justify-content: center;
    padding-left: 2%;  /* OUTER EDGE */
    padding-right: 2%; /* INNER EDGE */
}
.feature-row:not(.reverse) .feature-content {
    padding-left: 2%;  /* INNER EDGE */
    padding-right: 4%; /* OUTER EDGE */
}

/* 2. Reverse Rows (Text Left, Image Right) */
.feature-row.reverse .feature-image {
    justify-content: center;
    padding-right: 2%; /* OUTER EDGE */
    padding-left: 2%;  /* INNER EDGE */
}
.feature-row.reverse .feature-content {
    padding-right: 2%; /* INNER EDGE */
    padding-left: 4%;  /* OUTER EDGE */
}
/* =========================================
   ABOUT US SECTION 
   ========================================= */
.about-section {
    background-color: #f0f2f4; 
    padding: 100px 5%; /* <--- CHANGE THIS LINE! */
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1100px; /* Keeps the content contained and readable */
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px; /* Generous space between the text and the image */
}

.about-text {
    flex: 1; /* Takes up half the container */
}

.about-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.8rem;
    color: #111827;
    margin-top: 0;
    margin-bottom: 25px;
}

.about-subtitle {
    font-family: 'Roboto Flex', sans-serif; /* Or 'DM Sans' if you prefer */
    font-weight: 600;
    font-size: 1rem;
    color: #2563eb; /* A bright brand color to make it pop */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 15px;
}

.about-description {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    flex: 1; /* Takes up the other half */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; /* Gives the photo modern, rounded corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* A beautiful, soft shadow to make the image float */
    display: block;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

/* =========================================
   FOOTER SECTION 
   ========================================= */
.footer {
    background-color: #111827; /* Deep, dark blue/gray */
    color: #f8fafc;
    padding: 80px 5% 40px 5%;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-logo {
    font-family: 'Red Hat Display', sans-serif; /* Matches your main header */
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-title {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af; /* A muted gray so it doesn't distract from the links */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-text {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-copyright {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    color: #9ca3af; 
    
    margin-top: 30px;
}

.footer-links a {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #d1d5db;
    text-decoration: none;
    display: block; /* Stacks the links vertically */
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #25638b; /* Bright blue on hover */
}

.support-email {
    font-weight: bold;
    color: #ffffff !important; /* Makes the email stand out */
}

/* =========================================
   LIGHTBOX EFFECT
   ========================================= */

/* 1. Make the standard feature images look clickable */
.feature-image img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
} 
.feature-image img:hover {
    transform: scale(1.02); /* Very subtle pop when hovered */
}

/* 2. The dark background overlay (Hidden by default) */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000; /* High number ensures it covers the navbar */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0.3, 0.3, 0.3, 0.75); /* Dark transparent background */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade in */
}

/* 3. The enlarged image inside the overlay */
.lightbox img {
    max-width: 90%;
    max-height: 90vh; /* Prevents it from being taller than the screen */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
    transform: scale(0.95); /* Starts slightly small for a pop-in effect */
    transition: transform 0.3s ease;
}

/* 4. The classes javascript will trigger to make it visible */
.lightbox.active {
    display: flex; /* Flexbox centers the image perfectly */
    opacity: 1;
    cursor: zoom-out;
}
.lightbox.active img {
    transform: scale(1);
}

/* =========================================
   NEW ROW GRADIENTS (Applied to the whole row) f8fff0
   ========================================= */

/* Row 1 & 3: Image is on the LEFT. Gradient starts faint on left, fades to white in the middle. */
.bg-fade-vdres {
    background: linear-gradient(to right, #ffffff 0%, #ffffff 60%);
}
.bg-fade-abrack {
    background: linear-gradient(to left, #f8f0e0 0%, #ffffff 60%);
}

/* Row 2 & 4: Image is on the RIGHT. Gradient starts faint on right, fades to white in the middle. */
.bg-fade-ui {
    background: linear-gradient(to right, #e8f8ff 0%, #ffffff 60%);
}
.bg-fade-control {
    background: linear-gradient(to left, #e0e0e8 0%, #ffffff 60%);
}

.bg-fade-lut {
    background: linear-gradient(to right, #f8f4ff 0%, #ffffff 60%);
}
.text-wrapper { max-width: 600px; }




/* =========================================
   INTERACTIVE UI IMAGE (MANUAL PAGE)
   ========================================= */
.ui-container {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 20px;
  /* border-radius removed from here */
  /* overflow: hidden removed from here */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ui-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Moved the rounded corners directly to the image! */
}
/* The invisible hover areas over your buttons */
.hotspot {
  position: absolute;
  cursor: help; 
  
  /* UNCOMMENT THE BORDER BELOW TO DEBUG AND ALIGN YOUR HOTSPOTS */
  /* border: 2px solid rgba(255, 0, 0, 0.8); background: rgba(255,0,0,0.2); */ 
}

/* The Explanatory Balloon (Tooltip) */
.tooltip {
  visibility: hidden;
  
      max-width: 300px; /* Adjust this number based on what looks best in your UI */
    
    /* 2. Tell the tooltip to only be exactly as wide as its content */
    width: max-content;
    
    /* 3. CRUCIAL: Allow the text to wrap to a new line if it hits the max-width */
    white-space: normal;

  /* --- 1. SHAPE & SIZE --- */
  white-space: normal;            /* This allows the text to wrap to multiple lines! */
  padding: 10px 14px;             /* Gives the text breathing room inside the box */
  
  /* --- 2. COLORS & STYLING --- */
  background-color: #1a1a1a;      /* The background color of the balloon */
  color: #f4f4f4;                 /* The text color */
  border: 1px solid #444444;      /* The stroke (border) thickness, style, and color */
  border-radius: 8px;             /* Rounded corners (higher number = more round) */
  
  /* --- 3. POSITIONING & FONTS (Do not change these) --- */
  text-align: center;
  position: absolute;
  z-index: 10;
  bottom: 115%; 
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Roboto', sans-serif; /* Applies the new font */
    font-weight: 200;                   /* This makes the text thin and slim */
    font-size: 0.95rem;                 /* Makes it noticeably larger than the body text */    

  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: left;

  /* THE FIX: Allow the mouse to interact with the balloon */
  pointer-events: auto; 
  
  /* THE FIX: Add a 0.2s delay before it fades out (the grace period) */
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.2s;
}

.tooltip b, 
.tooltip strong {
    font-weight: 600;
}

/* 1. Targets the standard state of the link inside the tooltip */
.tooltip a {
    color: #60a5fa; /* A bright, readable blue */
    text-decoration: none; /* Removes the default underline, or change to 'underline' if you prefer */
    font-weight: 400; /* Makes it slightly bolder to stand out */
    transition: color 0.2s ease; /* Smooth fade when hovered */
}

/* 2. Adds a hover effect when the user puts their mouse over the link */
.tooltip a:hover {
    color: #25638b; /* Changes to a slightly lighter blue when hovered */
    text-decoration: underline; /* Optional: adds an underline on hover */
}

/* The little arrow pointing down from the balloon */
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  
  /* IMPORTANT: Change the FIRST color here to match your background-color above! */
  border-color: #1a1a1a transparent transparent transparent; 
}

.tt-auto {
  color: #55FF55; /* Your brand blue */
/*  color: #AAFFBB; */
  font-weight: bold;
}


.tt-effect {
  color: #CCCCFF; /* Your brand blue */
  font-weight: bold;
}

.tt-manu {
  color: #FFDD55; /* Your brand blue */
  font-weight: bold;
}

.tt-lock {
  color: #FF6666; /* Your brand blue */
  font-weight: bold;
}

.tt-luts {
    /* 1. Create the rainbow gradient background */
    background: linear-gradient(to right, #ff3b30, #34c759, #007aff);
    
    /* 2. Clip the background strictly to the text characters */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 3. Make the actual text fill transparent so the gradient shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* Optional: A slightly heavier font weight helps gradients pop */
    font-weight: 600; 
    
    /* Optional: Prevents the text from wrapping, keeping the gradient unified */
    white-space: nowrap;
}


/* --- BOTTOM BALLOON --- */
.tooltip.tooltip-bottom {
  bottom: auto;
  top: 115%; 
  left: 50%;
  transform: translateX(-50%);
}
.tooltip.tooltip-bottom::after {
  top: auto;
  bottom: 100%;
  left: 50%;
  margin-left: -6px;
  border-color: transparent transparent #111827 transparent; /* Arrow points up */
}
.hotspot:hover .tooltip.tooltip-bottom {
  transform: translateX(-50%) translateY(5px); /* Animates downward */
}

/* --- RIGHT BALLOON --- */
.tooltip.tooltip-right {
  bottom: auto;
  top: 50%;
  left: 115%;
  transform: translateY(-50%);
}
.tooltip.tooltip-right::after {
  top: 50%;
  left: auto;
  right: 100%;
  margin-top: -6px;
  margin-left: 0;
  border-color: transparent #111827 transparent transparent; /* Arrow points left */
}
.hotspot:hover .tooltip.tooltip-right {
  transform: translateY(-50%) translateX(5px); /* Animates right */
}

/* --- LEFT BALLOON --- */
.tooltip.tooltip-left {
  bottom: auto;
  top: 50%;
  left: auto;
  right: 115%;
  transform: translateY(-50%);
}
.tooltip.tooltip-left::after {
  top: 50%;
  left: 100%;
  margin-top: -6px;
  margin-left: 0;
  border-color: transparent transparent transparent #111827; /* Arrow points right */
}
.hotspot:hover .tooltip.tooltip-left {
  transform: translateY(-50%) translateX(-5px); /* Animates left */
}


/* Show the tooltip when hovering */
.hotspot:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px); 
}

.hotspot {
  position: absolute;
  cursor: help; 
  /* Add this line temporarily so you can see the squares! */
  /* border: 2px solid red; background-color: rgba(255, 0, 0, 0.2); */
}

/* Mobile adjustments for tooltips */
@media (max-width: 768px) {
  .tooltip {
      white-space: normal; /* Allows text to wrap on small screens */
      width: 200px;        /* Prevents it from bleeding off screen */
      font-size: 0.85rem;
  }
}

.manual-title {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    font-family: 'DM Sans', sans-serif; /* Applies the new font */
    font-weight: 200;                   /* This makes the text thin and slim */
    font-size: 2.2rem;                 /* Makes it noticeably larger than the body text */
    color: #111827;
    line-height: 0.8;                   /* Keeps multi-line titles looking tight and neat */
    letter-spacing: 0px;                /* Adds a tiny bit of breathing room between the thin letters */
}

.manual-description {
    margin-top: 0;
    font-family: 'DM Sans', sans-serif; /* Applies the new font */
    font-weight: 200;                   /* This makes the text thin and slim */
    font-size: 1.1rem;                 /* Makes it noticeably larger than the body text */
    color: #111827;
    line-height: 0.8;                   /* Keeps multi-line titles looking tight and neat */
    letter-spacing: 0px;                /* Adds a tiny bit of breathing room between the thin letters */
    margin: 0 auto 30px auto; 
}


/* The new white container */
.content-container {
    background-color: #f8f8f8; 
    border-radius: 16px; /* Adjust this number for more or less curve */
    padding: 24px; /* Creates breathing room between the text and the box edge */
    max-width: 748px; /* Slightly wider than the 700px text to account for padding */
    margin: 0 auto; /* Centers the box on the screen */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Optional: Soft shadow for depth */
    border: 2px solid #eaeaea;
}

/* The text styling from earlier */
.manual-content {
    font-family: 'DM Sans', sans-serif; /* Applies the new font */
    font-size: 1.1rem;
    font-weight: 200;                   /* This makes the text thin and slim */
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: left;
}

.manual-content b, 
.manual-content strong {
    font-weight: 400;
}

/* Shadow effect for the manual menu images */
.menu-image-shadow {
    border-radius: 8px; /* Optional: smooths the corners of the menus */
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease; /* Optional: smooth hover effect */
}


/* =========================================
   MOBILE RESPONSIVENESS 
   ========================================= */

@media (max-width: 900px) {

    /* 1. Navbar & Logo - Mobile View */
    body {
        padding-top: 70px; /* Reset to 70px */
    }

    .desktop-logo {
        display: none !important; 
    }
    
    /* Show the mobile logo */
    .mobile-logo {
        display: block !important; 
        height: 25px; /* Adjust the size for your specific mobile image */
        width: auto;
    }
    
    .navbar { 
        padding: 0 20px; 
        height: 50px;           /* Locks the height to desktop size */
        flex-direction: row;    /* Forces them side-by-side */
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar {
        /* Lock it in place for mobile */
        position: fixed !important;
        top: 0 !important;
        width: 100%;
        z-index: 1000 !important;
        
        /* Always show the blurred background */
        background-color: rgba(255, 255, 255, 0.8) !important; 
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        
        /* Layout adjustments */
        padding: 0 20px !important; 
        height: 50px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
 
    .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    }
    
    /* BRING THE LINKS BACK! */
    .nav-links { 
        display: flex;          
        width: auto;            /* Lets the menu only take up the space it needs */
        gap: 15px;              /* Tighter spacing for mobile screens */
        margin-top: 0;          /* Removed the vertical margins */
        padding-bottom: 0;
    }
    
    /* Remove the large desktop margins so they fit on a phone */
    .nav-links > a, .dropdown { 
        margin-left: 0; 
        font-size: 0.95rem;     /* Slightly smaller text for mobile */
    }
    
    .dropbtn { 
        padding: 5px 0;         /* Shrinks the tall desktop hover area */
        font-size: 0.95rem;
    }

    /* Fix the dropdown menu position for the single-row mobile layout */
    .dropdown-content {
        top: 40px;       /* Drops it cleanly below the buttons */
        left: auto;      /* Removes the desktop left-alignment */
        right: -10px;    /* Forces the menu to open inward so it doesn't fall off the screen! */
    }

    
    /* Headers & Titles - Scaled down for mobile */
    .header { padding: 50px 20px; }
    .header h1 { font-size: 2.2rem; }
    .header-subtitle { 
        font-size: 0.77rem; 
        margin-top: 0px; 
    }
    .feature-title { font-size: 2.2rem; }
    
    /* 2. Fix the Feature Rows not filling the width */
    .feature-row, .feature-row.reverse { 
        flex-direction: column; 
    }
    .feature-image, .feature-content { 
        width: 100%; 
        box-sizing: border-box; /* Forces padding to stay safely inside the screen bounds */
    }
    .feature-image { 
        height: auto; 
        padding: 40px 40px 40px 40px; /* Less padding on sides, none on bottom so it sits near the text */
    }
    .feature-image img { 
        max-height: 200px; 
        margin-top: 0 !important;
    }
    .feature-content { 
        padding: 30px 20px 60px 20px; 
    }

    /* 3. Fix the "Our Story" Crush */
    .about-container {
        flex-direction: column; /* Forces the text and image to stack! */
        gap: 40px;
        text-align: center;     /* Centers the text nicely on a phone */
    }

    /* Gradients (Fading downward for stacked layout) first f8fff0 */
    .bg-fade-vdres { background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%); }
    .bg-fade-abrack { background: linear-gradient(to bottom, #f8f0e0 0%, #ffffff 50%); }
    .bg-fade-ui { background: linear-gradient(to bottom, #e8f8ff 0%, #ffffff 50%); }
    .bg-fade-control { background: linear-gradient(to bottom, #e0e0e8 0%, #ffffff 50%); }
    .bg-fade-lut { background: linear-gradient(to bottom, #f8f4ff 0%, #ffffff 50%); }



    /* Footer */
    /* Footer Mobile Fix */
    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center; 
    }

    /* Rearrange the columns on mobile */
    .footer-column:nth-child(1) {
        order: 3; /* Moves the Logo & Copyright block to the VERY BOTTOM */
    }
    .footer-column:nth-child(2) {
        order: 1; /* Puts the "Product" links at the TOP */
    }
    .footer-column:nth-child(3) {
        order: 2; /* Puts the "Support" email in the MIDDLE */
    }

    /* Resets the image back to the center on phones */
    .feature-row:not(.reverse) .feature-image,
    .feature-row.reverse .feature-image {
        justify-content: center;
        padding: 40px; 
    }
    
    /* Resets the text padding on phones */
    .feature-row:not(.reverse) .feature-content,
    .feature-row.reverse .feature-content {
        padding: 30px 20px 60px 20px;
    }


/*MANUAL*/

/* 2. Custom sizes for each specific menu image */
    #recording .menu-image-shadow {
        width: 60% !important;       /* The Recording Menu */
        max-width: 350px !important;
    }

    #files .menu-image-shadow {
        width: 80% !important;       /* The Files Menu (Wider) */
        max-width: 350px !important;
    }

    #folders .menu-image-shadow {
        width: 80% !important;       /* The Folders Menu (Wider) */
        max-width: 350px !important;
    }

    #area .menu-image-shadow {
        width: 50% !important;       /* Area Selection (Smaller) */
        max-width: 200px !important;
    }

    #audio .menu-image-shadow {
        width: 40% !important;       /* Audio Menu (Smaller) */
        max-width: 200px !important;
    }

    #setting .menu-image-shadow {
        width: 60% !important;       /* Setting Menu */
        max-width: 300px !important;
    }
}

/* =========================================
   ANIMATED GRADIENT BACKGROUND
   ========================================= */
   
.bg-animated-gray {
    /* This serves as the default static gradient for mobile */
    background: linear-gradient(-45deg, #f9f0f7, #f8f9f0, #e8f4f8, #f8f4e8);
    background-size: 400% 400%;
}

/* Only apply the heavy animation if the screen is wider than 900px (Desktop) */
@media (min-width: 901px) {
    .bg-animated-gray {
        animation: gradientMove 15s ease infinite;
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* =========================================
   DOCUMENT SECTION (For Privacy Policy)
   ========================================= */
.document-wrapper {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    min-height: 50vh;
    background-color: #f8fafc; /* Subtle gray background behind the box */
}

.document-container {
    max-width: 800px;
    width: 100%;
    background-color: #ffffff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Soft floating shadow */
}

.document-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #101010;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0; /* Crisp line under the title */
}

.document-text {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.document-text h3 {
    font-family: 'DM Sans', sans-serif;
    color: #111827;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
}


/* =========================================
   Feedback Form Styles
   ========================================= */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #475569;
    box-sizing: border-box;
    background-color: #f8fafc;
    transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #64748b;
    background-color: #ffffff;
}
.form-textarea {
    resize: vertical;
    min-height: 150px;
}
.form-submit {
    background-color: #334155;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}
.form-submit:hover {
    background-color: #0f172a;
}

/* Document Mobile Fixes */
@media (max-width: 900px) {
    .document-wrapper { padding: 40px 20px; }
    .document-container { padding: 30px 20px; }
}
/* Custom Bullet Points */
.manual-content ul {
    list-style-type: '▹ ';
}
/* Secondary sub-bullets */
.manual-content ul ul {
    list-style-type: '» '; /* A clean hollow circle */
}
