/* ============================================
   COMPLETE REDESIGN - HOMEPAGE
   ============================================ */

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

body {
    font-family: 'Open Sans', sans-serif;
    background: #0a0e27;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 20px 60px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #a0a0b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-text .description {
    font-size: 1.1rem;
    color: #c0c0d0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
    color: #0a0e27;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
    color: #0a0e27;
}

.btn-secondary-custom {
    background: transparent;
    color: #00ffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #00ffff;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    color: #00ffff;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.2);
    border: 3px solid rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Featured Projects Preview */
.featured-projects {
    padding: 100px 20px;
    background: #0f1429;
    position: relative;
}

.featured-projects h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card-preview {
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ffff 0%, #ff00ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

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

.project-card-preview img {
    width: 50%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-card-preview h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-card-preview .project-type {
    color: #00ffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-card-preview p {
    color: #a0a0b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-card-preview .btn-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-card-preview .btn-link:hover {
    gap: 12px;
    color: #ff00ff;
}

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: #0a0e27;
    text-align: center;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    padding: 30px;
}

.stat-item .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item .label {
    color: #a0a0b8;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-section {
    padding: 80px 20px;
    background: #0f1429;
}

.about-section-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section-content h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.about-section-content p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #c0c0d0 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 15px 40px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-image img {
        max-width: 280px;
        border-radius: 20px;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    
    .hero-text .subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 20px;
    }
    
    .hero-text .description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        gap: 15px;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .featured-projects {
        padding: 50px 15px;
    }
    
    .featured-projects h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 40px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-card-preview {
        padding: 25px 20px;
    }
    
    .project-card-preview img {
        width: 60%;
        padding: 15px;
    }
    
    .project-card-preview h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .project-card-preview p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .stats-section {
        padding: 50px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-item .number {
        font-size: 2.5rem;
    }
    
    .stat-item .label {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 50px 15px;
    }
    
    .about-section-content h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .about-section-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        max-width: 220px;
    }
    
    .project-card-preview img {
        width: 70%;
        padding: 12px;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Remove old styles */
.container.home {
    display: none;
}
