/* CSS Variables */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-card-border: #2a2a2a;
    --text-primary: #e5e5e5;
    --text-secondary: #888888;
    --text-muted: #666666;
    --accent: #e85a2c;
    --accent-hover: #ff6b3d;
    --white: #ffffff;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-card-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.logo-icon {
    opacity: 0.7;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 15px;
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 32px;
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: var(--text-muted);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 90, 44, 0.1);
    border: 1px solid rgba(232, 90, 44, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.feature-bar {
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(232, 90, 44, 0.3) 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Code Block */
.code-block {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    height: 8px;
    background: linear-gradient(90deg, var(--accent) 0%, #9333ea 50%, #3b82f6 100%);
}

.code-block pre {
    padding: 24px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.8;
}

.code-block code {
    font-family: var(--font-mono);
}

.code-block .keyword {
    color: #c792ea;
}

.code-block .class-name {
    color: #ffcb6b;
}

.code-block .function {
    color: #82aaff;
}

.code-block .param {
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.contact .section-title {
    margin-bottom: 48px;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 40px;
}

.contact-info {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 14px;
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item a {
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

.form-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-card-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contact-form select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    background-color: var(--white);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.form-status.success {
    color: #22c55e;
}

.form-status.error {
    color: #ef4444;
}

/* About Page */
.about-hero {
    padding: 160px 0 80px;
    background-color: var(--bg-primary);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.about-hero-content {
    max-width: 600px;
}

.about-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.about-intro {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* About Photo */
.about-photo-container {
    display: flex;
    justify-content: center;
}

.about-photo-frame {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    overflow: hidden;
    width: 280px;
}

.photo-header {
    height: 8px;
    background: linear-gradient(90deg, var(--accent) 0%, #9333ea 50%, #3b82f6 100%);
}

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

.photo-caption {
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--bg-card-border);
}

.caption-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.caption-credentials {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

/* Bio Section */
.about-bio {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.bio-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.bio-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Credentials Card */
.credentials-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.credentials-header {
    height: 8px;
    background: linear-gradient(90deg, var(--accent) 0%, #9333ea 50%, #3b82f6 100%);
}

.credentials-content {
    padding: 24px;
}

.credential {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.credential:last-child {
    margin-bottom: 0;
}

.credential-label {
    color: var(--text-muted);
    font-style: italic;
}

.credential-key {
    color: #82aaff;
}

.credential-value {
    color: #c3e88d;
}

/* Clients Section */
.about-clients {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.client-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 32px;
    transition: border-color 0.2s ease;
}

.client-card:hover {
    border-color: var(--text-muted);
}

.client-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 90, 44, 0.1);
    border: 1px solid rgba(232, 90, 44, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--accent);
}

.client-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.client-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Philosophy Section */
.about-philosophy {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.philosophy-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Personal Block */
.personal-block {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.personal-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--bg-card-border);
}

.personal-label {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.personal-content {
    padding: 24px;
}

.personal-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.personal-content p:last-child {
    margin-bottom: 0;
}

.personal-highlight {
    color: var(--text-primary);
    padding-top: 8px;
    border-top: 1px solid var(--bg-card-border);
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.cta-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 48px;
}

.cta-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== */
/* Pricing Page Styles  */
/* ==================== */

.pricing-hero {
    padding: 160px 0 60px;
    background-color: var(--bg-primary);
}

.pricing-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.pricing-intro {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.pricing-section.alt-bg {
    background-color: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--text-muted);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(232, 90, 44, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bg-card-border);
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 8px;
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.pricing-features .check {
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Add-ons */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.addon-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.addon-card:hover {
    border-color: var(--text-muted);
}

.addon-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.addon-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.addon-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing CTA */
.pricing-cta {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--bg-card-border);
    text-align: center;
}

.footer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-hero-content {
        max-width: 100%;
    }

    .about-photo-container {
        justify-content: center;
        padding-right: 0;
    }

    .about-photo-frame {
        width: 220px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .code-block {
        order: -1;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .credentials-card {
        order: -1;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .personal-block {
        order: -1;
    }
}

@media (max-width: 600px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 13px;
    }

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

    .pricing-hero {
        padding: 120px 0 40px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .contact-card {
        padding: 24px;
    }

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

    .about-hero {
        padding: 120px 0 60px;
    }

    .about-intro {
        font-size: 16px;
    }

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

    .cta-card {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
