* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --upwork-green: #14a800;
    --upwork-dark: #001e00;
    --upwork-gray: #5e6e6e;
    --upwork-light: #e4ebeb;
    --white: #ffffff;
    --dark-text: #1f2a2a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo h1 a {
    text-decoration: none;
    color: var(--upwork-dark);
}

.logo h1 span {
    color: var(--upwork-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--upwork-green);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.profile-badge {
    margin-bottom: 20px;
}

.top-rated-badge {
    background: var(--upwork-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--upwork-green);
}

.hero-tagline {
    font-size: 18px;
    color: var(--upwork-gray);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--upwork-green);
}

.stat-label {
    font-size: 13px;
    color: var(--upwork-gray);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--upwork-green);
    color: white;
}

.btn-primary:hover {
    background: #0e8a00;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--upwork-green);
    border: 2px solid var(--upwork-green);
}

.btn-outline:hover {
    background: var(--upwork-green);
    color: white;
}

.btn-secondary {
    background: var(--upwork-light);
    color: var(--upwork-dark);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Profile Card - Upwork Style */
.profile-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--upwork-light);
}

.profile-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--upwork-light);
}

.profile-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--upwork-green), #0e8a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.profile-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 13px;
    color: var(--upwork-gray);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.profile-stat {
    text-align: center;
}

.profile-stat .stat-value {
    display: block;
    font-weight: 700;
    color: var(--upwork-dark);
}

.profile-stat .stat-name {
    font-size: 11px;
    color: var(--upwork-gray);
}

.specialties h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tags span {
    background: var(--upwork-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Subjects Section */
.subjects-section {
    padding: 80px 0;
    background: #fafbfb;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--upwork-dark);
}

.section-header p {
    color: var(--upwork-gray);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.subject-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.subject-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.subject-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--upwork-dark);
}

.subject-card p {
    color: var(--upwork-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.subject-card ul {
    list-style: none;
}

.subject-card li {
    font-size: 13px;
    padding: 6px 0;
    color: #4a5a5a;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--upwork-light);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--upwork-green);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--upwork-green);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--upwork-green);
    margin-bottom: 16px;
}

.price span {
    font-size: 16px;
    font-weight: normal;
    color: var(--upwork-gray);
}

.pricing-card p {
    color: var(--upwork-gray);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    font-size: 14px;
}

.offer-banner {
    background: linear-gradient(135deg, var(--upwork-green), #0e8a00);
    color: white;
    text-align: center;
    padding: 32px;
    border-radius: 20px;
}

.offer-banner p {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.9;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: #fafbfb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.feature-card {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.tutor-showcase {
    background: white;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.tutor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--upwork-green), #0e8a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.tutor-details h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.tutor-details p {
    color: var(--upwork-gray);
}

.tutor-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tutor-stat {
    text-align: center;
}

.tutor-stat strong {
    display: block;
    font-size: 12px;
    color: var(--upwork-gray);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--upwork-dark), #003300);
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: #fafbfb;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
}

.booking-form-container {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--upwork-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--upwork-green);
}

#form-message {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
}

#form-message.success {
    background: #d4edda;
    color: #155724;
}

#form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.info-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    margin-bottom: 16px;
}

.info-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.info-card li {
    padding: 8px 0;
}

.contact-direct {
    border-top: 1px solid var(--upwork-light);
    padding-top: 20px;
}

.contact-direct p {
    padding: 4px 0;
}

/* Footer */
.site-footer {
    background: var(--upwork-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-info p {
    opacity: 0.7;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 16px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tutor-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}