/* Product Hero Section */
.product-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    overflow: hidden;
    z-index: 1;
}

.product-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    color: var(--color-text-primary);
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-bottom: 0.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 178, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* NEW: Adding hero-visual styling to match the about hero section */
.product-hero .hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 3rem auto 0;  /* similar margin as in about hero */
    perspective: 1000px;
    z-index: 2;
}

/* Interactive Product Menu */
.product-menu {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}

.product-menu-container {
    max-width: var(--max-width-standard);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.product-tab {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.product-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.product-tab:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-tab.active {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.product-tab.active::before {
    opacity: 0.05;
}

.tab-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.tab-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Lottie animation container */
#lottie-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lottie-icon svg {
    width: 100% !important;
    height: 100% !important;
}

/* Custom colors for Crawlr tab */
.product-tab[data-product="crawler"] {
    --crawlr-primary: #b86614; /* A richer amber/brown like beer */
    --crawlr-primary-light: #e7a84d; /* Lighter amber */
    --crawlr-gradient: linear-gradient(135deg, var(--crawlr-primary) 0%, var(--crawlr-primary-light) 100%);
    background: var(--crawlr-gradient);
}

/* Make subtitle text same color as title for Crawlr tab */
.product-tab[data-product="crawler"] .tab-info p {
    color: var(--color-text-primary);
}

/* White border for active Crawlr tab */
.product-tab[data-product="crawler"].active {
    border-color: white;
}

.product-tab[data-product="crawler"].active::before {
    border-color: white;
}

/* Larger tab icon and Lottie animation for Crawlr tab */
.product-tab[data-product="crawler"] .tab-icon {
    width: 100px;
    height: 100px;
    margin-right: 1rem; /* Reduced from default 1.5rem */
}

.product-tab[data-product="crawler"] #lottie-icon {
    width: 100px;
    height: 100px;
}

/* Badge spacer to maintain text positioning */
.product-tab[data-product="crawler"] .badge-spacer {
    height: 1.8rem; /* Matches the height of a confidential badge with margins */
    margin-top: 0.5rem;
}

/* Poppins font for Crawlr tab text */
.product-tab[data-product="crawler"] .tab-info h3,
.product-tab[data-product="crawler"] .tab-info p {
    font-family: 'Poppins', sans-serif;
}

/* Poppins font for Crawlr product content heading */
#product-crawler .classified-header h2 {
    font-family: 'Poppins', sans-serif;
}

/* Green styling for Access Granted stamp in Crawlr section */
#product-crawler .classified-stamp {
    color: #00ff80;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid #00ff80;
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
}

/* Green color for bold text in Problem card */
#product-crawler .feature-card p strong {
    color: var(--color-primary);
}

/* Make Problem card title stand out more with icon positioning */
#product-crawler .feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Position icons to the left of titles in Crawlr cards */
#product-crawler .feature-card h3 i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0 !important;
    margin-right: 0;
    display: inline-block;
    flex-shrink: 0;
}

.tab-info {
    position: relative;
    z-index: 1;
}

.tab-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-primary);
}

.tab-info p {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.confidential-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(255, 153, 51, 0.1) 100%);
    color: var(--color-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 51, 102, 0.2);
}

/* Green variant for "Access Granted" badge */
.confidential-badge.access-granted {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.1) 0%, rgba(123, 97, 255, 0.1) 100%);
    color: var(--color-primary);
    border: 1px solid rgba(0, 255, 178, 0.2);
}

/* Beta badge styling */
.beta-badge {
    display: inline-block;
    background: #fdc500;
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* Filter System */
.filter-system {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filter-container {
    max-width: var(--max-width-standard);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    text-align: center;
}

.filter-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(0, 255, 178, 0.1);
    color: var(--color-text-primary);
    border-color: rgba(0, 255, 178, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.2) 0%, rgba(123, 97, 255, 0.2) 100%);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Product Content */
.product-contents {
    max-width: var(--max-width-ultrawide);
    margin: 0 auto;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Details Section */
.product-details {
    padding: 4rem 0;
}

.details-content,
.showcase-content,
.features-content {
    max-width: var(--max-width-ultrawide);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.details-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.details-content > p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 3vw, 4rem);
    margin-top: 3rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Project X - Classified Styling */
.classified-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.classified-header h2 {
    margin-bottom: 10px;
}

.codename {
    font-size: 0.6em;
    font-weight: 400;
    font-style: italic;
    color: #9c9c9c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-left: 10px;
    position: relative;
    top: -2px;
}

.classified-stamp {
    background: rgba(255, 51, 102, 0.1);
    color: var(--color-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid rgba(255, 51, 102, 0.3);
    transform: rotate(-5deg);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: -15px;
    position: relative;
    top: -8px;
}

.redacted-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.redacted-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.redacted {
    background-color: #000;
    padding: 0 0.5rem;
    margin: 0 0.2rem;
    position: relative;
    border-radius: 3px;
    color: transparent;
    user-select: none;
}

.feature-card.blurred {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(30, 30, 30, 0.7);
}

.feature-card.blurred::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.2) 10px,
        rgba(0, 0, 0, 0.2) 20px
    );
    opacity: 0.3;
    z-index: 0;
}

.feature-card.blurred * {
    position: relative;
    z-index: 1;
}

/* Enigma - Top Secret Styling */
.encrypted-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 51, 102, 0.1);
}

.encryption-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.encryption-header i {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.encryption-header h3 {
    color: var(--color-text-primary);
    margin: 0;
}

.encrypted-terminal {
    background: #000;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    font-family: monospace;
    color: #00ff00;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5) inset;
    border: 1px solid rgba(0,255,178,0.2);
    line-height: 1.8;
    position: relative;
    /* Add will-change to optimize for animation */
    will-change: contents;
    /* Set transition for smoother height changes */
    transition: min-height 0.2s ease-out;
}

.terminal-line {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    min-height: 1.8em; /* Set minimum height to prevent jumps */
    position: relative;
    transform: translateZ(0); /* Force GPU acceleration */
    /* Prevent text selection during animation */
    user-select: none;
}

.terminal-prompt {
    color: #00cc00;
    margin-right: 0.5rem;
    font-weight: bold;
    flex-shrink: 0; /* Prevent prompt from shrinking */
}

.terminal-line.encrypted {
    color: rgba(255, 51, 102, 0.8);
    letter-spacing: 1px;
    padding-left: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
    margin-bottom: 0.8rem;
}

/* Add a custom cursor effect for typing animation */
.terminal-line.typing::after {
    content: '|';
    display: inline-block;
    color: #00ff00;
    animation: blink 1s step-end infinite;
    margin-left: 1px;
    font-weight: normal;
}

.terminal-line.encrypted.typing::after {
    color: rgba(255, 51, 102, 0.8);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.feature-card.encrypted {
    background: rgba(0, 0, 0, 0.4);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.encrypted-content {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 51, 102, 0.1),
        rgba(255, 51, 102, 0.1) 5px,
        rgba(0, 0, 0, 0.3) 5px,
        rgba(0, 0, 0, 0.3) 10px
    );
    min-height: 100px;
    border-radius: 4px;
    animation: glitchEffect 3s infinite;
}

@keyframes glitchEffect {
    0% { 
        opacity: 0.7;
        transform: translate(0);
    }
    20% { 
        opacity: 0.9;
        transform: translate(-5px, 5px);
    }
    40% { 
        opacity: 0.7;
        transform: translate(5px, -5px);
    }
    60% { 
        opacity: 0.9;
        transform: translate(-3px, 2px);
    }
    80% { 
        opacity: 0.7;
        transform: translate(3px, -2px);
    }
    100% { 
        opacity: 0.7;
        transform: translate(0);
    }
}

.secret-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Product CTAs */
.product-cta {
    text-align: center;
    margin-top: 4rem;
}

/* CTA Section adjusted for products page */
.cta {
    padding: 6rem 0;
    background: linear-gradient(to right, var(--color-background), var(--color-background-light));
    text-align: center;
    margin-top: 5rem;
}

/* Adjusted CTA section with better vertical centering and expandable height */
.enhanced-cta-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4.5rem var(--content-padding);
}

/* The expanded state with reduced padding for smaller form */
.enhanced-cta-centered.expanded {
    padding: 5.5rem var(--content-padding);
}

/* Form container position and transition */
.form-container {
    transition: all 0.5s ease-in-out;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 1rem;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

/* Hidden form with zero height and opacity */
.hidden-form {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    position: absolute;
    width: 100%;
}

/* Terminal-style container with compact transparent background */
.visible-form {
    width: 100%;
    max-width: 400px;
    padding: 30px 25px 32px;
    margin-top: 20px;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
    max-height: 140px;
    background: transparent;
    border-radius: 2px;
    border: 1px solid rgba(0, 255, 178, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 178, 0.15);
    position: relative;
    pointer-events: auto;
    transition: 
        opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

/* Scan line effect - made more subtle for transparent container */
.visible-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 178, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

/* Terminal-style glow effect - enhanced for transparent container */
.visible-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 255, 178, 0.15);
    pointer-events: none;
    z-index: -1;
    animation: terminalGlow 4s ease-in-out infinite alternate;
}

/* Subtle glow animation */
@keyframes terminalGlow {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 255, 178, 0.2);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 255, 178, 0.3);
    }
}

/* Ensure proper vertical spacing for all elements with increased padding */
.enhanced-cta-centered .cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

/* Responsive adjustments with preserved spacing */
@media (max-width: 768px) {
    .enhanced-cta-centered {
        padding: 4.5rem var(--content-padding);
    }
    .enhanced-cta-centered.expanded {
        padding: 6.5rem var(--content-padding);
    }
    
    .enhanced-cta-centered h2 {
        font-size: 2.2rem;
        margin-bottom: 1.4rem;
    }
    
    .enhanced-cta-centered p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .enhanced-cta-centered .cta-btn {
        padding: 12px 28px;
        min-width: 200px;
    }
    
    .visible-form {
        padding: 25px 20px 35px;
        margin: 20px auto;
        width: 90%;
        max-width: 360px;
        box-sizing: border-box;
        max-height: 140px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .inline-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-right: 0;
    }
    
    .inline-form input,
    .inline-form button {
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    
    .enhanced-cta-centered .form-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    #subscription-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* Hero overlay effect */
.enhanced-cta-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 178, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Heading styling with more space */
.enhanced-cta-centered h2 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

/* Subtitle styling with minimal bottom margin */
.enhanced-cta-centered p {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    text-align: center;
    padding: 0 1rem;
}

/* CTA button container with no top margin */
.enhanced-cta-centered .cta-action {
    position: relative;
    display: inline-block;
    margin-top: 0;
    width: 100%;
    text-align: center;
}

/* Subscription container */
.enhanced-cta-centered #subscription-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Button styling with more padding */
.enhanced-cta-centered .cta-btn {
    position: relative;
    z-index: 3;
    padding: 14px 34px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 240px;
    margin-bottom: 3px;
}

.enhanced-cta-centered .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Form container with reduced margin */
.enhanced-cta-centered .form-container {
    margin-top: 1rem;
}

/* Field Testing Badge */
.confidential-badge.field-testing {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #FFC107;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

/* Experimental Section Styling */
.product-details.experimental {
    position: relative;
}

.product-details.experimental::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 193, 7, 0.03),
        rgba(255, 193, 7, 0.03) 10px,
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.05) 20px
    );
    pointer-events: none;
    z-index: 0;
}

.classified-stamp.field-testing {
    background: rgba(255, 152, 0, 0.1);
    color: #FFC107;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.experimental-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
    position: relative;
}

.experimental-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #FFC107;
    border-radius: 0 8px 8px 0;
}

.field-label {
    color: #FFC107;
    font-weight: bold;
    margin-right: 0.5rem;
}

.highlight {
    color: #FFC107;
    font-weight: 600;
}

.feature-card.experimental {
    position: relative;
    overflow: visible;
    border-top: 1px solid rgba(255, 193, 7, 0.3);
}

.feature-card.experimental::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(255, 193, 7, 0.03) 0%,
        rgba(0, 0, 0, 0.0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.experimental-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: rgba(255, 152, 0, 0.9);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.test-notes {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 3rem;
}

.note-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.note-header i {
    color: #FFC107;
    font-size: 1.2rem;
}

.note-header h3 {
    color: var(--color-text-primary);
    margin: 0;
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .experimental-badge {
        font-size: 0.6rem;
    }
    
    .experimental-text {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .test-notes {
        padding: 1rem;
    }
}

/* Restricted Card Styling */
.feature-card.restricted {
    position: relative;
    border-left: 3px solid var(--color-secondary);
    background: rgba(30, 30, 30, 0.7);
}

.feature-card.restricted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 51, 102, 0.03),
        rgba(255, 51, 102, 0.03) 10px,
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.05) 20px
    );
    pointer-events: none;
    z-index: 0;
}

.feature-card.restricted * {
    position: relative;
    z-index: 1;
}

/* Encrypted Label Styling */
.encrypted-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255, 51, 102, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    animation: pulseOpacity 4s infinite;
}

@keyframes pulseOpacity {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* Media query adjustments */
@media (max-width: 768px) {
    .encrypted-label {
        font-size: 0.6rem;
    }
}

/* Enhanced animation for subscribe button */
@keyframes subtle-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 255, 178, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 255, 178, 0.6), 0 0 15px rgba(123, 97, 255, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 255, 178, 0.3);
    }
}

/* Add a glow effect to the entire CTA section */
.enhanced-cta-centered {
    position: relative;
}

.enhanced-cta-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FFB2, #7B61FF, transparent);
    box-shadow: 0 0 30px rgba(0, 255, 178, 0.8);
    z-index: 1;
}

.enhanced-cta-centered::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(0, 255, 178, 0.15) 0%, transparent 70%);
    z-index: 0;
}

/* Add visible side borders with gradient */
.enhanced-cta-centered .cta-content::before {
    content: '';
    position: absolute;
    top: -70px;
    left: -30px;
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, #00FFB2, #7B61FF, transparent);
    opacity: 0.4;
    z-index: 1;
}

.enhanced-cta-centered .cta-content::after {
    content: '';
    position: absolute;
    top: -70px;
    right: -30px;
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, #7B61FF, #00FFB2, transparent);
    opacity: 0.4;
    z-index: 1;
}

/* Add a glowing highlight behind the product name */
.highlight-product::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(ellipse, rgba(0, 255, 178, 0.15) 0%, rgba(123, 97, 255, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
}

/* Make button transitions smoother */
#form-action-btn {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

/* Add a transition effect when changing states */
#form-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 178, 0.3) 0%, rgba(123, 97, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

#form-action-btn:active::before {
    opacity: 1;
    transform: scale(2);
    transition: all 0.1s ease;
}

/* Form group with minimal spacing */
.form-group {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
    max-width: 480px;
    justify-content: center;
    gap: 10px;
}

/* Typewriter cursor effect */
.inline-form input {
    position: relative;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Inline form elements with cyber styling */
.inline-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-right: 20px;
    margin-bottom: -5px;
}

.inline-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(0, 255, 178, 0.9);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 178, 0.2);
    transition: all 0.3s ease;
    caret-color: rgba(0, 255, 178, 0.9);
}

/* Placeholder styling for typewriter effect */
.inline-form input::placeholder {
    color: rgba(0, 255, 178, 0.4);
    font-family: 'Courier New', monospace;
}

/* Hide form disclaimer completely */
.form-disclaimer {
    display: none;
    visibility: hidden;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Button styling to match transparent container */
.inline-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 2px;
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.5) 0%, rgba(123, 97, 255, 0.5) 100%);
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 178, 0.15);
    text-shadow: 0 0 5px rgba(0, 255, 178, 0.5);
    min-width: 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: 3px;
}

.inline-form button:hover {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.7) 0%, rgba(123, 97, 255, 0.7) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 178, 0.25), 0 0 10px rgba(123, 97, 255, 0.15);
    text-shadow: 0 0 8px rgba(0, 255, 178, 0.7);
}

/* Custom styling for button to override button defaults */
.inline-form button.btn {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.5) 0%, rgba(123, 97, 255, 0.5) 100%) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    border-radius: 2px !important;
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    text-shadow: 0 0 5px rgba(0, 255, 178, 0.5) !important;
    min-width: 120px !important;
}

/* Position all form elements above the scan lines */
.form-group, .form-disclaimer {
    position: relative;
    z-index: 2;
}

/* Override focus outlines for better cyber styling */
.inline-form *:focus {
    outline: none !important;
}

/* Aggressive solution for button text centering */
.perfectly-centered-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 30px !important;
    height: auto !important;
    line-height: normal !important;
    text-align: center !important;
    transition: all 0.3s ease-in-out !important;
}

.perfectly-centered-btn span {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.1rem !important;
    transition: transform 0.3s ease, opacity 0.2s ease !important;
}

/* Button animation states */
.btn-animating span {
    transform: scale(0.9);
    opacity: 0;
}

/* Form animation */
.form-container {
    transition: all 0.5s ease-in-out;
}

.hidden-form {
    opacity: 0;
    transform: translateY(20px);
    transition: 
        opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    max-height: 0;
    overflow: hidden;
}

.visible-form {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity, max-height, padding;
    transition: 
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        padding 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: auto;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    padding: 30px 25px 32px;
    transform-origin: center center;
}

/* Pre-transition state - prepare elements */
.pre-transition {
    will-change: transform, opacity, max-height, padding;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Maintain dimensions during transition */
.maintaining-dimensions {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Element fading with improved easing */
.element-fading {
    opacity: 0 !important;
    transform: translateY(-5px) translateZ(0) !important;
    transition: 
        opacity 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        transform 0.7s cubic-bezier(0.3, 0.1, 0.3, 1) !important;
    will-change: opacity, transform !important;
}

/* Gentle collapse phase */
.gentle-collapse {
    max-height: 90px;
    opacity: 0.8;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: 
        max-height 0.9s cubic-bezier(0.3, 0.1, 0.3, 1),
        opacity 0.9s cubic-bezier(0.3, 0.1, 0.3, 1),
        padding 0.9s cubic-bezier(0.3, 0.1, 0.3, 1),
        transform 0.9s cubic-bezier(0.3, 0.1, 0.3, 1);
    transform: translateY(0) scale(0.98) translateZ(0);
    transform-origin: center center;
}

/* Final collapse phase */
.final-collapse {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    transform: translateY(0) scale(0.95) translateZ(0);
    transition: 
        max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        margin 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Hidden form final state */
.hidden-form {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: absolute;
    pointer-events: none;
    transform: translateY(0) scale(0.95) translateZ(0);
}

/* Enhanced CTA transitions */
.enhanced-cta-centered {
    transition: padding 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: padding;
}

.enhanced-cta-centered.expanded {
    transition: padding 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button smooth transition */
.smooth-transition {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform, opacity !important;
}

/* Smooth button animation */
.btn-animating {
    transition: opacity 0.4s ease-in-out !important;
}

/* Form container enhanced transitions */
.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: height;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Button and input enhanced transitions */
.inline-form button,
.inline-form input {
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: 
        opacity 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        transform 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        background-color 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        color 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        border-color 0.7s cubic-bezier(0.3, 0.1, 0.3, 1),
        box-shadow 0.7s cubic-bezier(0.3, 0.1, 0.3, 1);
    will-change: opacity, transform;
}

/* Improved success state transitions */
.inline-form button.success {
    transition: 
        background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero grid layout for two columns */
.product-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 2rem;
}

/* Visual container for the pyramid */
.product-hero .hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 3rem auto 0;
    perspective: 1000px;
    z-index: 2;
}

/* Pyramid container with animation */
.cyber-pyramid {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotatePyramid 15s infinite linear;
    transform-origin: 50% 75%;
}

/* Base pyramid styling */
.pyramid-face {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.2), rgba(0, 59, 255, 0.1));
    border: 1px solid rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
    opacity: 0.8;
}

/* Each face is a triangle */
.pyramid-face {
    width: 0;
    height: 0;
    border-style: solid;
}

/* Front face */
.pyramid-face.front {
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent rgba(0, 195, 255, 0.2) transparent;
    transform: translateY(-50px) translateZ(0);
}

/* Back face */
.pyramid-face.back {
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent rgba(0, 195, 255, 0.2) transparent;
    transform: translateY(-50px) rotateY(180deg) translateZ(0);
}

/* Left face */
.pyramid-face.left {
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent rgba(0, 195, 255, 0.2) transparent;
    transform: translateY(-50px) rotateY(-90deg) translateZ(100px);
}

/* Right face */
.pyramid-face.right {
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent rgba(0, 195, 255, 0.2) transparent;
    transform: translateY(-50px) rotateY(90deg) translateZ(100px);
}

/* Face effects */
.pyramid-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 173px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 240, 255, 0.05) 25%, 
        rgba(0, 240, 255, 0.1) 50%, 
        rgba(0, 240, 255, 0.05) 75%, 
        transparent 100%);
    pointer-events: none;
}

.pyramid-face::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 173px;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 240, 255, 0.1) 0px,
        rgba(0, 240, 255, 0.1) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
}

/* Rotation animation */
@keyframes rotatePyramid {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .product-hero .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Add cyber grid background similar to about-hero */
.product-hero .cyber-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 178, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridPulse 4s infinite alternate;
    z-index: 1;
}

@keyframes gridPulse {
    0% {
        opacity: 0.5;
        background-size: 20px 20px;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.5;
        background-size: 22px 22px;
    }
}

/* Center content vertically/horizontally */
.product-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Visual container for the pyramid - positioned below title */
.product-hero .hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 3rem auto 0; /* This creates space below the title/subtitle */
    perspective: 1000px;
    z-index: 2;
}

/* Pyramid container with animation */
.cyber-pyramid {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotatePyramid 15s infinite linear;
}

/* Pyramid faces */
.pyramid-face {
    position: absolute;
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.2), rgba(0, 59, 255, 0.1));
    border: 1px solid rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

/* Front face (triangle) */
.pyramid-face.front {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173.2px solid rgba(0, 195, 255, 0.2);
    transform: rotateX(-30deg) translateY(-86.6px) translateZ(86.6px);
    background: none;
    border-top: none;
}

/* Left face (triangle) */
.pyramid-face.left {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173.2px solid rgba(0, 195, 255, 0.2);
    transform: rotateY(90deg) rotateX(-30deg) translateY(-86.6px) translateZ(86.6px);
    background: none;
    border-top: none;
}

/* Right face (triangle) */
.pyramid-face.right {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173.2px solid rgba(0, 195, 255, 0.2);
    transform: rotateY(-90deg) rotateX(-30deg) translateY(-86.6px) translateZ(86.6px);
    background: none;
    border-top: none;
}

/* Bottom face (square) */
.pyramid-face.bottom {
    width: 200px;
    height: 200px;
    transform: rotateX(90deg) translateZ(-100px);
}

/* Pyramid face effects */
.pyramid-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 240, 255, 0.05) 25%, 
        rgba(0, 240, 255, 0.1) 50%, 
        rgba(0, 240, 255, 0.05) 75%, 
        transparent 100%);
    pointer-events: none;
}

.pyramid-face::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 240, 255, 0.1) 0px,
        rgba(0, 240, 255, 0.1) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
}

/* Pyramid rotation animation */
@keyframes rotatePyramid {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Visual container for the ring */
.product-hero .hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 3rem auto 0;
    perspective: 1000px;
    z-index: 2;
}

/* Main ring styling */
.cyber-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid rgba(0, 195, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 195, 255, 1), 0 0 40px rgba(0, 195, 255, 0.8) inset;
    animation: rotateRing 10s infinite linear;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 195, 255, 0.2);
}

/* Alternate ring styling */
.cyber-ring-alt {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid rgba(255, 100, 100, 0.8);
    box-shadow: 0 0 30px rgba(255, 100, 100, 1), 0 0 40px rgba(255, 100, 100, 0.8) inset;
    animation: rotateRingAlt 12s infinite linear;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 100, 100, 0.2);
}

/* Ring rotation animations */
@keyframes rotateRing {
    0% {
        transform: rotateX(0) rotateY(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes rotateRingAlt {
    0% {
        transform: rotateX(0) rotateY(0);
    }
    100% {
        transform: rotateX(-360deg) rotateY(-360deg); /* Opposite direction */
    }
}

/* Product intro title styling */
.product-intro {
    text-align: center;
    margin: 3rem 0;
    padding: 0 1rem;
}

.product-title {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.classified-stamp {
    background: rgba(255, 51, 102, 0.1);
    color: var(--color-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid rgba(255, 51, 102, 0.3);
    transform: rotate(-5deg);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: -15px;
    position: relative;
    top: -8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }

    .classified-stamp {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
        top: -6px;
    }
}

/* Hero animations - without color glitch */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title.hero-animate {
    transform: translateY(-30px);
}

.cyber-ring, .cyber-ring-alt {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.cyber-ring.animate-in, .cyber-ring-alt.animate-in {
    opacity: 1;
    transform: scale(1);
}

.cyber-grid-bg {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.cyber-grid-bg.animate-in {
    opacity: 1;
}

.hero-overlay.hero-animate {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-overlay.hero-animate.animate-in {
    opacity: 1;
}

/* Subtle pulse for the text gradient - without glitch */
@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-title.animate-in .text-gradient {
    animation: gradientPulse 4s ease infinite;
    background-size: 200% 200%;
}

/* Add mobile-specific adjustments */
@media (max-width: 768px) {
    .product-hero {
        min-height: 40vh; /* Reduce minimum height on mobile */
        padding-top: 2rem; /* Reduce top padding significantly */
        padding-bottom: 3rem; /* Keep some bottom padding */
        justify-content: flex-start; /* Align content to the top instead of center */
    }
    
    .product-hero .hero-content {
        margin-top: 1rem; /* Add a small margin at the top */
    }
    
    .product-hero h1 {
        font-size: 2.5rem; /* Slightly smaller font size if needed */
        margin-top: 0; /* Remove any top margin */
    }
    
    .product-hero .hero-subtitle {
        margin-top: 0.5rem; /* Reduce space between title and subtitle */
    }
    
    .product-hero .hero-visual {
        margin-top: 1.5rem; /* Reduce space between text and visual elements */
    }
}

/* Improved spacing for product description text */
.details-content > p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    text-align: center;
}

/* Adding responsive adjustments for product text */
@media (max-width: 768px) {
    .details-content > p {
        padding: 0 1.5rem;
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .redacted-text {
        padding: 0 1rem;
        font-size: 1.05rem;
        text-align: center;
    }
    
    .encrypted-section p {
        padding: 0 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .details-content > p {
        padding: 0 1rem;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .redacted-text {
        padding: 0 0.5rem;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .redacted-section, .encrypted-section, .experimental-section {
        padding: 1.5rem 1rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .details-content > p {
        padding: 0 0.75rem;
        font-size: 1rem;
    }
    
    .redacted-text {
        padding: 0 0.5rem;
        font-size: 0.95rem;
    }
}

/* Add new media query for 724px and below */
@media (max-width: 724px) {
    .product-menu {
        padding: 0 1rem; /* Add padding to the menu itself */
    }
    
    .product-menu-container {
        padding: 0 1rem; /* Consistent padding for container */
        width: 100%; /* Ensure container is full width */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    
    .product-tabs {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%; /* Ensure tabs wrapper is full width */
    }
    
    .product-tab {
        min-width: auto;
        width: 100%;
        padding: 1.25rem;
        box-sizing: border-box; /* Include padding in width calculation */
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure tabs don't stretch too wide on medium screens */
    .product-menu-container {
        max-width: 600px; /* Limit container width on medium screens */
    }
}

/* Even more spacing for very small screens */
@media (max-width: 576px) {
    .product-menu {
        padding: 0 0.75rem; /* Slightly reduced outer padding */
    }
    
    .product-menu-container {
        padding: 0 0.75rem; /* Matching inner padding */
    }
    
    .product-tab {
        padding: 1.1rem 1.25rem; /* Maintain horizontal padding */
    }
}

/* Extra protection for very small screens */
@media (max-width: 400px) {
    .product-menu {
        padding: 0 0.5rem; /* More reduced padding */
    }
    
    .product-menu-container {
        padding: 0 0.5rem;
    }
    
    .product-tabs {
        gap: 1rem; /* Smaller gap between tabs */
    }
}

/* Make Enigma features grid responsive while keeping text left-aligned */
@media (max-width: 968px) {
    .secret-grid {
        grid-template-columns: repeat(2, 1fr); /* Change to 2 columns for medium screens */
        gap: 1.5rem; /* Slightly reduced gap */
    }
    
    /* Ensure text stays left-aligned */
    .secret-grid .feature-card {
        text-align: left;
    }
    
    .secret-grid .feature-card h3 {
        text-align: left;
    }
    
    .secret-grid .feature-card p {
        text-align: left;
    }
}

@media (max-width: 724px) {
    .secret-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        max-width: 500px; /* Limit maximum width */
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Keep text left-aligned while improving spacing */
    .secret-grid .feature-card {
        padding: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .secret-grid .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        text-align: left;
    }
    
    .secret-grid .feature-card p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    /* Encrypted terminal adjustments */
    .encrypted-terminal {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
        padding: 1.25rem;
    }
    
    .terminal-line {
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 576px) {
    .secret-grid .feature-card {
        padding: 1.25rem;
    }
    
    .encrypted-terminal {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* Success state for form button */
.inline-form button.success {
    background: linear-gradient(135deg, #00b09b, #00a86b);
    color: #fff;
    border: 1px solid #00a86b;
    box-shadow: 0 0 15px rgba(0, 168, 107, 0.5);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Pulsing animation for the success button */
@keyframes successPulse {
    0% { box-shadow: 0 0 15px rgba(0, 168, 107, 0.5); opacity: 1; }
    50% { box-shadow: 0 0 20px rgba(0, 168, 107, 0.8); opacity: 1; }
    100% { box-shadow: 0 0 15px rgba(0, 168, 107, 0.5); opacity: 1; }
}

.inline-form button.success {
    animation: successPulse 2s infinite;
}

/* Ensure form elements fade smoothly */
.form-group input,
.form-group button {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fix autofill background color issue */
.inline-form input:-webkit-autofill,
.inline-form input:-webkit-autofill:hover,
.inline-form input:-webkit-autofill:focus,
.inline-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(16, 24, 32, 0.9) inset !important;
    -webkit-text-fill-color: #c5e1ff !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid #364b66 !important;
    caret-color: #c5e1ff;
}

/* Firefox autofill override */
.inline-form input:-moz-autofill,
.inline-form input:-moz-autofill:hover,
.inline-form input:-moz-autofill:focus,
.inline-form input:-moz-autofill:active {
    background-color: rgba(16, 24, 32, 0.9) !important;
    color: #c5e1ff !important;
    border: 1px solid #364b66 !important;
    box-shadow: 0 0 0 1000px rgba(16, 24, 32, 0.9) inset;
}

/* For other browsers */
.inline-form input:autofill,
.inline-form input:autofill:hover,
.inline-form input:autofill:focus,
.inline-form input:autofill:active {
    background-color: rgba(16, 24, 32, 0.9) !important;
    color: #c5e1ff !important;
    border: 1px solid #364b66 !important;
    box-shadow: 0 0 0 1000px rgba(16, 24, 32, 0.9) inset;
}

/* Ensure the form background is consistent */
.visible-form {
    background-color: rgba(16, 24, 32, 0.9);
    /* ... existing styles ... */
}

/* Enhanced mobile responsiveness for very small screens */
@media (max-width: 390px) {
    /* Optimize CTA section */
    .enhanced-cta-centered {
        padding: 30px 15px;
    }
    
    .enhanced-cta-centered.expanded {
        padding: 30px 15px 40px;
    }
    
    /* Reduce heading size */
    .enhanced-cta-centered h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    /* Adjust subtitle */
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 auto 20px;
        max-width: 100%;
    }
    
    /* Optimize form layout */
    .visible-form {
        padding: 25px 15px 28px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Stack input and button for very small screens */
    .inline-form {
        flex-direction: column;
        width: 100%;
    }
    
    .inline-form input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 0.85rem;
        padding: 8px 12px;
        height: 38px;
    }
    
    .inline-form button {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.85rem;
        height: 38px;
    }
    
    /* Optimize main CTA button */
    .cta-btn {
        font-size: 0.85rem;
        padding: 10px 15px;
        min-width: auto;
        width: 100%;
        max-width: 220px;
    }
    
    /* Ensure form container is properly sized */
    .form-container {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    
    /* Ensure animation states maintain proper sizing */
    .maintaining-dimensions {
        min-height: 100px; /* Increased to accommodate stacked layout */
    }
    
    /* Adjust transition timings for better mobile performance */
    .gentle-collapse {
        max-height: 110px; /* Increased for stacked layout */
    }
}

/* Even smaller screens need more aggressive adjustments */
@media (max-width: 320px) {
    /* Further reduce text sizes */
    .enhanced-cta-centered h2 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    /* Simplify paddings to save space */
    .enhanced-cta-centered {
        padding: 25px 10px;
    }
    
    .visible-form {
        padding: 20px 12px 24px;
    }
    
    /* Further optimize form elements */
    .inline-form input,
    .inline-form button {
        font-size: 0.8rem;
        padding: 7px 10px;
        height: 36px;
    }
    
    /* Further reduce button size */
    .cta-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        max-width: 200px;
    }
    
    /* Make sure form container dimensions work */
    .form-container {
        max-width: 220px;
    }
}

/* Prevent mobile zoom on input focus */
.inline-form input {
    /* ... existing code ... */
    font-size: 16px; /* Minimum font size to prevent iOS zoom */
    -webkit-text-size-adjust: 100%; /* Prevent text size adjust after orientation change */
}

/* Add these styles to ensure inputs don't trigger zoom */
input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea {
    font-size: 16px !important; /* Critical size to prevent zoom */
    -webkit-appearance: none; /* Remove default iOS styling */
    border-radius: 0; /* Fix iOS rounded corners issue */
}

/* Optional: enhance tap targets for mobile */
.inline-form button {
    /* ... existing code ... */
    min-height: 44px; /* Apple's recommended minimum touch target size */
}

/* Fix autocomplete background issue while we're at it */
@media (max-width: 390px) {
    .inline-form input {
        padding: 8px 12px;
        height: 44px; /* Larger touch target */
    }
    
    .inline-form button {
        height: 44px; /* Match input height */
    }
}

/* Solutions Filter Section */
.solutions-filter {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.filter-container {
    max-width: var(--max-width-standard);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.category-filter-btn {
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.1) 0%, rgba(123, 97, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-filter-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-filter-btn:hover {
    color: var(--color-text-primary);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-filter-btn:hover::before {
    opacity: 1;
}

.category-filter-btn.active {
    color: var(--color-text-primary);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category-filter-btn.active::before {
    opacity: 1;
}

.category-filter-btn.active::after {
    opacity: 0.3;
}

/* Category Sections */
.category-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.category-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease;
}

/* Services Styling */
.services-intro {
    text-align: center;
    padding: 2rem 0 4rem;
}

.services-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid-container {
    max-width: var(--max-width-standard);
    margin: 0 auto 5rem;
    padding: 0 var(--content-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Specific fix for ultrawide screens */
@media (min-width: 2560px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .services-grid-container {
        max-width: 2400px;
    }
}

.service-card {
    background: var(--color-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.1) 0%, rgba(123, 97, 255, 0.1) 100%);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i {
    font-size: 3rem;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.service-content p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    margin-top: auto;
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
}

.service-features li i {
    color: var(--color-primary);
    margin-right: 0.75rem;
    font-size: 0.9rem;
    padding-top: 0.3rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(10, 20, 30, 0.3));
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 5rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width-standard);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.advantage-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 178, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 255, 178, 0.1) 0%, rgba(123, 97, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.advantage-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .filter-buttons {
        flex-direction: row; /* Keep horizontal on small screens */
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .category-filter-btn {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
        flex-grow: 1;
        max-width: 45%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .services-subtitle {
        padding: 0 1.5rem;
        font-size: 1.1rem;
    }
    
    .service-icon {
        padding: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-direction: column;
    }
    
    .category-filter-btn {
        width: 100%;
        max-width: 100%;
    }
}
/* Product Filter System - REMOVED */
