:root {
    /* Light Theme - Apple-inspired */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fafafa;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #6e6e73;
    --accent-primary: #6366F1;
    --accent-secondary: #818CF8;
    --border-color: #d2d2d7;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Apple-inspired */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.navbar-brand .logo-icon {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 400;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
}

.btn-primary-custom {
    background: #447CF5;
    border: none;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    letter-spacing: -0.01em;
}

.btn-primary-custom:hover {
    background: #2E5FDB;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Hero Section - Apple-inspired */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
    scroll-margin-top: 80px;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    background: var(--bg-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-tag::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--accent-primary);
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 2px solid #447CF5;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #447CF5;
    margin-bottom: 2rem;
    background: transparent;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title-thin {
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.9em;
}

/* Gradient text effect - reusable class */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 40%, #8B5CF6 70%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

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

.btn-outline-custom {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn-outline-custom:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Section Styling - Apple-inspired */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.section-underline {
    width: 60px;
    height: 2px;
    background: var(--accent-primary);
    margin: 1.5rem 0 3rem;
    border-radius: 1px;
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
}

.about-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-name {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-title {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-text {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.qualification-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.qualification-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qualification-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

/* Apps Section */
.apps-section {
    background: var(--bg-primary);
}

.app-card {
    background: var(--bg-primary);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.app-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.app-card:hover .app-image {
    transform: scale(1.05);
}

.app-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-primary);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.app-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.app-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.app-description {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.app-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.app-features li::before {
    content: "✓";
    color: var(--accent-primary);
    font-weight: 600;
}

.app-store-btn {
    background: #447CF5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.app-store-btn:hover {
    background: #2E5FDB;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Music Portfolio Section */
.music-section {
    background: var(--bg-secondary);
}

.music-card {
    background: var(--bg-primary);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.music-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.music-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.music-info {
    padding: 1.75rem;
}

.music-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.music-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.music-year {
    color: var(--accent-primary);
    font-weight: 600;
    float: right;
}

.music-platforms {
    text-align: center;
    margin-top: 4rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.platform-link:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

/* Projects Section */
.projects-section {
    background: var(--bg-primary);
}

.project-card {
    background: var(--bg-primary);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1.75rem;
}

.project-category {
    font-size: 0.7rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.project-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-quote-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.testimonial-divider {
    width: 60px;
    height: 3px;
    background-color: #FF6B35;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.testimonial-profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-primary);
}

.contact-content {
    background: var(--bg-secondary);
    border-radius: 18px;
    padding: 3.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.contact-form {
    background: var(--bg-primary);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.form-control,
.form-control:focus {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Form Messages */
#form-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

#form-message.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

#form-message.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Submit Button Loading State */
#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submit-btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-content {
        padding: 2rem;
    }
}

/* Extra small screens - additional padding */
@media (max-width: 480px) {
    .hero-section {
        padding: 7rem 0 3rem;
    }
}

/* Desktop/Large Screen Adjustments - Reduce spacing */
@media (min-width: 769px) {
    .hero-section {
        min-height: 70vh;
        padding-bottom: 2rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }
    
    .about-section {
        padding-top: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Placeholders */
.img-placeholder {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 400;
    border: 1px solid var(--border-color);
}

