

/* --- Styles for the Dropdown Container --- */

/* The main container for positioning */
.dd-container {
    position: relative;
    display: inline-block;
  }
  
  /* The visible button */
  .dd-button {
      background: transparent;
      border: 1px solid #3d6a9a; /* Light blue border */
      color: #ffffff;
      padding: 9px 20px;
      border-radius: 6px;
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }
  
  /* Hover effect for the button */
  .dd-button:hover {
      background-color: rgba(73, 145, 229, 0.1);
  }
  
  /* The menu that is hidden by default */
  .dd-menu {
    display: flex; /* Arranges links horizontally */
    gap: 20px;     /* Space between the links */
    
    position: absolute;
    width: max-content; /* Ensures the container is wide enough for all links */
    left: 50%;
    transform: translateX(-50%); /* Centers the menu under the button */
    padding-top: 15px; /* Adds space below the button */
    
    /* Hides the menu until hovered */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
/* --- Dropdown Button Styles --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .button-secondary {
    background: transparent;
    border: 1px solid var(--color-primary-01);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-m);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown .button-secondary:hover {
    background: rgba(73, 145, 229, 0.1);
    box-shadow: 0 0 10px rgba(73, 145, 229, 0.3);
}

.dropdown-content {
  position: absolute;
  width: max-content;
  transform: translateX(-50%);
  padding-top: 15px;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-content a {
  color: #a8b2d1;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.dropdown-content a:hover {
  color: #64ffda;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
}

  /* Styling for the links inside the menu */
  .dd-menu a {
    color: #a8b2d1;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap; /* Prevents links from breaking into two lines */
    transition: color 0.3s ease;
  }
  
  /* Hover effect for the links */


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    overflow-x: hidden;
    background-color: #0A192F; /* Deep Blue */
    color: #c8cee2; /* Light text */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}
/* --- Hamburger Dropdown Menu --- */

/* The main container for the menu */
.hamburger-menu {
position: relative; /* This is the anchor for the absolute-positioned dropdown */
display: inline-block; /* Allows it to sit neatly in the flex header */
}

/* The hamburger button (☰) */
.hamburger-button {
background: none;
border: none;
cursor: pointer;
color: #ccd6f6; /* Matches your theme's light text color */
font-size: 1.8rem; /* A good, clickable size */
padding: 8px 12px; /* Adds comfortable spacing around the icon */
line-height: 1; /* Prevents extra vertical space */
transition: color 0.3s ease;
}

/* Highlight the button on hover */
.hamburger-button:hover {
color: #64ffda; /* Uses your theme's main accent color */
}

/* The dropdown panel, hidden by default */
.dropdown-content {
display: flex; /* Using flexbox to easily stack the buttons */
flex-direction: column;
position: absolute;
right: 0; /* Aligns the dropdown to the right edge of the button */
top: calc(100% + 10px); /* Positions it below the button with a 10px gap */
min-width: 240px; /* Provides enough width for the button text */
background-color: #112240; /* Uses the dark panel color from your theme */
border: 1px solid #1d3150; /* Matches your theme's border style */
border-radius: 6px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Adds depth */
z-index: 1000; /* Ensures it appears on top of other content */
overflow: hidden; /* Ensures buttons don't poke outside the rounded corners */

/* Animation for a smooth fade-in/slide-in effect */
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

/* Shows the dropdown when you hover over the .hamburger-menu container */
.hamburger-menu:hover .dropdown-content {
opacity: 1;
visibility: visible;
transform: translateY(0);
transition-delay: 0s; /* Resets transition delay for showing */
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stays in place even when scrolling */
z-index: 2000; /* Sits on top of everything */
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto; /* Enable scroll if needed */
background-color: rgba(10, 25, 47, 0.85); /* Dark overlay, matches header */
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);

/* Animation for fade-in */
opacity: 0;
transition: opacity 0.3s ease;
}

/* The actual modal popup box */
.modal-content {
position: relative;
background-color: #112240; /* Matches your theme's panel color */
margin: auto; /* Vertically and horizontally centers the box */
padding: 30px 40px;
border: 1px solid #1d3150; /* Matches your theme's border */
border-radius: 8px;
width: 90%;
max-width: 700px; /* Good readable width */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

/* Animation for slide-down/scale-in */
transform: translateY(-20px) scale(0.98);
transition: transform 0.3s ease;
}

/* The Close Button (×) */
.close-button {
color: #8892b0; /* Secondary text color */
position: absolute;
top: 15px;
right: 20px;
font-size: 2rem;
font-weight: bold;
line-height: 1;
cursor: pointer;
transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
color: #64ffda; /* Accent color on hover */
text-decoration: none;
}

/* Modal Title */
.modal-content h2 {
color: #64ffda; /* Accent color for titles */
font-size: 2rem;
margin-top: 0;
margin-bottom: 20px;
border-bottom: 1px solid #1d3150;
padding-bottom: 15px;
}

/* Modal Text Content */
.modal-content p, .modal-content ul {
color: #ccd6f6; /* Main text color */
line-height: 1.7;
margin-bottom: 15px;
}

.modal-content ul {
padding-left: 25px;
}

.modal-content li {
margin-bottom: 10px;
}

/* Class added to body when a modal is open */
body.modal-open {
overflow: hidden; /* Prevents background from scrolling */
}

/* (FIXED) When a SPECIFIC modal becomes visible */
.modal.is-visible {
display: flex; /* Use flex to easily center content */
opacity: 1;
}

.modal.is-visible .modal-content {
transform: translateY(0) scale(1); /* Animate to final position */
}

/* Styling for the buttons inside the dropdown */
.dropdown-content button {
background: none;
border: none;
width: 100%;
padding: 14px 20px;
color: #a8b2d1; /* A slightly softer text color for menu items */
text-align: left; /* Aligns text to the left for a clean list */
font-family: 'Inter', sans-serif; /* Ensures consistent font */
font-size: 0.95rem;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}

/* Adds a subtle line between buttons for better separation */
.dropdown-content button:not(:last-child) {
border-bottom: 1px solid #1d3150;
}

/* Hover effect for the dropdown buttons */
.dropdown-content button:hover {
background-color: rgba(100, 255, 218, 0.1); /* Subtle background highlight */
color: #64ffda; /* Main accent color for text */
}
.section {
    padding: 80px 0;
    position: relative;
    z-index: 4;
}

.section-title {
    font-size: 2.5rem;
    color: #64ffda;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #8892b0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* --- Landing Section --- */
#landing-section {
    min-height: 100vh; /* Use min-height to ensure it fills screen but can grow */
    width: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    background-color: #07111f; position: relative; 
    z-index: 5;
    padding: 40px 20px; /* Add more padding for content */
}
#landing-section h1 { font-size: 2.8rem; margin-bottom: 20px; color: #64ffda; line-height: 1.2; max-width: 800px;} /* Slightly smaller, wider max */
#landing-section p { font-size: 1.2rem; max-width: 650px; margin-bottom: 30px; line-height: 1.7; color: #a8b2d1; }
#landing-section .hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
/* Removed scroll-down indicator as complex animation section is gone */

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Give a bit more space to text */
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Slightly wider for impact */
}
.hero-text {
    text-align: left;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
        z-index: 1000; /* Ensures it appears on top of other content */

}
.hero-image svg {
    max-width: 100%;
    height: auto;
    max-height: 500px; /* Control SVG height */
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.2)); /* Add subtle glow to SVG */
}

@media (max-width: 940px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        text-align: center;
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }
    #landing-section h1 { font-size: 2.4rem; }
    #landing-section p { font-size: 1.1rem; }
}


/* Features Section (using existing style, icons updated) */
.features { background-color: #0d1b2f; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: #112240;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid #1d3150;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; /* Align text left for feature cards */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align icon and text to the start */
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.feature-card .icon { /* Font Awesome icon */
    font-size: 2.2rem; /* Adjusted icon size */
    color: #64ffda;
    margin-bottom: 15px; /* Space below icon */
    width: 42px; 
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(100, 255, 218, 0.1); /* Subtle background for icon */
    border-radius: 6px;
}
.feature-card h3 {
    font-size: 1.2rem; 
    color: #ccd6f6;
    margin-bottom: 8px;
    font-weight: 600; /* Bolder feature titles */
}
.feature-card p {
    font-size: 0.9rem; 
    color: #8892b0;
    line-height: 1.6;
}

/* Workflow Section */
.workflow { background-color: #0A192F; }
.workflow-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.step-card {
    background-color: #112240;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #1d3150;
    text-align: center; /* Keep workflow steps centered */
    flex-basis: calc(33.333% - 20px);
    min-width: 250px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}
.step-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 15px;
}
.step-card h3 {
    font-size: 1.3rem;
    color: #ccd6f6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.step-card p {
    font-size: 0.95rem;
    color: #8892b0;
    position: relative;
    z-index: 1;
}


/* Testimonials Section */
.testimonials { background-color: #0d1b2f; }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: #112240;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #64ffda;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-text {
    font-style: italic;
    color: #a8b2d1;
    margin-bottom: 20px;
    font-size: 1rem;
}
.testimonial-text::before {
    content: '“';
    font-size: 2rem;
    color: #64ffda;
    position: relative;
    top: 5px;
    margin-right: 5px;
    line-height: 0;
}
.testimonial-author { display: flex; align-items: center; }
.author-avatar { margin-right: 15px; }
.author-avatar .fa-solid, .author-avatar .fa-user-tie, .author-avatar .fa-user-graduate {
    font-size: 2.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #64ffda;
    background-color: #1d3150;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-name { font-weight: 600; color: #ccd6f6; font-size: 1rem; }
.author-role { font-size: 0.85rem; color: #8892b0; }


/* CTA Section */
.cta {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://via.placeholder.com/1500x500/112240/0A192F?text=Secure+Data+BG') center/cover no-repeat;
    text-align: center;
    padding: 100px 0;
}
.cta h2 { font-size: 2.2rem; color: #fff; margin-bottom: 15px; }
.cta p { font-size: 1.1rem; color: #a8b2d1; max-width: 650px; margin: 0 auto 30px; }
.cta-button {
    display: inline-block;
    background-color: #64ffda;
    color: #0A192F;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    border: 1px solid #64ffda;
}
.cta-button:hover {
    background-color: transparent;
    color: #64ffda;
    transform: translateY(-3px);
}

/* Footer (styles largely reused) */
footer { background-color: #07111f; padding: 60px 0 30px; color: #8892b0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: #ccd6f6; text-decoration: none; margin-bottom: 15px; display: inline-block; }
.footer-logo span { color: #64ffda; }
.footer-about { margin-bottom: 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 15px; }
.social-icon { color: #a8b2d1; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { color: #64ffda; transform: translateY(-2px); }
.footer-heading { font-size: 1.1rem; color: #ccd6f6; margin-bottom: 15px; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #8892b0; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #64ffda; }
.footer-subscribe { margin-bottom: 40px; border-top: 1px solid #1d3150; padding-top: 30px;}
.subscribe-form { display: flex; margin-bottom: 10px; max-width: 400px;}
.subscribe-form input[type="email"] { flex-grow: 1; padding: 10px 15px; border: 1px solid #1d3150; background-color: #0A192F; color: #ccd6f6; border-radius: 4px 0 0 4px; outline: none; }
.subscribe-form button { padding: 10px 15px; background-color: #64ffda; color: #0A192F; border: none; border-radius: 0 4px 4px 0; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.subscribe-form button:hover { background-color: #52c4b3; }
.subscribe-text { font-size: 0.85rem; color: #8892b0; }
.footer-bottom { border-top: 1px solid #1d3150; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }
.footer-bottom-links a { color: #8892b0; text-decoration: none; margin-left: 15px; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: #64ffda; }

/* Animation Placeholders */
.animate-on-scroll { opacity: 0.99; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.stagger-children > * { opacity: 0.99; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.stagger-children.is-visible > * { opacity: 1; transform: translateY(0); }

/* Header, Button, Mobile Menu Styles (Reused from original Authentis CSS) */
:root{--space-3xs: clamp(.25rem, .2411rem + .0446vi, .3125rem);--space-2xs: clamp(.5rem, .4821rem + .0893vi, .625rem);--space-xs: clamp(.75rem, .7232rem + .1339vi, .9375rem);--space-s: clamp(1rem, .9643rem + .1786vi, 1.25rem);--space-m: clamp(1.5rem, 1.4464rem + .2679vi, 1.875rem);--space-l: clamp(2rem, 1.9286rem + .3571vi, 2.5rem);--space-xl: clamp(3rem, 2.8929rem + .5357vi, 3.75rem);--space-2xl: clamp(4rem, 3.8571rem + .7143vi, 5rem);
--body-background-color: #0A192F; --body-text-color: #ccd6f6;
--font-family-heading: 'Inter', "neue-haas-grotesk-display", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
--font-family-body: 'Inter', "neue-haas-grotesk-text", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
--color-white: #f6f6f6; --color-primary-01: #4991e5; --color-primary-02: #39bdd6; --color-primary-03: #3bd4cb; --color-primary-04: #BAD7F5;
--container-padding: 20px; --fast-start-easing: cubic-bezier(.17, .67, .1, .99);--faster-start-easing: cubic-bezier(.19, 1, .22, 1);--slow-start-easing: cubic-bezier(.73, 0, 0, 1);
--fluid-16-18: calc(clamp(1rem, .9697rem + .1294vw, 1.125rem)); --body-font-size: var(--fluid-16-18);
--h1: calc(clamp(2.25rem, 1.5825rem + 2.8479vw, 3.5rem)); --h2: calc(clamp(1.375rem, 1.1019rem + 1.165vw, 2.8rem)); --h3: calc(clamp(1.25rem, 1.0983rem + .6472vw, 2.2rem)); --h4: calc(clamp(1.125rem, .943rem + .7767vw, 1.875rem)); --h5: calc(clamp(1rem, .909rem + .3883vw, 1.375rem));
--btn1: var(--fluid-16-18); --link-header-internal: 16px;
}
@media (min-width: 940px){:root{--container-padding: 3vw}}
h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading), sans-serif; font-weight:600;line-height:calc(1.2em + 4px)}
h1 { font-size: var(--h1); } h2 { font-size: var(--h2); } h3 { font-size: var(--h3); } h4 { font-size: var(--h4); } h5 { font-size: var(--h5); }

#site-header { position: fixed; top: 0; left: 0; width: 100%; padding: var(--space-s) var(--container-padding); background-color: rgba(10, 25, 47, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 100; transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease; display: flex; justify-content: space-between; align-items: center; }
#site-header.scrolled { background-color: rgba(10, 25, 47, 0.95); padding-top: var(--space-xs); padding-bottom: var(--space-xs); box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.logo { font-size: var(--h4); font-weight: 700; color: var(--color-white); text-decoration: none; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.03); }
.logo span { color: var(--color-primary-02); }
.nav-links { display: flex; gap: var(--space-l); align-items: center; }
.nav-links a:not(.button-primary):not(.button-secondary) { color: var(--color-white); text-decoration: none; font-size: var(--link-header-internal); position: relative; padding-bottom: 5px; transition: color 0.3s ease, transform 0.3s ease; }
.nav-links a:not(.button-primary):not(.button-secondary)::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 3px; right: 0; background: var(--color-primary-02); transition: width 0.3s ease; bottom: 0; }
.nav-links a:not(.button-primary):not(.button-secondary):hover::after { width: 100%; left: 0; }
.nav-links a:not(.button-primary):not(.button-secondary):hover { color: var(--color-primary-02); transform: translateY(-2px); }
.button-primary, .button-secondary { padding: var(--space-xs) var(--space-m); border-radius: 6px; font-weight: 600; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease; font-size: var(--btn1); text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.button-primary { background: linear-gradient(90deg, var(--color-primary-01), var(--color-primary-02)); color: var(--color-white) !important; border-color: var(--color-primary-02); box-shadow: 0 4px 15px rgba(57, 189, 214, 0.2); }
.button-primary:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 6px 20px rgba(57, 189, 214, 0.4); background: linear-gradient(90deg, var(--color-primary-02), var(--color-primary-01)); }
.button-secondary { background-color: transparent; border: 1px solid var(--color-primary-01); color: var(--color-white); }
.button-secondary:hover { background-color: rgba(73, 145, 229, 0.2); transform: scale(1.05) translateY(-2px); box-shadow: 0 4px 15px rgba(73, 145, 229, 0.15); }
.mobile-menu-toggle { display: none; font-size: var(--h3); cursor: pointer; background: none; border: none; color: var(--color-white); padding: var(--space-xs); z-index: 101; transition: transform 0.3s ease, color 0.3s ease; line-height: 1; }
.mobile-menu-toggle:hover { transform: scale(1.1); color: var(--color-primary-02); }
@media (max-width: 768px) {
    .hamburger-menu {
display: none;
}
    .mobile-menu-toggle { display: block; }
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(10, 25, 47, 0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-direction: column; align-items: center; justify-content: center; transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform 0.4s var(--faster-start-easing), opacity 0.4s var(--faster-start-easing), visibility 0s 0.4s; z-index: 99; gap: var(--space-xl); }
    .nav-links.active { transform: translateX(0); opacity: 1; visibility: visible; transition-delay: 0s, 0s, 0s; }
    .nav-links a { font-size: var(--h4) !important; }
    .nav-links a::after { display: none; }
    .nav-links .button-primary, .nav-links .button-secondary { padding: var(--space-m) var(--space-l); font-size: var(--h5); width: 80%; text-align: center; }
    .nav-links .beta-signup { flex-direction: column; width: 80%; align-items: stretch; }
    .nav-links .beta-input { width: 100% !important; }
    .nav-links .beta-button { width: 100% !important; text-align: center; }
}
.beta-signup { display: flex; align-items: center; gap: var(--space-xs); position: relative; }
.beta-input { width: 0; opacity: 0; padding: 0; border: none; background:  rgba(255,255,255,0.1); color: var(--color-white); border-radius: 4px; font-size: var(--body2); transition: all 0.3s var(--fast-start-easing); transform: translateX(10px); position: absolute; right: 100%; height: calc(var(--space-xs) * 2 + 2px); }
.beta-signup:hover .beta-input, .beta-signup.active .beta-input { width: 180px; opacity: 1; padding: var(--space-3xs) var(--space-xs); transform: translateX(0); border: 1px solid rgba(57, 189, 214, 0.3); }
.beta-button { white-space: nowrap; }

/* Pricing Section (reused from previous Authentis example) */
#pricing-section { background-color: #0A192F; }
.pricing-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.pricing-card { background-color: #112240; border: 1px solid #1d3150; border-radius: 8px; padding: 30px 25px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.pricing-card.featured { border-color: #64ffda; box-shadow: 0 0 20px rgba(100, 255, 218, 0.2); transform: scale(1.03); position: relative; }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: #64ffda; color: #0A192F; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.pricing-card h3 { font-size: 1.4rem; color: #ccd6f6; margin-bottom: 8px; text-align: center; }
.pricing-card .plan-description { font-size: 0.9rem; color: #8892b0; text-align: center; margin-bottom: 20px; min-height: 2.5em; }
.price-container { margin-bottom: 25px; text-align: center; border-bottom: 1px solid #1d3150; padding-bottom: 25px; }
.price-amount { font-size: 2.8rem; font-weight: 600; color: #ffffff; }
.price-unit { font-size: 0.9rem; color: #8892b0; margin-left: 5px; }
.features-list { list-style: none; padding: 0; margin: 0 0 25px 0; flex-grow: 1; }
.features-list li { color: #a8b2d1; font-size: 0.95rem; margin-bottom: 12px; display: flex; align-items: flex-start; }
.features-list li::before { content: '✓'; color: #64ffda; font-weight: bold; margin-right: 10px; font-size: 1.1em; line-height: 1.4; }
.pricing-card .cta-button { display: block; width: 100%; text-align: center; margin-top: auto; padding: 12px 20px; font-size: 1rem; }
.pricing-card.enterprise .cta-button { background-color: transparent; color: #64ffda; border: 1px solid #64ffda; }
.pricing-card.enterprise .cta-button:hover { background-color: #64ffda; color: #0A192F; }
.pricing-footnote { text-align: center; margin-top: 40px; font-size: 0.85rem; color: #8892b0; line-height: 1.6; }
@media (max-width: 768px) { #pricing-section h2 { font-size: 1.8rem; } .pricing-cards-container { grid-template-columns: 1fr; } }

/* BG Animation SVG (reused, reduced opacity further) */
.bg-animation { position: fixed; top: 0; left: 0; z-index: 109;  pointer-events: none; width:100%; height:100%;}

/* --- Mobile Specific Styles --- */
@media (max-width: 767px) {
#landing-section {
min-height: auto;
padding-top: 70px; /* Adjust if header height changes */
padding-bottom: 30px; /* Less bottom padding on mobile */
}
.logo {
display: none !important;
}
#play-preview-section {

width: 160vw !important;
}

/* --- Specific adjustments for LANDSCAPE orientation within mobile breakpoint --- */
@media (orientation: landscape) {
#landing-section .hero-content {
    /* In landscape, hero text and image might fit side-by-side better if font is smaller */
    gap: 20px; /* Reduce gap */
}
#landing-section .hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 2.2rem); /* Adjust hero title for landscape */
}
#landing-section .hero-text p {
    font-size: clamp(0.9rem, 2.5vw, 1rem); /* Adjust hero p for landscape */
}


}

}


@keyframes rotateSparkles {
to {
--sparkle-angle: 360deg;
}
}

@keyframes shimmerEffect {
0% { filter: brightness(0.8) saturate(1); }
50% { filter: brightness(1.5) saturate(1.3); } /* Brighter and more saturated */
100% { filter: brightness(0.8) saturate(1); }
}



#play-preview-section::before {
background: radial-gradient(ellipse at center,
rgba(100, 255, 218, 0.5) 0%,  /* Teal center */
rgba(73, 145, 229, 0.4) 50%,  /* Blue mid */
rgba(59, 212, 203, 0.3) 70%,  /* Cyan outer */
transparent 90%              /* Fade to transparent */
);
filter: blur(5px); /* Soften the glow */
animation: pulseAura 3s infinite alternate ease-in-out;

/* Mask to make it appear only as a border */
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
    mask-composite: exclude;
padding: var(--border-anim-thickness); /* Defines the border thickness for the mask */
}

#play-preview-section.is-animating:hover {
border-color: rgba(100, 255, 218, 1) !important; /* Brighter border on hover */
box-shadow: 0 8px 25px rgba(100, 255, 218, 0.3) !important; /* More pronounced shadow on hover */
/* The JS controlled transform:scale() from initial values will still apply.
If you want hover to further scale, you'd need JS to handle that or accept fixed transform overrides */
}

#play-preview-section.is-animating .section-title {
    font-size: 1.2rem; /* Smaller when preview is small */
    margin-bottom: 0.5rem;
    opacity: 0; /* Will be faded in by JS */
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out;
}

#play-preview-section.is-animating .section-subtitle {
    font-size: 0.7rem; /* Smaller when preview is small */
    max-width: 90%;
    margin-bottom: 1rem;
    opacity: 0; /* Will be faded in by JS */
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, max-width 0.3s ease-out;
}
#play-preview-section.is-animating {
    border-color: rgba(100, 255, 218, 0.7) !important; /* Visible, rounded teal border */
border-image: none !important; /* No complex image border when small */
box-shadow: 0 5px 20px rgba(100, 255, 218, 0.15); /* Softer glow */
}

#play-preview-section.is-animating #play-html-preview-wrapper {
    width: 100%; /* Take full width of scaled parent */
    height: 60%; /* Adjust height within scaled parent */
    max-width: none;
    background: #0E2A47;
    max-height: none;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);

    opacity: 0; /* Will be faded in by JS */
    transform: scale(0.95); /* Slightly smaller to fit padding */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, height 0.3s ease-out, border-radius 0.3s ease-out;
}

#play-preview-section.is-settled {
    position: relative !important; /* Override JS fixed positioning */
    width: auto !important; /* Let .section class or content define width */
    height: auto !important; /* Let content define height */
    top: auto !important;
    left: auto !important;
    transform: none !important; /* Reset transform */
    opacity: 1 !important; /* Ensure full opacity */
    border-radius: 12px !important; /* No rounded corners */
    padding: 80px 0 !important; /* Restore original section padding */
    box-shadow: none !important; /* Remove initial shadow */
    background-color: #0A192F !important; /* Ensure final background */
}

#play-preview-section.is-settled .section-title,
#play-preview-section.is-settled .section-subtitle,
#play-preview-section.is-settled #play-html-preview-wrapper {
    opacity: 1 !important;
    transform: none !important;
    font-size: "" !important; /* Reset to allow CSS class-defined styles */
    max-width: "" !important;
    height: "" !important; /* Reset height for wrapper */
    border-radius: "" !important; /* Reset border-radius for wrapper */
     /* Ensure original styles are reapplied by removing inline styles */
    background: #000; /* Or final background for the iframe */
    border-radius: 12px !important;
    box-shadow: none !important; /* Remove inner shadow */
    
    }

#play-preview-section.is-settled .section-title { font-size: 2.5rem !important; margin-bottom: 1rem !important;}
#play-preview-section.is-settled .section-subtitle { font-size: 1.125rem !important; max-width: 600px !important; margin-bottom: 3.5rem !important;}
#play-preview-section.is-settled #play-html-preview-wrapper {
    height: 75vh !important; /* Or your desired final height */
    min-height: 500px !important;
    max-height: 700px !important;
    border-radius: 12px !important;
    margin-top: 2rem !important;
}


#play-html-preview-wrapper {
    position: relative; /* Crucial for positioning the overlay */
    width: 100%;
    height: 75vh; /* Let's make it a bit shorter for general screens */
    min-height: 500px; /* Ensure it's usable on smaller viewports */
    max-height: 700px; /* Cap the height */
    border-radius: 12px;
    margin-top: 2rem; /* Space below subtitle */
    overflow: hidden; /* Ensures iframe is clipped to these bounds */
    background-color: #000; /* Add a temp background to see it */
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                width 0.3s ease-out, height 0.3s ease-out; /* Add width/height transition for .is-settled */
}

#play-html-preview-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.15);
}

#play-html-preview-iframe {
    width: 100%;
    height: 100%;
    border: none; /* Remove default iframe border */
}

#play-html-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Makes it invisible */
    z-index: 10; /* Ensures it's above the iframe content */
    cursor: pointer; /* Indicates it's clickable */
}

#play-preview-section-placeholder {
    height: 100vh; 
    position: relative;
    z-index: 0; 
}



#play-preview-section .container {
position: relative;
z-index: 1; /* Content on top */
}

#play-preview-section:hover .rimlight-hover-effect {
opacity: 0.9; /* Make it quite visible on hover */
}



.rimlight-hover-effect::before,
.rimlight-hover-effect::after {
    content: "";
    position: absolute;
    /* These negative offsets and calc for width/height make the gradient source larger
    than the parent, allowing the mask to 'cut out' a border shape. */
    left: calc(-1 * var(--border-thickness) * 2); /* Make it larger to allow for blur and sharp line */
    top: calc(-1 * var(--border-thickness) * 2);
    width: calc(100% + 4 * var(--border-thickness));
    height: calc(100% + 4 * var(--border-thickness));
    /* The parent #play-preview-section has overflow:hidden and its border-radius is set by JS.
    This child will be clipped by the parent, effectively taking its shape. */
    background-image: conic-gradient(
        from var(--rim-angle),
        rgba(100, 255, 218, 0) 0%,    /* Teal, transparent start */
        rgba(100, 255, 218, 0.9) 10%, /* Teal, strong */
        rgba(73, 145, 229, 0.8) 30%,  /* Blue */
        rgba(59, 212, 203, 0.9) 50%,  /* Cyan */
        rgba(73, 145, 229, 0.8) 70%,
        rgba(100, 255, 218, 0.9) 90%,
        rgba(100, 255, 218, 0) 100%   /* Teal, transparent end */
    );
    animation: rotateRim 5s linear infinite;
    /* Mask to create the border effect */
    /* This creates a "hole" in the middle, leaving the edges visible */
    -webkit-mask-image: radial-gradient(ellipse at center, transparent calc(100% - var(--border-thickness) * 2.5), white calc(100% - var(--border-thickness) * 1.5));
    mask-image: radial-gradient(ellipse at center, transparent calc(100% - var(--border-thickness) * 2.5), white calc(100% - var(--border-thickness) * 1.5));

}

.rimlight-hover-effect::before { /* This will be the animated gradient border */
content: "";
position: absolute;
/* Inset the pseudo-element by half its border thickness to center the border */
/* This makes it appear AS the border of the parent */
top: calc(-1 * var(--border-thickness));
left: calc(-1 * var(--border-thickness));
right: calc(-1 * var(--border-thickness));
bottom: calc(-1 * var(--border-thickness));
border-radius: inherit; /* Inherit border-radius from .rimlight-hover-effect, which inherits from #play-preview-section */
/* Gradient background that will be masked */
background: conic-gradient(
from var(--rim-angle),
rgba(100, 255, 218, 0) 0%, /* Teal, transparent start */
rgba(100, 255, 218, 0.9) 15%, /* Teal, strong */
rgba(73, 145, 229, 0.8) 40%,  /* Blue */
rgba(59, 212, 203, 0.9) 60%,  /* Cyan */
rgba(73, 145, 229, 0.8) 80%,
rgba(100, 255, 218, 0.9) 95%,
rgba(100, 255, 218, 0) 100%   /* Teal, transparent end */
);

/* Animation for the gradient */
animation: rotateRim 4s linear infinite;

/* Mask to create the border effect:
- The outer part is transparent (where the gradient shows through)
- The inner part is opaque white (masking the gradient, making it look like a border)
*/
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor; /* For Safari/Chrome */
    mask-composite: exclude; /* Standard */

/* Define the padding for the mask, which corresponds to the border thickness */
padding: var(--border-thickness);
}


/* .rimlight-hover-effect::after is the sharper inner layer (no extra filter) */

@keyframes rotateRim {
0% { --rim-angle: 0deg; }
100% { --rim-angle: 360deg; }
}
#play-preview-section {
z-index: 100;
overflow: hidden;
background-color: #07111f; /* Initial background, JS might change this */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* border-radius will be set by JS initially, then by .is-settled or cleared */
/* padding will be set by JS initially, then by .is-settled */
/* box-shadow will be set by JS initially, then by .is-settled or cleared */
transition:
border-radius 0.3s ease-out, /* For snapping to settled */
padding 0.3s ease-out,       /* For snapping to settled */
box-shadow 0.3s ease-out,
background-color 0.3s ease-out,
border-color 0.3s ease-out,  /* Transition for border color change */
transform 0.3s ease-out;     /* For hover effect */
will-change: opacity, transform, width, height, top, left, border-radius, padding, border-color, box-shadow;
position: relative; /* Base position, JS changes to 'fixed' */
border: 2px solid #39bdd6; /* Base transparent border, becomes visible in .is-animating */
}

.preview-visit-now-text {
position: absolute;
top: 20px; /* Adjust as needed */
left: 50%;
transform: translateX(-50%);
font-size: 6.5rem; /* Adjust as needed */
font-weight: bold;
z-index: 10; /* Ensure it's above other content within the section */

/* Gradient text effect */
background: linear-gradient(90deg, var(--color-primary-01, #4991e5), var(--color-primary-02, #39bdd6), var(--color-primary-03, #3bd4cb));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent; /* Standard property */

/* Optional: Add a slight text shadow for better visibility if needed */
/* text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); */

/* Ensure it's not affected by parent's animations initially if desired */
/* If it should also animate with the parent, remove these */
opacity: 1 !important;
transform: translateX(-50%) translateY(0) !important; /* Override parent's initial transform for this specific element if needed */
}



#play-preview-section.is-animating .preview-visit-now-text {
/* If you want it to fade/move with the parent, remove opacity/transform overrides above */
/* Or define its own animation behavior here */
font-size: 3.5rem; /* Example: smaller when preview is small */
top: 10px;
transition: font-size 0.3s ease-out, top 0.3s ease-out;
}

#play-preview-section.is-settled .preview-visit-now-text {
font-size: 3.5rem; /* Restore original size */
top: 20px;
/* Reset any specific styles for the settled state if needed */
}



#play-preview-section::before,
#play-preview-section::after {
content: '';
position: absolute;
top: calc(-1 * var(--border-anim-thickness)); /* Offset to fill the parent's border area */
left: calc(-1 * var(--border-anim-thickness));
right: calc(-1 * var(--border-anim-thickness));
bottom: calc(-1 * var(--border-anim-thickness));
border-radius: 12px; /* Crucial: inherits from #play-preview-section */
pointer-events: none;
z-index: -1; /* Behind parent's content */
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
#play-preview-section:hover {
/* General hover effect - apply a subtle scale up.
More specific hover effects for .is-animating can be added. */
transform: scale(1.02); /* JS transform will override this when fixed */
box-shadow: 0 10px 35px rgba(100, 255, 218, 0.25);
}

#play-preview-section:hover::before,
#play-preview-section:hover::after {
opacity: 1;
}

#play-preview-section::after {
--sparkle-angle: 0deg;
/* Using a repeating conic gradient to create "dashes" or "sparkles" */
background-image: repeating-conic-gradient(
from var(--sparkle-angle),
#64ffda 0% 2%,         /* Bright Teal spark */
transparent 2% 10%,    /* Gap */
#4991e5 10% 12%,       /* Bright Blue spark */
transparent 12% 20%,   /* Gap */
#88ddff 20% 22%,       /* Lighter Cyan spark */
transparent 22% 30%    /* Larger gap before repeat */
);
/* Animation to rotate the sparkles */
animation: rotateSparkles 2.5s linear infinite, shimmerEffect 1.5s infinite alternate;

/* Mask to make it appear only as a border */
-webkit-mask: /* Same masking as ::before */
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
    mask-composite: exclude;
padding: var(--border-anim-thickness);
}


@keyframes pulseAura {
0% {
transform: scale(1);
opacity: 0.7;
filter: blur(5px);
}
100% {
transform: scale(1.05); /* Slightly expand the glow */
opacity: 1;
filter: blur(8px); /* More blur when expanded */
}
}

@keyframes rotateSparkles {
to {
--sparkle-angle: 360deg;
}
}

@keyframes shimmerEffect {
0% { filter: brightness(0.8) saturate(1); }
50% { filter: brightness(1.5) saturate(1.3); } /* Brighter and more saturated */
100% { filter: brightness(0.8) saturate(1); }
}

/* NEW: YouTube Video Section Styles */
#video-demo-section {
background-color: #0d1b2f; /* Consistent with other content sections */
}
.video-grid { /* Changed from video-responsive-container for clarity */
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 2rem; /* Space from subtitle */
}
.video-responsive {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
border-radius: 8px;
background-color: #000; /* Fallback background for iframe */
box-shadow: 0 8px 20px rgba(0,0, 0,0.25);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-responsive:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 12px 25px rgba(100, 255, 218, 0.1);
}
.video-responsive iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
border: none; /* Ensure no iframe border */
}


text {
font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.5px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

/* Specific text sizes */
#status-display text {
font-size: 16px;
font-weight: 700;
}

.node text {
font-size: 8px;
font-weight: 700;
}
Add this CSS to fix text clarity and prevent clustering.RetryClaude does not have the ability to run the code it generates yet.TAGAN SEEING THISEditcss#status-display text {
font-size: 14px;
font-weight: 500;
letter-spacing: 1px;
text-shadow: 0 0 10px currentColor;
}


/* Clean text rendering */
text {
dominant-baseline: middle;
text-anchor: middle;
font-variant-numeric: tabular-nums;
}

svg {
will-change: transform;
transform: translateZ(0);
}
.hero-image {
will-change: transform;
transform: translateZ(0);
}
circle, rect, line, text {
will-change: transform, opacity;
}



.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #39bdd6;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 80%; animation-delay: 2s; }
.particle:nth-child(3) { left: 20%; top: 60%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; top: 30%; animation-delay: 1s; }
.particle:nth-child(5) { left: 90%; top: 50%; animation-delay: 3s; }

/* END NEW YouTube Video Section Styles */

svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(57, 189, 214, 0.3));
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #39bdd6;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 80%; animation-delay: 2s; }
.particle:nth-child(3) { left: 20%; top: 60%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; top: 30%; animation-delay: 1s; }
.particle:nth-child(5) { left: 90%; top: 50%; animation-delay: 3s; }
