/* Custom CSS Variables */
:root {
    --primary-black: #000000;
    --vibrant-pink: #fa39d7;
    --dark-purple: #280f46;
    --cyan: #00ffff;
    --dark-blue: #1b143d;
    --white: #ffffff;
    --gray: #484646;
    
    --gradient-primary: linear-gradient(135deg, var(--vibrant-pink), var(--cyan));
    --gradient-dark: linear-gradient(135deg, var(--dark-purple), var(--dark-blue));
    --gradient-glass: linear-gradient(135deg, rgba(250, 57, 215, 0.1), rgba(0, 255, 255, 0.1));
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Navigation */
.custom-navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(250, 57, 215, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--vibrant-pink);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--vibrant-pink) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(ellipse at center, rgba(250, 57, 215, 0.05) 0%, var(--primary-black) 70%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://pixabay.com/get/gfcf25e3b5a004b9cc505123bcafcd4a02c5c0dd5b103c3b3f50682e36d28050b82c2b062fb486479da97fcdd5a4a2b2ff83997c74f5c25a7c03e03729b8eceb6_1280.jpg') center/cover;
    opacity: 0.05;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.6s both;
}

.floating-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(250, 57, 215, 0.2);
}

.floating-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: brightness(0.8) saturate(1.2);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(250, 57, 215, 0.3);
}

.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.icon-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

/* Buttons */
.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(250, 57, 215, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(250, 57, 215, 0.4);
}

.glass-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--vibrant-pink);
}

/* Sections */
.tools-section,
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 3rem;
}

/* Tool Cards */
.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(250, 57, 215, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-glass);
    transition: all 0.5s ease;
    z-index: -1;
}

.tool-card:hover::before {
    left: 0;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(250, 57, 215, 0.2);
    border-color: var(--vibrant-pink);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.tool-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.tool-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.tool-features li {
    padding: 0.5rem 0;
    opacity: 0.9;
}

.tool-features i {
    color: var(--cyan);
}

.tool-pricing {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vibrant-pink);
}

.affiliate-link {
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.affiliate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 57, 215, 0.3);
    color: var(--white);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-description {
    opacity: 0.8;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://pixabay.com/get/gad8794626bf3be813a1d0aac9c8c454e1087f0ac143a475a06fab464a731713fe804b40c4867b3098a77f37b9018234aa007be437fc46e6e27f15fe41f0bc690_1280.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Footer */
.footer-section {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(250, 57, 215, 0.2);
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-title i {
    color: var(--vibrant-pink);
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(250, 57, 215, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--vibrant-pink);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-section-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--vibrant-pink);
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.contact-item i {
    color: var(--cyan);
    width: 20px;
}

.footer-divider {
    border-color: rgba(250, 57, 215, 0.2);
    margin: 2rem 0;
}

.copyright-text {
    opacity: 0.7;
}

.footer-legal {
    text-align: right;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--vibrant-pink);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
/* ========== DASHBOARD & AUTHENTICATION STYLES ========== */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: 20px;
}

.auth-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.auth-link {
    color: var(--vibrant-pink);
    text-decoration: none;
}

.auth-link:hover {
    color: var(--cyan);
    text-decoration: underline;
}

.dashboard-nav {
    background: rgba(0, 20, 30, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.dashboard-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
}

.dashboard-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.dashboard-nav .nav-link:hover {
    color: var(--vibrant-pink) !important;
}

.dashboard-welcome h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(250, 57, 215, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--vibrant-pink);
    margin-bottom: 1rem;
}

.dashboard-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    background: conic-gradient(var(--vibrant-pink) calc(var(--score) * 3.6deg), rgba(255, 255, 255, 0.1) 0deg);
}

.dashboard-table {
    color: white;
}

.dashboard-table th {
    color: var(--cyan);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.dashboard-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.score-badge.score-high {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.score-badge.score-medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.score-badge.score-low {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    color: rgba(255, 255, 255, 0.3);
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--vibrant-pink);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tool-card,
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-legal {
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .tool-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* iOS Mobile Fixes */
    .url-input {
        min-height: 44px !important;
        -webkit-appearance: none !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        border-radius: 12px !important;
    }
    
    .scan-button {
        min-height: 44px !important;
        -webkit-appearance: none !important;
        font-size: 1rem !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vibrant-pink);
}
