/* LinkTracking Page Styles - Consistent with TotalClicked */

/* Result Hero - Override for this page */
.hero-section .result-hero {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 20px 15px;
}

.hero-section .result-hero .hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 16px;
    margin-bottom: 12px;
    color: #667eea;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.hero-section .result-hero .hero-icon svg {
    width: 36px;
    height: 36px;
}

.hero-section .result-hero .hero-title {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.hero-section .result-hero .hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Hero Container - Compact layout */
.hero-section .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    width: 100%;
    padding-top: 10px;
    margin: 0 auto;
}

/* Tracking Form Card */
.tracking-form-card {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 15px 24px;
    transition: all 0.3s ease;
}

.tracking-form-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 16px;
}

.form-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.form-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.example-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.hint-icon {
    color: #667eea;
    display: flex;
    align-items: center;
}

.example-hint strong {
    color: #fff;
}

/* Info Cards Grid */
.info-cards-grid {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-card-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-card-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.card-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.card-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

/* Features Card */
.features-card {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.features-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.features-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.feature-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-container {
        gap: 10px;
        padding: 10px 16px;
    }

    .hero-section .result-hero .hero-title {
        font-size: 1.5rem;
    }

    .hero-section .result-hero .hero-icon {
        width: 50px;
        height: 50px;
    }

    .hero-section .result-hero .hero-icon svg {
        width: 30px;
        height: 30px;
    }

    .tracking-form-card {
        padding: 16px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .info-card-item {
        padding: 14px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section .result-hero .hero-title {
        font-size: 1.3rem;
    }

    .hero-section .result-hero .hero-subtitle {
        font-size: 0.85rem;
    }

    .tracking-form-card,
    .features-card {
        padding: 14px;
        border-radius: 12px;
    }

    .form-header h2 {
        font-size: 1.1rem;
    }

    .info-card-item {
        padding: 12px;
        border-radius: 12px;
    }
}

/* Very small screens - ensure everything fits */
@media (max-height: 700px) {
    .hero-section .result-hero {
        padding: 5px 20px 10px;
    }

    .hero-section .result-hero .hero-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .hero-section .result-hero .hero-title {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .hero-section .hero-container {
        gap: 8px;
    }

    .tracking-form-card {
        padding: 14px 18px;
    }

    .form-header {
        margin-bottom: 12px;
    }

    .info-cards-grid {
        gap: 8px;
    }

    .info-card-item {
        padding: 12px;
    }

    .features-card {
        padding: 14px 16px;
    }

    .features-title {
        margin-bottom: 12px;
    }

    .features-list {
        gap: 8px;
    }

    .feature-item {
        padding: 10px;
    }
}
