/* Home Page Specific Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-showcase {
    position: relative;
    width: 400px;
    height: 400px;
}

.showcase-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.card-2 {
    bottom: 0;
    left: 0;
    animation-delay: 1.3s;
}

.card-3 {
    bottom: 0;
    right: 0;
    animation-delay: 2.6s;
}

.showcase-card:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.card-2:hover,
.card-3:hover {
    transform: scale(1.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.card-content i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

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

/* Featured Work Section */
.featured-work {
    background: var(--bg-secondary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.featured-item:hover .featured-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.featured-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.featured-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.featured-cta {
    text-align: center;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tool-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 1rem;
    position: relative;
}

.tool-icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.tool-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.tool-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-section .btn-ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .ai-showcase {
        width: 300px;
        height: 300px;
    }
    
    .showcase-card {
        width: 100px;
        height: 100px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 4rem);
        padding-top: 2rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .ai-showcase {
        width: 250px;
        height: 250px;
    }
    
    .showcase-card {
        width: 80px;
        height: 80px;
    }
    
    .card-content i {
        font-size: 1.5rem;
    }
    
    .card-content span {
        font-size: 0.75rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-text {
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .ai-showcase {
        width: 200px;
        height: 200px;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .featured-image {
        height: 250px;
    }
}
