/* ==========================================
   GLOBAL STYLES & DESIGN SYSTEM
   ========================================== */

:root {
    --primary-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #e63e2a;
    --button-bg: #111111;
    --divider-bg: #f7f7f7;
    --border-color: #e5e5e5;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --spacing-unit: 1.5rem;
    --container-width: 900px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    color: var(--text-primary);
    font-size: 1rem;
}

.italic-accent {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 500;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: slideUp 0.6s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: expandWidth 0.8s ease;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    background-color: var(--primary-bg) !important;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo:hover {
    color: var(--accent-color) !important;
}

.navbar-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-course {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-course:hover {
    background-color: var(--text-primary);
    color: var(--primary-bg);
}

.btn-call {
    background-color: var(--button-bg);
    color: var(--primary-bg);
    border: 1px solid var(--button-bg);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-call:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: 6px;
    padding: 0.875rem 1.75rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--button-bg);
    color: var(--primary-bg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(17, 17, 17, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 62, 42, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(230, 62, 42, 0.3);
}

.btn-cta {
    font-size: 1.1rem;
    padding: 1rem 2.5rem !important;
    letter-spacing: 0.5px;
}

.btn-dark {
    background-color: var(--button-bg);
    color: var(--primary-bg);
}

.btn-dark:hover, .btn-dark:focus {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.btn-submit {
    padding: 0.875rem 1.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 0.8s ease;
}

.hero-container {
    max-width: var(--container-width);
    padding: 3rem 1.5rem;
    text-align: center;
}

.hero-title {
    margin: 1.5rem 0;
    animation: slideUp 0.7s ease;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 1.5rem 0 2rem 0;
    animation: slideUp 0.8s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    animation: fadeIn 1s ease;
}

/* ==========================================
   SECTIONS & CONTAINERS
   ========================================== */

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideUp 0.6s ease;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
    animation: expandWidth 0.8s ease 0.2s backwards;
}

.solution-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    animation: slideUp 0.7s ease;
}

/* ==========================================
   COURSE BANNER
   ========================================== */

.course-banner {
    background-color: var(--divider-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.course-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.course-highlight {
    text-align: center;
    animation: fadeInUp 0.7s ease;
}

.course-highlight h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.price-tag {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.course-highlight p {
    font-size: 1.05rem;
    margin: 0.75rem 0;
    color: var(--text-primary);
}

.payment-info {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.payment-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.payment-details {
    list-style: none;
    font-size: 0.95rem;
}

.payment-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--divider-bg);
}

.payment-details li:last-child {
    border-bottom: none;
}

.payment-contact {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* ==========================================
   PROBLEM SECTION
   ========================================== */

.problem-section {
    background-color: var(--divider-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.problem-cards {
    gap: 2rem;
}

.problem-card {
    background-color: var(--primary-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    border: 1px solid var(--border-color);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(230, 62, 42, 0.15);
    border-color: var(--accent-color);
}

.problem-card:hover .card-badge {
    animation: bounce 0.6s ease;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   SOLUTION SECTION
   ========================================== */

.solution-cards {
    gap: 2rem;
}

.solution-card {
    background-color: var(--divider-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: var(--primary-bg);
    box-shadow: 0 15px 40px rgba(230, 62, 42, 0.15);
}

.solution-card:hover .icon-placeholder {
    animation: float 0.6s ease;
}

.icon-placeholder {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   SOCIAL PROOF SECTION
   ========================================== */

.social-proof-section {
    background-color: var(--divider-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials {
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(230, 62, 42, 0.15);
    border: 1px solid var(--accent-color);
}

.testimonial-card:hover .profile-image-sm {
    animation: pulse 0.8s ease;
    box-shadow: 0 8px 24px rgba(230, 62, 42, 0.3);
}

.avatar-placeholder {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.testimonial-card .business {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 1rem 0;
    font-style: italic;
}

.rating {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */

.final-cta-section {
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.final-cta-section .section-title {
    margin-bottom: 2rem;
}

/* ==========================================
   PROCESS TIMELINE
   ========================================== */

.process-section {
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 0.6s ease;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: 4px solid var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(230, 62, 42, 0.3);
    z-index: 10;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--divider-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.timeline-content p.italic-accent {
    margin-bottom: 1.5rem;
}

.image-placeholder {
    background-color: #e8e8e8;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.image-placeholder p {
    margin: 0;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        margin-left: 80px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

/* ==========================================
   WHO IT'S FOR SECTION
   ========================================== */

.who-for-section {
    background-color: var(--divider-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.who-for-content {
    display: grid;
    gap: 2rem;
}

.who-for-item {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    animation: fadeInUp 0.6s ease;
}

.who-for-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.who-for-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================
   MODALS
   ========================================== */

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-bg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 62, 42, 0.1);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

.success-icon {
    color: #27ae60;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--divider-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.footer .container {
    max-width: var(--container-width);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.office-location {
    margin-top: 1rem;
    font-weight: 500;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

/* ==========================================
   PROFESSIONAL ANIMATIONS & TRANSITIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(230, 62, 42, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(230, 62, 42, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

/* ==========================================
   IMAGE STYLES
   ========================================== */

.hero-image {
    max-width: 100%;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(230, 62, 42, 0.2), 0 0 40px rgba(230, 62, 42, 0.1);
    animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: cover;
    transition: all 0.4s ease;
    border: 1px solid rgba(230, 62, 42, 0.2);
}

.hero-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 80px rgba(230, 62, 42, 0.3), 0 0 60px rgba(230, 62, 42, 0.15);
}

.developer-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(230, 62, 42, 0.25), 0 0 50px rgba(230, 62, 42, 0.12);
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: cover;
    transition: all 0.4s ease;
    border: 2px solid rgba(230, 62, 42, 0.15);
}

.developer-image:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 80px rgba(230, 62, 42, 0.35), 0 0 60px rgba(230, 62, 42, 0.18);
}

.profile-image-sm {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(230, 62, 42, 0.2);
}

.profile-image-md {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(230, 62, 42, 0.2);
}

.footer-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--divider-bg);
}

.footer-profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.footer-profile-text p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-profile-text .name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* ==========================================
   RESPONSIVE DESIGN - COMPREHENSIVE BREAKPOINTS
   ========================================== */

/* ===== XXL Devices (1920px+) Desktop ===== */
@media (min-width: 1920px) {
    :root {
        --container-width: 1400px;
        --spacing-unit: 2rem;
    }

    body { font-size: 1.1rem; }
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2rem; }

    .section-container { padding: 5rem 2rem; }
    .hero-section { min-height: 100vh; }
    .hero-title { font-size: 4.5rem; }
}

/* ===== XL Devices (1440px - 1919px) Large Desktop ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
    :root {
        --container-width: 1200px;
        --spacing-unit: 1.75rem;
    }

    h1 { font-size: 4rem; }
    h2 { font-size: 2.75rem; }
    .section-container { padding: 4rem 1.5rem; }
    .hero-title { font-size: 4rem; }
}

/* ===== Large Devices (1025px - 1439px) Desktop ===== */
@media (min-width: 1025px) and (max-width: 1439px) {
    :root {
        --container-width: 1000px;
        --spacing-unit: 1.5rem;
    }

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }

    .hero-title { font-size: 3.5rem; }
    .section-container { padding: 3.5rem 1.5rem; }
}

/* ===== Medium Devices (769px - 1024px) Tablet ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --container-width: 95%;
        --spacing-unit: 1.25rem;
    }

    body { font-size: 0.95rem; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }

    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.05rem; }

    .section-container { padding: 2.5rem 1.25rem; }

    .hero-section > div > div {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }

    .navbar-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }

    .btn-course, .btn-call {
        width: auto;
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem;
    }

    .problem-cards, .solution-cards, .testimonials {
        gap: 1.5rem;
    }

    .problem-card, .solution-card, .testimonial-card {
        padding: 1.75rem;
    }

    .price-tag { font-size: 2.2rem; }

    .developer-intro-section > .section-container > div {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

/* ===== Small Devices (481px - 768px) Mobile ===== */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --container-width: 100%;
        --spacing-unit: 1rem;
    }

    body { font-size: 0.9rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero-title { font-size: 2rem; margin: 1rem 0; }
    .hero-subtitle { font-size: 1rem; }

    .hero-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .developer-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .developer-intro-section > .section-container > div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .navbar-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .btn-course, .btn-call {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem;
    }

    .btn-cta {
        font-size: 0.95rem;
        padding: 0.875rem 1.75rem !important;
    }

    .section-container { padding: 2rem 1rem; }

    .problem-cards, .solution-cards, .testimonials {
        gap: 1.25rem;
    }

    .problem-card, .solution-card, .testimonial-card {
        padding: 1.5rem;
    }

    .price-tag { font-size: 1.8rem; }
    .payment-info { padding: 1.25rem; }
    .course-highlight h2 { font-size: 1.35rem; }

    .brand-logo { font-size: 1.1rem; }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .timeline-item {
        margin-left: 75px;
    }
}

/* ===== Mini Devices (321px - 480px) Small Mobile ===== */
@media (max-width: 480px) {
    :root {
        --container-width: 100%;
        --spacing-unit: 0.75rem;
    }

    body { font-size: 0.85rem; line-height: 1.5; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }

    .navbar {
        padding: 1rem 0;
    }

    .brand-logo {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .hero-section {
        min-height: auto;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-container {
        padding: 1.5rem 1rem;
    }

    .hero-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hero-title {
        font-size: 1.5rem;
        margin: 0.75rem 0;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin: 0.75rem 0 1rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
    }

    .btn-primary, .btn-dark, .btn-course, .btn-call {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.8rem;
        border-radius: 4px;
        width: 100%;
    }

    .btn-cta {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem !important;
        width: 100%;
    }

    .navbar-buttons {
        flex-direction: column;
        gap: 0.4rem;
        margin-top: 0.5rem;
    }

    .btn-course, .btn-call {
        margin-bottom: 0.25rem;
    }

    .section-container {
        max-width: 100%;
        padding: 1.5rem 0.75rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .solution-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .problem-cards, .solution-cards, .testimonials {
        gap: 1rem;
    }

    .problem-card, .solution-card, .testimonial-card, .who-for-item {
        padding: 1.25rem 1rem;
        margin-bottom: 0.5rem;
    }

    .card-badge {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .problem-card h3, .solution-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .problem-card p, .solution-card p, .testimonial-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .price-tag {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .course-highlight {
        text-align: center;
    }

    .course-highlight h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .course-highlight p {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .payment-info {
        padding: 1rem;
        margin-top: 1rem;
    }

    .payment-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .payment-details {
        font-size: 0.8rem;
    }

    .payment-details li {
        padding: 0.35rem 0;
        border-bottom: 1px solid var(--divider-bg);
    }

    .payment-details li:last-child {
        border-bottom: none;
    }

    .payment-contact {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    .hero-image {
        max-width: 100%;
        max-height: 250px;
        object-fit: cover;
        margin: 1rem auto 0;
    }

    .developer-image {
        max-width: 100%;
        max-height: 280px;
        object-fit: cover;
        margin: 0 auto;
    }

    .profile-image-sm {
        width: 80px;
        height: 80px;
        margin: 0 auto 0.75rem;
    }

    .profile-image-md {
        width: 120px;
        height: 120px;
    }

    .footer-profile {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }

    .footer-profile-img {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .footer-profile-text p {
        font-size: 0.75rem;
        margin: 0.25rem 0;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer p {
        font-size: 0.75rem;
        margin: 0.5rem 0;
    }

    .office-location {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }

    .trust-text {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }

    /* Timeline Responsive */
    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        margin-left: 65px;
        margin-bottom: 1.5rem;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .image-placeholder {
        padding: 1.5rem;
        font-size: 0.8rem;
    }

    .image-placeholder p {
        font-size: 1.2rem;
    }

    .who-for-item {
        border-left: 3px solid var(--accent-color);
        margin-bottom: 1rem;
    }

    .who-for-item h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .who-for-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Modal Responsive */
    .modal-content {
        border-radius: 8px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .form-control, .form-select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .btn-submit {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem;
    }

    .success-icon {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }

    .icon-placeholder {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .avatar-placeholder {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-card .business {
        font-size: 0.75rem;
    }

    .testimonial-card .quote {
        font-size: 0.8rem;
        margin: 0.75rem 0;
    }

    .rating {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
}

/* ===== Foldable Devices (1920px+ when unfolded) ===== */
@media (min-width: 1920px) and (aspect-ratio: 4 / 3) {
    body { font-size: 1.15rem; }
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3rem; }
    .section-container { padding: 5rem 3rem; }
}

/* ===== Portrait Orientation Optimization ===== */
@media (orientation: portrait) and (max-width: 768px) {
    .hero-section { min-height: auto; }
    .section-container { padding: 1.5rem 1rem; }
}

/* ===== Landscape Orientation Optimization ===== */
@media (orientation: landscape) and (max-height: 600px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .hero-section { min-height: auto; padding: 1.5rem 0; }
    .section-container { padding: 1.5rem 1rem; }
    .navbar { padding: 0.75rem 0; }
}

/* ===== Touch-Friendly Adjustments ===== */
@media (hover: none) and (pointer: coarse) {
    .btn-course, .btn-call, .btn-primary, .btn-dark, .btn-submit {
        min-height: 48px;
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem;
    }

    .form-control, .form-select {
        min-height: 48px;
        padding: 0.75rem !important;
        font-size: 16px;
    }

    a { padding: 0.5rem 0.25rem; }
}

/* ===== Print Optimization ===== */
@media print {
    .navbar, .footer, .modal, .btn-cta {
        display: none;
    }

    body { color: #000; background: #fff; }
    h1, h2, h3 { page-break-after: avoid; }
    .section-container { page-break-inside: avoid; }
}