/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #0f1117;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(126, 184, 247, 0.12), transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(126, 184, 247, 0.08), transparent 45%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === NAVIGATION === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0f1117;
    padding: 1rem 2rem;
    border-bottom: 1px solid #2a2a3a;
    z-index: 100;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: #7eb8f7;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    header {
        padding: 1rem;
    }

    nav {
        gap: 1rem 1.25rem;
    }

    nav a {
        font-size: 0.8rem;
    }
}

/* === SECTIONS === */
section {
    padding: 5rem 2rem 3rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    section {
        padding: 4.5rem 1.25rem 2.5rem;
    }

    #hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
}

/* === SERVICES SECTION === */
#services-intro {
    color: #a0a0b0;
    max-width: 65ch;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

#services-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

#services-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    #services-layout {
        grid-template-columns: 1fr;
    }
}

.feature-row {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-left: 3px solid #7eb8f7;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    transition: border-color 0.2s ease;
}

.feature-row:hover {
    border-color: #7eb8f7;
}

.feature-row h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-tech {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.feature-plain {
    color: #7eb8f7;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* === PRICING BANNER === */
#pricing-banner {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    gap: 2rem;
}

#pricing-copy h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

#pricing-copy p {
    color: #a0a0b0;
    font-size: 0.9rem;
}

.pricing-plans {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.pricing-plan {
    background-color: #0f1117;
    border: 1px solid #2a2a3a;
    border-radius: 6px;
    padding: 1.25rem;
}

.pricing-plan h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.price-number {
    color: #7eb8f7;
    font-size: 1.75rem;
    font-weight: bold;
}

.price-label {
    color: #a0a0b0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-sub {
    color: #7eb8f7;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.plan-note {
    color: #a0a0b0;
    font-size: 0.8rem;
    line-height: 1.5;
}

.pricing-divider {
    color: #5a5a70;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#pricing-banner .btn-primary {
    width: 100%;
    text-align: center;
}

/* === PORTFOLIO SECTION === */
#portfolio-intro {
    color: #a0a0b0;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

#portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

#testimonial {
    margin-top: 3rem;
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
}

#testimonial-label {
    color: #7eb8f7;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

#testimonial blockquote {
    color: #e0e0e0;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto 1.25rem;
}

#testimonial-attribution {
    color: #5a5a70;
    font-size: 0.85rem;
}

.project-card {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #7eb8f7;
}

.project-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a3a, #1a1a2e);
    color: #5a5a70;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-body h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.project-body p {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.project-tags span {
    background-color: #0f1117;
    border: 1px solid #2a2a3a;
    color: #7eb8f7;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.project-link {
    margin-top: auto;
    color: #7eb8f7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    align-self: flex-start;
}

.project-link:hover {
    color: #ffffff;
}

/* === HERO === */
#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    padding-top: 9rem;
    padding-bottom: 6rem;
}

#hero-container {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 3rem;
}

@media (max-width: 600px) {
    #hero-container {
        padding: 2rem 1.5rem;
    }
}

#hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 600px;
    height: 600px;
    max-width: 90vw;
    background: radial-gradient(circle, rgba(126, 184, 247, 0.08), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

#hero-kicker {
    color: #7eb8f7;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

#hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
}

#hero-subtext {
    color: #a0a0b0;
    font-size: 1.1rem;
    max-width: 55ch;
    margin-bottom: 2rem;
}

#hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    width: fit-content;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background-color: #7eb8f7;
    color: #0f1117;
    border: 1px solid #7eb8f7;
}

.btn-primary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #7eb8f7;
    border: 1px solid #2a2a3a;
}

.btn-secondary:hover {
    border-color: #7eb8f7;
    transform: translateY(-2px);
}

#hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#hero-stats span {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    color: #a0a0b0;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

/* === SECTION HEADINGS === */
h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #ffffff;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7eb8f7;
}

/* === ABOUT === */
#about-intro {
    color: #a0a0b0;
    max-width: 65ch;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

#about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    #about-layout {
        grid-template-columns: 1fr;
    }
}

#about-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#about-text p {
    color: #a0a0b0;
    line-height: 1.7;
    max-width: 65ch;
}

#about-facts {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
}

#about-facts h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

#about-facts ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#about-facts li {
    color: #a0a0b0;
    font-size: 0.9rem;
    border-top: 1px solid #2a2a3a;
    padding-top: 1rem;
}

#about-facts li:first-child {
    border-top: none;
    padding-top: 0;
}

.fact-number {
    display: block;
    color: #7eb8f7;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.15rem;
}

/* === PROCESS === */
#process-intro {
    color: #a0a0b0;
    max-width: 65ch;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

#process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    #process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #process-grid {
        grid-template-columns: 1fr;
    }
}

.process-step {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.process-step:hover {
    border-color: #7eb8f7;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #0f1117;
    border: 1px solid #7eb8f7;
    border-radius: 50%;
    color: #7eb8f7;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.process-step h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.process-step p {
    color: #a0a0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === CONTACT === */
#contact-intro {
    color: #a0a0b0;
    max-width: 65ch;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: bold;
}

.form-field .optional {
    color: #5a5a70;
    font-weight: normal;
    font-size: 0.8rem;
}

.form-field input,
.form-field textarea {
    background-color: #1a1a2e;
    border: 1px solid #2a2a3a;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #7eb8f7;
}

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

.hidden-field {
    position: absolute;
    left: -9999px;
}

button.btn-primary {
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}

/* === THANK YOU PAGE === */
#thank-you {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#thank-you h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

#thank-you p {
    color: #a0a0b0;
    font-size: 1.1rem;
    max-width: 50ch;
    margin-bottom: 2rem;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #2a2a3a;
    color: #6a6a7a;
    font-size: 0.85rem;
}