@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;
    background: #0A0A0A;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1f2937;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6366F1;
}

.btn-contact {
    background: #6366F1;
    color: white !important;
    padding: 8px 16px;
    border-radius: 24px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #8B5CF6;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 65px);
        background: #0A0A0A;
        border-left: 1px solid #1f2937;
        flex-direction: column;
        padding: 32px 24px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.5);
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 24px;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 16px;
        width: 100%;
    }
    
    .btn-contact {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.25) 0%, transparent 45%),
                radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 60% 60%, rgba(168, 85, 247, 0.2) 0%, transparent 45%),
                radial-gradient(circle at 90% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    animation: aurora 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes aurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translate(10%, 10%) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translate(-10%, 5%) rotate(240deg);
        opacity: 0.9;
    }
}

.hero-content {
    max-width: 1024px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    color: #9ca3af;
    max-width: 850px;
    margin: 0 auto 48px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #6366F1;
    color: white;
    padding: 16px 32px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #8B5CF6;
}

.btn-secondary {
    border: 2px solid #6366F1;
    color: #6366F1;
    padding: 16px 32px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #6366F1;
    color: white;
}

/* Features Section */
.features {
    padding: 128px 24px;
    background: #151515;
}

.features h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    text-align: center;
}

.feature-number {
    width: 48px;
    height: 48px;
    background: #6366F1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.feature h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature p {
    color: #9ca3af;
}

/* CTA Section */
.cta {
    padding: 128px 24px;
    text-align: center;
    background: #0A0A0A;
    border-top: 1px solid #1f2937;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
}

.cta p {
    font-size: 20px;
    color: #9ca3af;
    margin-bottom: 48px;
}

/* Portfolio Page */
.page-header {
    padding: 128px 24px 40px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6366F1, transparent);
}

.page-header h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.page-header p {
    font-size: 20px;
    color: #9ca3af;
    max-width: 640px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    padding: 0 24px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.portfolio-card {
    padding: 48px;
    border: 2px solid #1f2937;
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
    background: #111111;
    transition: all 0.3s;
}

.portfolio-card:hover {
    border-color: #6366F1;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.portfolio-card .category {
    font-size: 14px;
    color: #6366F1;
    font-weight: 600;
    margin-bottom: 16px;
}

.portfolio-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.portfolio-card:hover h2 {
    color: #6366F1;
}

.portfolio-card .tagline {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.portfolio-card .description {
    color: #9ca3af;
    margin-bottom: 32px;
}

.portfolio-card .learn-more {
    color: #6366F1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-card:hover .learn-more span {
    transform: translateX(8px);
}

.portfolio-card .learn-more span {
    transition: transform 0.3s;
}

/* App Detail Page */
.app-detail {
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #0A0A0A 0%, #111111 50%, #0A0A0A 100%);
}

.app-detail::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.app-detail::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 0;
}

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

.back-link {
    color: #6366F1;
    text-decoration: none;
    margin-bottom: 32px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.app-header {
    margin-bottom: 32px;
}

.app-header .category {
    font-size: 14px;
    color: #6366F1;
    font-weight: 600;
    margin-bottom: 16px;
}

.app-header h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
}

.app-header .subtitle {
    font-size: 24px;
    color: #9ca3af;
}

.app-banner {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #3B82F6 100%);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.app-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.banner-icon {
    font-size: 48px;
    animation: bounce 3s ease-in-out infinite;
}

.banner-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.banner-icon:nth-child(3) {
    animation-delay: 0.4s;
}

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

.banner-text {
    color: white;
    flex: 1;
}

.banner-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-text p {
    font-size: 18px;
    opacity: 0.95;
}

.app-content {
    max-width: 896px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-section {
    margin-bottom: 48px;
}

.app-section:nth-child(even) {
    background: #111111;
    padding: 32px;
    border-radius: 20px;
    margin-left: -32px;
    margin-right: -32px;
}

@media (max-width: 768px) {
    .app-section:nth-child(even) {
        margin-left: -16px;
        margin-right: -16px;
        padding: 24px 16px;
    }
}

.app-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.app-section p {
    font-size: 18px;
    color: #9ca3af;
    line-height: 1.8;
}

.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .features-grid-2col {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    padding: 24px;
    background: #111111;
    border-radius: 16px;
    border: 2px solid #1f2937;
    border-left: 4px solid #6366F1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-4px);
    border-left-color: #8B5CF6;
    border-color: #374151;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-box p {
    color: #9ca3af;
    font-size: 16px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #111111 0%, #1f2937 100%);
    padding: 24px;
    border-radius: 16px;
    margin-top: 16px;
}

.tech-tag {
    background: #6366F1;
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 32px;
    border-radius: 16px;
    margin-top: 16px;
}

.impact-item .number {
    font-size: 40px;
    font-weight: 700;
    color: #6366F1;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.impact-item .number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6366F1 0%, transparent 100%);
    border-radius: 2px;
}

.impact-item p {
    color: #9ca3af;
}

.app-cta {
    border-top: 1px solid #1f2937;
    padding-top: 48px;
}

/* About Page */
.about-content {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

.about-content::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    z-index: -1;
}

.about-intro {
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 64px;
    line-height: 1.4;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    padding: 48px;
    border-radius: 24px;
    background-color: rgba(99, 102, 241, 0.05);
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366F1, #8B5CF6, transparent);
}

.about-section {
    margin-bottom: 56px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 24px;
    border: 2px solid #6366F1;
    border-left: 4px solid #8B5CF6;
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    opacity: 1;
    transition: opacity 0.4s;
}

.about-section:hover {
    transform: translateX(12px) translateY(-4px);
    border-color: #8B5CF6;
    border-left-color: #A78BFA;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

.about-section:hover::before {
    opacity: 1;
}

.about-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    border-radius: 2px;
}

.about-section p {
    font-size: 18px;
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 16px;
}



/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 64px;
    max-width: 896px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-label {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.contact-item a {
    font-size: 18px;
    color: #6366F1;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    font-size: 18px;
}

.contact-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #1f2937;
    background: #111111;
    color: #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366F1;
}

.contact-form button {
    background: #6366F1;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #8B5CF6;
}

.form-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.form-note a {
    color: #6366F1;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    .features {
        padding: 80px 24px;
    }
    
    .features h2 {
        font-size: 36px;
        margin-bottom: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta {
        padding: 80px 24px;
    }
    
    .cta h2 {
        font-size: 36px;
    }
    
    .cta p {
        font-size: 18px;
    }
    
    .page-header {
        padding: 100px 24px 32px;
    }
    
    .page-header h1 {
        font-size: 48px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 24px 60px;
    }
    
    .portfolio-card {
        padding: 32px;
    }
    
    .portfolio-card h2 {
        font-size: 28px;
    }
    
    .app-detail {
        padding: 100px 16px 60px;
    }
    
    .app-header h1 {
        font-size: 40px;
    }
    
    .app-header .subtitle {
        font-size: 20px;
    }
    
    .app-banner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 32px 24px;
    }
    
    .banner-icon {
        font-size: 36px;
    }
    
    .banner-text {
        width: 100%;
    }
    
    .banner-text h3 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .app-section h2 {
        font-size: 28px;
    }
    
    .app-section p {
        font-size: 16px;
    }
    
    .about-intro {
        font-size: 22px;
        padding: 32px 24px;
        margin-bottom: 48px;
    }
    
    .about-section {
        padding: 28px 24px;
        margin-bottom: 40px;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .about-section p {
        font-size: 16px;
    }
    
    .about-section:hover {
        transform: translateY(-4px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px 60px;
    }
}
