/* Homepage Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #002040 0%, #004080 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-search {
    background-color: white;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
}

.hero-search input:focus {
    outline: none;
}

.hero-search button {
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-search button:hover {
    background-color: #0055aa;
}

.hero-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.hero-icon {
    position: absolute;
    font-size: 2rem;
    color: white;
    opacity: 0.5;
}

.hero-icon:nth-child(1) { top: 20%; left: 10%; animation: float 6s ease-in-out infinite; }
.hero-icon:nth-child(2) { top: 30%; left: 25%; animation: float 8s ease-in-out infinite; }
.hero-icon:nth-child(3) { top: 15%; left: 40%; animation: float 7s ease-in-out infinite; }
.hero-icon:nth-child(4) { top: 40%; left: 60%; animation: float 9s ease-in-out infinite; }
.hero-icon:nth-child(5) { top: 25%; left: 75%; animation: float 10s ease-in-out infinite; }
.hero-icon:nth-child(6) { top: 45%; left: 85%; animation: float 6s ease-in-out infinite; }

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #121212;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-choose-us::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00ccff);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.05), rgba(0, 204, 255, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    position: relative;
}

.benefit-card:nth-child(1) .benefit-icon {
    background: linear-gradient(135deg, #0066cc, #00ccff);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.benefit-card:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff9e7d);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.benefit-card:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #4ecdc4, #56e0d6);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

.benefit-icon i {
    color: white;
    font-size: 2.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    color: white;
    margin: 0 0 15px 0;
    position: relative;
    padding-bottom: 15px;
}

.benefit-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.5px;
}

.benefit-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Featured Tools Section */
.featured-tools {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.featured-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/pattern.svg');
    opacity: 0.03;
    z-index: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.featured-tool-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.featured-tool-card:nth-child(1) {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-top: 3px solid #FF6B6B;
}

.featured-tool-card:nth-child(2) {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-top: 3px solid #3A86FF;
}

.featured-tool-card:nth-child(3) {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-top: 3px solid #4285F4;
}

.featured-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.featured-tool-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.featured-tool-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-tool-card:nth-child(1) .featured-tool-image {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
}

.featured-tool-card:nth-child(2) .featured-tool-image {
    background: linear-gradient(135deg, #3A86FF 0%, #5E9FFF 100%);
}

.featured-tool-card:nth-child(3) .featured-tool-image {
    background: linear-gradient(135deg, #4285F4 0%, #64A1FF 100%);
}

.featured-tool-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.featured-tool-image i {
    font-size: 5rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.featured-tool-card:hover .featured-tool-image i {
    transform: translateY(-10px) scale(1.1);
}

.featured-tool-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.featured-tool-title {
    font-size: 1.6rem;
    color: white;
    margin: 0 0 15px 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.featured-tool-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 1.5px;
}

.featured-tool-card:nth-child(1) .featured-tool-title::after {
    background: #FF6B6B;
}

.featured-tool-card:nth-child(2) .featured-tool-title::after {
    background: #3A86FF;
}

.featured-tool-card:nth-child(3) .featured-tool-title::after {
    background: #4285F4;
}

.featured-tool-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 25px 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.featured-tool-link {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.featured-tool-card:nth-child(1) .featured-tool-link {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
}

.featured-tool-card:nth-child(2) .featured-tool-link {
    background: linear-gradient(135deg, #3A86FF 0%, #5E9FFF 100%);
}

.featured-tool-card:nth-child(3) .featured-tool-link {
    background: linear-gradient(135deg, #4285F4 0%, #64A1FF 100%);
}

.featured-tool-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.featured-tool-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.featured-tool-link:hover::after {
    transform: translateX(5px);
}

/* Trusted By Section */
.trusted-by {
    padding: 80px 0;
    background-color: #121212;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trusted-by::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, rgba(255, 0, 0, 0) 70%);
    border-radius: 50%;
}

.trusted-by::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, rgba(255, 0, 0, 0) 70%);
    border-radius: 50%;
}

.trusted-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.5), rgba(40, 40, 40, 0.5));
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-title {
    font-size: 2.2rem;
    color: white;
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
}

.trusted-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff5e5e);
    border-radius: 1.5px;
}

.trusted-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 35px 0;
    line-height: 1.7;
}

.youtube-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff0000, #ff5e5e);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.youtube-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: 1;
}

.youtube-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4);
}

.youtube-badge i {
    font-size: 1.8rem;
    margin-right: 15px;
    position: relative;
    z-index: 2;
}

.youtube-badge span {
    position: relative;
    z-index: 2;
}

/* Support and Share Section */
.support-share-section {
    padding: 60px 0;
    text-align: center;
    background-color: #121212;
    position: relative;
}

.support-section {
    margin-bottom: 30px;
}

.coffee-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FFDD00, #FFE44D);
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 221, 0, 0.3);
}

.coffee-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 221, 0, 0.4);
}

.coffee-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.social-share p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-btn {
    display: inline-block;
    transition: all 0.3s ease;
    transform: scale(1);
}

.share-btn:hover {
    transform: scale(1.15) translateY(-5px);
}

.share-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* More Tools Section */
.more-tools-section {
    padding: 60px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, #121212, #0a0a0a);
    position: relative;
}

.more-tools-section h2 {
    font-size: 2.2rem;
    color: white;
    margin: 0 0 15px 0;
}

.more-tools-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 30px 0;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid, .tools-grid {
        grid-template-columns: 1fr;
    }

    .more-tools-section h2 {
        font-size: 1.8rem;
    }

    .more-tools-section p {
        font-size: 1rem;
    }
}
