/* ===== Superverify Landing Page Styles ===== */

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* ===== Skeleton Loading ===== */

@keyframes skeleton-shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-height: 100%;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.skeleton-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: var(--radius-md);
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-badge {
    width: 60px;
    height: 24px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: var(--radius-full);
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    margin-top: var(--spacing-sm);
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-text {
    height: 14px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-detail {
    height: 40px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    margin-top: var(--spacing-md);
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-action {
    height: 18px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 1000px 100%;
    border-radius: 4px;
    margin-top: auto;
    animation: skeleton-shimmer 2s infinite;
}

/* ===== Header Overhaul ===== */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    width: 30px;
    height: 30px;
    font-size: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    animation: none; /* Removed bounce */
}

.logo {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: none; /* Removed slide-down and flicker */
}

.tagline {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: #ffffff;
    font-weight: 400;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.header-right {
    display: flex;
    align-items: center;
}

.header-stats {
    display: flex;
    gap: 30px;
    border: none;
    padding: 0;
    margin: 0;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    animation: none; /* Removed bounce */
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #ffffff;
    font-weight: 400;
}

/* Remove old, large header styles */
.grid-background, .header-bg-elements, .logo-glow, .stat-divider, .scroll-indicator {
    display: none;
}

/* ===== Hero Section ===== */

.hero {
    position: relative;
    padding: 80px var(--spacing-md);
    text-align: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.pulse-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
    border: 1px solid rgba(102, 126, 234, 0.1);
    animation: circle-pulse 4s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: 5%;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 5%;
    animation-delay: 1s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes circle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-headline-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.hero-headline-wrapper h2 {
    font-size: 2.5rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    animation: headline-reveal 0.8s ease-out;
    position: relative;
    display: inline-block;
}

@keyframes headline-reveal {
    0% { opacity: 0; transform: translateY(20px); clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}

.headline-accent {
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    margin-top: 15px;
    animation: accent-expand 0.8s ease-out 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes accent-expand {
    0% { width: 0; opacity: 0; }
    100% { width: 100%; opacity: 1; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 20px 0 40px;
    line-height: 1.6;
    animation: fade-in-up 0.8s ease-out 0.3s both;
}

/* Hero Icons with Enhanced Animations */
.hero-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.icon-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fade-in-up 0.8s ease-out both;
    transition: transform 0.3s ease;
}

.icon-item:nth-child(1) { animation-delay: 0.4s; }
.icon-item:nth-child(2) { animation-delay: 0.5s; }
.icon-item:nth-child(3) { animation-delay: 0.6s; }

.icon-item:hover {
    transform: translateY(-10px);
}

.icon-bg {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    border-radius: 20px;
    animation: icon-rotate 8s linear infinite;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

@keyframes icon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-item svg {
    width: 50px;
    height: 50px;
    color: #667eea;
    position: relative;
    z-index: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
    stroke-width: 2;
}

.icon-item:hover svg {
    color: #764ba2;
    filter: drop-shadow(0 0 10px rgba(118, 75, 162, 0.4));
}

.icon-item span {
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(240, 147, 251, 0.08));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
    animation: fade-in-up 0.8s ease-out both, badge-float 2s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-badge:nth-child(1) { animation-delay: 0.6s, 0s; }
.feature-badge:nth-child(2) { animation-delay: 0.7s, 0.3s; }
.feature-badge:nth-child(3) { animation-delay: 0.8s, 0.6s; }

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(240, 147, 251, 0.15));
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.feature-badge svg {
    width: 18px;
    height: 18px;
    color: #667eea;
}

/* ===== Search Section ===== */

.search-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding-left: 40px;
    padding-right: var(--spacing-md);
    font-size: 1rem;
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.search-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    color: var(--secondary-text);
    pointer-events: none;
}

/* ===== Supers Section ===== */

.supers-section {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.supers-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

/* ===== Super Card ===== */

.super-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    height: 100%;
}

.super-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--accent-color)22;
    border-color: var(--accent-color);
}

.super-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.super-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.super-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.super-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.super-info h3 {
    font-size: 1.2rem;
    margin: 0 0 var(--spacing-xs) 0;
    min-height: 1.6em;
}

.super-info p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.4;
    margin: 0;
    min-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.super-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.super-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.super-detail-label {
    color: var(--secondary-text);
}

.super-detail-value {
    font-weight: 600;
}

.super-card-action {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--accent-color);
    font-weight: 600;
    margin-top: auto;
}

.super-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.super-card:hover .super-card-action svg {
    transform: translateX(4px);
}

/* ===== Footer ===== */

.landing-footer {
    background: var(--primary-text);
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #bbb;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: #bbb;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.separator {
    color: #555;
}

/* ===== Loading State ===== */

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.spinner {
    margin-bottom: var(--spacing-md);
}

/* ===== How It Works Section ===== */
.how-it-works-section, .why-choose-us-section {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.why-choose-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    max-width: 350px;
    flex: 1;
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid white;
}

.step-title {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-text);
}

.step-description {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* ===== Why Choose Us Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-text);
}

.feature-description {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* ===== Security Spotlight Section ===== */
.security-spotlight-section {
    background: #0f172a; /* Dark blue background */
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-spotlight-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-xl);
}

.security-spotlight-section .text-content {
    flex: 1;
}

.security-spotlight-section .section-title {
    color: white;
}

.security-spotlight-section .section-subtitle {
    color: #cbd5e1; /* Lighter text for subtitle */
}

.security-features {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.security-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.05rem;
}

.security-features svg {
    width: 24px;
    height: 24px;
    color: #667eea; /* Accent color for icons */
    fill: currentColor;
}

.security-spotlight-section .visual-content {
    flex-basis: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    width: 200px;
    height: 200px;
    animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.5)); }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    overflow: hidden;
    height: 150px; /* Set a fixed height */
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-text);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
}

@media (max-width: 1200px) {
    .supers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-icons {
        gap: var(--spacing-md);
    }

    .supers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .super-card {
        padding: var(--spacing-md);
    }

    .footer-links {
        gap: var(--spacing-sm);
    }

    .steps-container, .features-grid {
        gap: var(--spacing-md);
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .landing-header {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .hero {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .icon-item span {
        font-size: 0.85rem;
    }

    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .supers-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ===== Animations ===== */

@keyframes cardSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.super-card {
    animation: cardSlide 0.4s ease-out forwards;
}

.super-card:nth-child(1) { animation-delay: 0ms; }
.super-card:nth-child(2) { animation-delay: 50ms; }
.super-card:nth-child(3) { animation-delay: 100ms; }
.super-card:nth-child(4) { animation-delay: 150ms; }
.super-card:nth-child(n+5) { animation-delay: 200ms; }

/* ===== Load More Button ===== */
.btn-load-more {
    padding: 12px 32px !important;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: var(--radius-lg);
    font-weight: 600;
    white-space: nowrap;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.remaining-count {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

