/* Shield Logo Styles */
.shield-logo {
    position: relative;
    width: 80px;
    height: 80px;
}

.shield-logo svg {
    width: 100%;
    height: 100%;
}

/* Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float infinite linear;
    opacity: 0.7;
}

/* Scan Animation */
@keyframes scan-line {
    0% { top: 0; opacity: 0.8; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0.8; }
}

.scan-animation {
    position: relative;
    overflow: hidden;
}

.scan-animation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #4dd0e1, transparent);
    animation: scan-line 2s linear infinite;
    z-index: 10;
}

/* Glow Hover */
.glow-hover {
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.glow-hover:hover, .glow-hover:active {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
    transform: translateY(-3px);
}

/* Navigation Links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #4dd0e1;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > .nav-link::after {
    display: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1000;
    padding-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
    pointer-events: none;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    color: #374151;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #00bcd4;
    padding-left: 20px;
}

.dropdown-item::after {
    display: none;
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

/* Dark dropdown for ice-control page */
.dropdown-dark .dropdown-content {
    background-color: #1f2937;
    border: 1px solid #374151;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
}

.dropdown-dark .dropdown-content::before {
    background: transparent;
}

.dropdown-dark .dropdown-item {
    color: #e5e7eb;
    border-bottom: 1px solid #374151;
}

.dropdown-dark .dropdown-item:hover {
    background-color: #374151;
    color: #4dd0e1;
}

/* Feature Card */
.feature-card {
    perspective: 1000px;
    height: 100%;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.feature-card-front {
    background: white;
    z-index: 3;
}

.feature-card-back {
    background: linear-gradient(to bottom right, #38bdf8, #6366f1);
    transform: rotateY(180deg);
    color: white;
    z-index: 5;
}

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Pricing Card */
.pricing-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.pricing-card:hover {
    transform: scale(1.05);
    border-top-color: #4dd0e1;
}

.pricing-card.popular {
    border-top-color: #66bb6a;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 3px;
    padding: 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
    margin-right: 1rem;
    user-select: none;
}

.refresh-captcha {
    cursor: pointer;
    color: #4dd0e1;
    font-size: 1.2rem;
}

/* Support Card (support.html) */
.support-card {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-button {
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Gallery Styles (setup.html) */
.gallery-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    transform-origin: top center;
}

.gallery-item {
    width: 530px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s;
    flex-shrink: 0;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f0f6ff;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: white;
}

.gallery-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Media Queries for Gallery */
@media (max-width: 1100px) { .gallery-row { transform: scale(0.9); } }
@media (max-width: 900px)  { .gallery-row { transform: scale(0.8); } }
@media (max-width: 700px)  { .gallery-row { transform: scale(0.7); } }
@media (max-width: 550px)  { .gallery-row { transform: scale(0.6); } }
@media (max-width: 450px)  { .gallery-row { transform: scale(0.5); } }

/* Montserrat Font */
body {
    font-family: 'Montserrat', sans-serif;
}

