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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-toggle {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        #000000 0%, 
        #1f2937 50%, 
        #000000 100%
    );
    animation: gradient-pulse 15s ease infinite;
    background-size: 200% 200%;
}

.hero-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite, 
               shape-pulse 8s ease-in-out infinite;
}

.shape-1 {
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
}

.shape-2 {
    bottom: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
    animation-delay: -3s;
}

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

@keyframes gradient-pulse {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shape-pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #93c5fd, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #3b82f6;
    font-size: 2rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, #000000 0%, #1f2937 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card i {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.skills-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.skills-card h4 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-card i {
    color: #3b82f6;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1f2937 0%, #000000 100%);
}

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

.skill-category {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
}

.skill-category i {
    color: #3b82f6;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-category h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.skill-category:hover h3 {
    color: #3b82f6;
}

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

.skill-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.3);
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: linear-gradient(180deg, #000000 0%, #1f2937 100%);
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.project-visual {
    text-align: center;
}

.app-logo-container {
    margin-bottom: 2rem;
}

.app-logo-placeholder {
    display: inline-block;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    padding: 0.5rem;
    border-radius: 1.5rem;
    border: 2px dashed rgba(59, 130, 246, 0.5);
    transition: border-color 0.3s ease;
}

.logo-content {
    width: 7rem;
    height: 7rem;
    border-radius: 1.5rem;
    object-fit: contain;
}

.placeholder-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.iphone-container {
    margin-top: 2rem;
}

.iphone-frame {
    width: 20rem;
    height: 43.25rem;
    background: #000000;
    border-radius: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 2rem;
    background: #000000;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Add camera and sensor details */
.iphone-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.5);
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.iphone-speaker {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.iphone-screen {
    position: absolute;
    inset: 0.5rem;
    background: #000000;
    border-radius: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.screen-content {
    text-align: center;
}

.screen-title {
    color: #3b82f6;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.screen-subtitle {
    color: #93c5fd;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.screen-dimensions {
    color: #9ca3af;
    font-size: 0.75rem;
}

.iphone-home-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.25rem;
    background: #4b5563;
    border-radius: 50px;
}

.project-details {
    gap: 2rem;
}

.project-header h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-header i {
    color: #3b82f6;
}

.project-description p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-features {
    margin: 2rem 0;
}

.project-features h4 {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-item i {
    color: #3b82f6;
    flex-shrink: 0;
}

.project-tech {
    margin: 2rem 0;
}

.project-tech h4 {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
    color: #93c5fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: border-color 0.3s ease;
}

.tech-tag:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.project-stats {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin: 2rem 0;
}

.project-stats h4 {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-item .stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.project-info {
    margin-top: 5rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.3), rgba(17, 24, 39, 0.3));
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.info-card p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1f2937 0%, #000000 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.contact-label {
    color: #ffffff;
    font-weight: 600;
}

.contact-value {
    color: #3b82f6;
}

.social-links h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    color: #3b82f6;
    padding: 0.75rem;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
}

.contact-form-container {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-text i {
    color: #ef4444;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .iphone-frame {
        width: 16rem;
        height: 34.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .iphone-frame {
        width: 14rem;
        height: 30.25rem;
    }

    .project-header h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.35rem;
}