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

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    background-color: #F5F5F7;
    color: #1D1D1F;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 40px;
    max-width: none;
    width: 100%;
}

h2 {
    color: #6E6E73;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

/* Header animations */
header h1 {
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}

header h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #6E6E73;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.button-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

header h2 {
    margin-bottom: 25px;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

a {
    text-decoration: none;
    color: #1D1D1F;
}

#work-btn {
    background-color: #007AFF;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

#work-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
    background-color: #0056CC;
}

#work-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

#contact-btn {
    background-color: rgba(0, 0, 0, 0.04);
    color: #007AFF;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

#contact-btn:hover {
    transform: translateY(-1px);
    background-color: rgba(0, 0, 0, 0.08);
    color: #0056CC;
}

#contact-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Subtle background animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F5F5F7 0%, #E5E5EA 100%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* About Section - Apple Style */
.about-section {
    padding: 160px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.lead-text {
    font-size: 1.75rem;
    font-weight: 400;
    color: #6E6E73;
    margin-bottom: 32px;
    line-height: 1.47059;
    letter-spacing: -0.003em;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.body-text {
    font-size: 1.1rem;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.skill-tag {
    background: rgba(29, 29, 31, 0.08);
    color: #1D1D1F;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: rgba(29, 29, 31, 0.12);
    transform: translateY(-1px);
}

.about-visual {
    position: relative;
    height: 400px;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 320px;
    height: 450px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Hide testimonials and projects sections */
.testimonials-section,
.projects-section {
    display: none;
}

/* Simplified contact section */
.contact-section {
    text-align: center;
    padding: 6rem 0;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-method {
    display: inline-block;
    background: #007AFF;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
    background: #0056CC;
}

.visual-element {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-decoration {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
    opacity: 0.1;
    will-change: transform;
}

.square-decoration {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    border-radius: 20px;
    position: absolute;
    top: 30%;
    right: 20%;
    animation: float 6s ease-in-out infinite reverse;
    opacity: 0.1;
    will-change: transform;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .about-text h3 {
        font-size: 2.5rem;
    }
    
    .lead-text {
        font-size: 1.3rem;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .profile-photo {
        width: 250px;
        height: 350px;
    }
    
    .circle-decoration {
        width: 150px;
        height: 150px;
    }
    
    .square-decoration {
        width: 100px;
        height: 100px;
    }
}

/* Apple-style Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: #6E6E73;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1D1D1F;
}

.popup-content {
    padding: 0 24px 24px 24px;
}

.popup-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #424245;
    margin-bottom: 24px;
}

.popup-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.detail-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

.detail-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6E6E73;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1D1D1F;
}

/* Skill tag cursor pointer */
.skill-tag {
    cursor: pointer;
}

/* Projects Section - Apple Style */
.projects-section {
    padding: 160px 0;
    background: #F5F5F7;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.projects-header {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.projects-header h3 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin-bottom: 16px;
}

.projects-subtitle {
        font-size: 1.2rem;
    color: #6E6E73;
    font-weight: 400;
}

/* Project Showcase */
.project-showcase {
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

/* Hero Project */
.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px;
    background: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.02) 0%, rgba(88, 86, 214, 0.02) 100%);
    pointer-events: none;
}

.project-hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.hero-square {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    border-radius: 20px;
    position: absolute;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite reverse;
    opacity: 0.6;
}

.hero-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #34C759;
    position: absolute;
    bottom: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite 2s;
    opacity: 0.7;
}

.project-hero-content {
    position: relative;
    z-index: 1;
}

.project-category {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
}

.project-hero-content h4 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-hero-content p {
    font-size: 1.1rem;
    color: #424245;
    line-height: 1.47059;
    letter-spacing: -0.003em;
    margin-bottom: 32px;
}

.project-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.8rem;
    color: #6E6E73;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #1D1D1F;
    font-weight: 600;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(0, 0, 0, 0.04);
    color: #1D1D1F;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

/* Secondary Hero Projects */
.project-hero.secondary {
    margin-bottom: 100px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F7 100%);
}

.project-hero.secondary:nth-child(3) {
    margin-bottom: 0;
}

/* Mobile project colors */
.hero-circle.mobile {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    opacity: 0.8;
}

.hero-square.mobile {
    background: linear-gradient(135deg, #FF9500 0%, #FF9F0A 100%);
    opacity: 0.6;
}

.hero-triangle.mobile {
    border-bottom-color: #007AFF;
    opacity: 0.7;
}

/* Video project colors */
.hero-circle.video {
    background: linear-gradient(135deg, #FF3B30 0%, #FF453A 100%);
    opacity: 0.8;
}

.hero-square.video {
    background: linear-gradient(135deg, #5856D6 0%, #5E5CE6 100%);
    opacity: 0.6;
}

.hero-triangle.video {
    border-bottom-color: #FF9500;
    opacity: 0.7;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-item {
    background: #F5F5F7;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
}

.project-item-image {
    height: 200px;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.item-visual {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.item-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.project-item-content {
    padding: 32px;
}

.item-category {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    padding: 6px 12px;
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    margin-bottom: 12px;
}

.project-item-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin-bottom: 12px;
}

.project-item-content p {
    font-size: 0.95rem;
    color: #424245;
    line-height: 1.47059;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
}

.item-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-pill {
    background: rgba(0, 0, 0, 0.04);
    color: #1D1D1F;
    padding: 6px 12px;
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    transition: all 0.2s ease;
}

.tech-pill:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Responsive design for projects */
@media (max-width: 768px) {
    .projects-container {
        padding: 0 20px;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        margin-bottom: 60px;
    }
    
    .project-hero.secondary {
        margin-bottom: 60px;
    }
    
    .project-hero-content h4 {
        font-size: 2rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .projects-header h3 {
        font-size: 2.5rem;
    }
}

/* Testimonials Section - Apple Style */
.testimonials-section {
    padding: 160px 0;
    background: #FFFFFF;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.testimonials-header {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 2.4s both;
}

.testimonials-header h3 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    animation: fadeInUp 0.8s ease-out 2.6s both;
}

.testimonial-card {
    background: #F5F5F7;
    border-radius: 24px;
    padding: 48px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    color: #007AFF;
    margin-bottom: 24px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.47059;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin: 0 0 32px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D1D1F;
    letter-spacing: -0.003em;
}

.author-title {
    font-size: 0.9rem;
    color: #6E6E73;
    font-weight: 400;
    letter-spacing: -0.003em;
}

/* Testimonial card hover effects */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.02) 0%, rgba(88, 86, 214, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 24px;
}

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

/* Responsive design for testimonials */
@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial-card {
        padding: 32px;
    }
    
    .testimonial-text {
        font-size: 1.3rem;
    }
    
    .testimonials-header h3 {
        font-size: 2.5rem;
    }
}

/* Contact Section - Apple Style */
.contact-section {
    padding: 160px 0;
    background: #F5F5F7;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.contact-header {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 2.8s both;
}

.contact-header h3 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1D1D1F;
    margin-bottom: 20px;
}

.contact-subtitle {
        font-size: 1.2rem;
    color: #6E6E73;
    font-weight: 400;
    line-height: 1.47059;
    letter-spacing: -0.003em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    animation: fadeInUp 0.8s ease-out 3s both;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.method-icon {
    color: #007AFF;
    padding: 12px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 8px;
    letter-spacing: -0.003em;
}

.method-content p {
    font-size: 1rem;
    color: #424245;
    margin-bottom: 8px;
    font-weight: 500;
}

.response-time {
    font-size: 0.9rem;
    color: #6E6E73;
    font-weight: 400;
}

/* Contact Form */
.contact-form {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.form-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.form-header p {
    font-size: 1rem;
    color: #6E6E73;
    line-height: 1.47059;
    letter-spacing: -0.003em;
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1D1D1F;
    letter-spacing: -0.003em;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #FFFFFF;
    color: #1D1D1F;
    transition: all 0.2s ease;
    letter-spacing: -0.003em;
}

.form-group select {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #FFFFFF;
    color: #1D1D1F;
    transition: all 0.2s ease;
    letter-spacing: -0.003em;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23007AFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6E6E73;
}

.form-group select:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23424245' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

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

.submit-btn {
    background: #007AFF;
    color: #FFFFFF;
    border: none;
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #0056CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Plane animation */
.plane-container {
    position: relative;
    overflow: visible;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plane-icon {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.submit-btn:hover .plane-icon {
    transform: translateX(2px) translateY(-1px) rotate(10deg);
    animation: planeFly 0.8s ease-in-out infinite;
}

@keyframes planeFly {
    0%, 100% {
        transform: translateX(2px) translateY(-1px) rotate(10deg);
    }
    50% {
        transform: translateX(4px) translateY(-2px) rotate(15deg);
    }
}

/* Button click animation */
.submit-btn:active .plane-icon {
    animation: planeSend 0.6s ease-out forwards;
}

@keyframes planeSend {
    0% {
        transform: translateX(2px) translateY(-1px) rotate(10deg);
        opacity: 1;
    }
    30% {
        transform: translateX(6px) translateY(-3px) rotate(20deg);
        opacity: 1;
    }
    70% {
        transform: translateX(12px) translateY(-6px) rotate(30deg);
        opacity: 0.7;
    }
    100% {
        transform: translateX(16px) translateY(-8px) rotate(40deg);
        opacity: 0;
    }
}

/* Responsive design for contact */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-header h3 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 32px;
    }
    
}

/* Footer - Apple Style */
.footer {
    padding: 60px 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 3.2s both;
}

.footer-left {
    flex: 1;
}

.footer-text {
    font-size: 1rem;
    color: #6E6E73;
    font-weight: 400;
    letter-spacing: -0.003em;
    line-height: 1.47059;
    margin: 0;
}

.footer-right {
    flex-shrink: 0;
}

.footer-copyright {
    font-size: 1rem;
    color: #6E6E73;
    font-weight: 400;
    letter-spacing: -0.003em;
    line-height: 1.47059;
    margin: 0;
}

/* Responsive design for footer */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer {
        padding: 40px 0;
    }
}



/* Project Actions */
.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.project-demo-btn,
.project-case-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.003em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-demo-btn {
    background: #007AFF;
    color: white;
}

.project-demo-btn:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.project-case-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #1D1D1F;
}

.project-case-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
    transform: translateY(-2px);
}

/* Interactive Demo Modal */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.demo-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.demo-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.demo-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-header {
    margin-bottom: 30px;
}

.demo-header h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 12px;
    color: #1D1D1F;
}

.demo-header p {
    font-size: 1.1rem;
    color: #6E6E73;
    line-height: 1.47059;
    letter-spacing: -0.003em;
}

.demo-iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    background: #F5F5F7;
}

/* Process Timeline */
.process-timeline {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.process-timeline h4 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 24px;
    color: #1D1D1F;
}

.timeline-steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background: rgba(0, 122, 255, 0.3);
    transform: translateY(-50%);
}

.timeline-step:last-child::before {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #007AFF;
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 8px;
    color: #1D1D1F;
}

.step-description {
    font-size: 0.9rem;
    color: #6E6E73;
    line-height: 1.47059;
    letter-spacing: -0.003em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lightbox-container {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav {
        gap: 20px;
    }
    
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-gallery-btn,
    .project-demo-btn,
    .project-case-btn {
        width: 100%;
        justify-content: center;
    }
    
    .demo-content {
        padding: 20px;
        margin: 20px;
    }
    
    .timeline-steps {
        flex-direction: column;
    }
    
    .timeline-step::before {
        display: none;
    }
}

