/* Reset and base styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');


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

:root {
    --background: hsl(220, 27%, 18%);
    --foreground: hsl(220, 9%, 96%);
    --card: hsl(220, 27%, 16%);
    --card-foreground: hsl(220, 9%, 96%);
    --primary: hsl(263, 70%, 50%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(220, 27%, 20%);
    --secondary-foreground: hsl(220, 9%, 96%);
    --muted: hsl(220, 27%, 14%);
    --muted-foreground: hsl(220, 9%, 65%);
    --accent: hsl(263, 70%, 60%);
    --accent-foreground: hsl(0, 0%, 100%);
    --border: hsl(220, 27%, 24%);
    /* --radius: 0.75rem; */
    --radius: 4px;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
    font-family: "Montserrat", Roboto, sans-serif;

    background: linear-gradient(135deg, var(--background), hsl(263, 70%, 25%));
    color: var(--foreground);
    min-height: 100vh;
    line-height: 1.6;
}

.page-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background), hsla(263, 70%, 60%, 0.2));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: hsla(220, 27%, 18%, 0.8);
    border-bottom: 1px solid hsla(220, 27%, 24%, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.logo {
    width: auto;
    height: 2.5rem;
}

.company-name {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--foreground);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    color: var(--foreground);
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

img {
    border-radius: 4px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 36rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
}

.cta-button {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    background: hsl(263, 70%, 45%);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.illustration {
    width: 100%;
    height: auto;
    max-width: 32rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-card {
    background: hsla(220, 27%, 16%, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(220, 27%, 24%, 0.5);
    border-radius: var(--radius);
    padding: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    grid-template-areas:
        "a"
        "b";
}

.content-a {
    grid-area: a;
}

.content-b {
    grid-area: b;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "b a";

    }
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.services-title {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--foreground);
}

.services-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.services-button {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.services-button:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

#contact {
    * {
        font-family: 'Montserrat';
    }

    input::placeholder,
    textarea::placeholder {
        text-transform: none;
        /* remove uppercase */
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--foreground);
}

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

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
}

.contact-email {
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

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

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

.form-input,
.form-textarea {
    background: hsla(220, 27%, 16%, 0.5);
    border: 1px solid hsla(220, 27%, 24%, 0.5);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--foreground);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 160px;
}

.form-submit:hover {
    background: hsl(263, 70%, 45%);
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-status.sending {
    background: transparent;
    color: var(--muted-foreground);
    border: 1px solid hsla(220, 27%, 24%, 0.3);
}

.form-status.success {
    background: hsla(263, 70%, 50%, 0.1);
    /* color: var(--primary); */
    color: white;
    border: 1px solid hsla(263, 70%, 50%, 0.2);
}

.form-status.error {
    background: hsla(0, 50%, 50%, 0.1);
    color: hsl(0, 50%, 60%);
    border: 1px solid hsla(0, 50%, 50%, 0.2);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
}

.top-button {
    background: transparent;
    color: var(--muted-foreground);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: color 0.3s ease;
}

.top-button:hover {
    color: var(--foreground);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .services-title {
        font-size: 1.875rem;
    }

    .contact-title {
        font-size: 1.875rem;
    }

    .services-card {
        padding: 1.5rem;
    }

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