:root {
    --page-max-width: 1180px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 40px; /* Adjust this to match your navbar height */
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.content-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Colors */
.text-blue { color: #2563eb; }
.text-slate-900 { color: #0f172a; }
.text-slate-500 { color: #64748b; }

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid #f1f5f9;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #000;
    text-decoration: none;
    user-select: none;
}

.nav-links {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
}

.nav-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.2s;
}

.nav-links a:hover { color: #2563eb; }

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .hero { padding-top: 14rem; padding-bottom: 10rem; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.625;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover { background-color: #1d4ed8; }



.btn-outline {
    background-color: white;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-outline:hover { background-color: #f8fafc; }

.right-links {
    display: flex;
    gap: 8px;
}

.btn-secondary {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 8px 1.25rem;
    text-decoration: none;
}

.hero-actions a {
    letter-spacing: 0.025em;
    padding: 1rem 2.62rem;
    font-family: inherit;
    text-decoration: none;
}

.btn-secondary:hover { background-color: #e8e8ed; }

/* Features Section */
.features-section { padding: 6rem 0; background: white; }

.features-grid {
    display: grid;
    gap: 7rem;
    align-items: center;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}

.features-text { max-width: 440px; }

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.section-desc {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 15px;
}

.feature-list strong { color: #0f172a; font-weight: 500; }

.icon-blue { color: #2563eb; margin-top: 0.25rem; font-size: 0.875rem; }

.features-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.feature-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature-card i { font-size: 1.875rem; margin-bottom: 1.25rem; display: block; }
.icon-wp { color: #2563eb; }
.icon-php { color: #4f46e5; font-size: 2.25rem !important; }
.icon-db { color: #10b981; }
.icon-secure { color: #dc2626; }

/* Tech Stack Section */
.stack-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.stack-header { text-align: center; margin-bottom: 4rem; }

.stack-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .stack-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
    background: white;
    border: 1px solid #f1f5f9;
    padding: 2.5rem;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.info-card i { font-size: 1.25rem; margin-bottom: 2rem; display: block; }
.info-card h3 { font-size: 1.125rem; font-weight: 600; color: #0f172a; margin-bottom: 1rem; }
.info-card p { font-size: 0.875rem; color: #64748b; font-weight: 300; line-height: 1.625; }

.icon-amber { color: #f59e0b; }
.icon-purple { color: #9333ea; }

/* Development / Dark Box Section */
.dev-section { padding: 6rem 0; background: white; }

.dev-box {
    background-color: #0f172a;
    border-radius: 3rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

@media (min-width: 1024px) { .dev-box { padding: 5rem; } }

.dev-grid {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.dev-grid > div {
    width: 50%;
}

@media (max-width: 1024px) { 

    

    .dev-grid { 
        flex-direction: column; 
    }

    .dev-grid > div {
        width: 100%;
    }
}


@media (max-width: 500px) {

    #development .content-container {
        padding: 0;
    }

    #development .dev-box {
        padding: 2.5rem 21px;
        border-radius: 0;
    }

    .cta-section .content-container {
        padding: 0;
    }
    .cta-box {
        border-radius: 0 !important;
    }

    .info-card {
        border-radius: 0;
    }

    #tech-stack .content-container {
        padding: 0;
    }
 }

.dev-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 2.5rem;
}

.tweak-list { display: flex; flex-direction: column; gap: 2rem; }

.tweak-item { display: flex; gap: 1.5rem; }

.tweak-icon { color: #60a5fa; margin-top: 0.25rem; }

.tweak-item h4 {
    font-weight: 500;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.tweak-item p { font-size: 14px; color: #94a3b8; font-weight: 300; }
.tweak-item code { color: #60a5fa; font-family: monospace; }

/* Terminal Styling */
.terminal-window {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 13px;
    line-height: 1.625;
}

.terminal-dots { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; opacity: 0.4; }
.terminal-dots span { width: 0.625rem; height: 0.625rem; background: white; border-radius: 9999px; }

.cmd-text { color: #34d399; }
.log-text { color: #94a3b8; }
.blue-text { color: #60a5fa; }
.pink-text { color: #f472b6; }
.comment-text { color: #64748b; }

.code-snippet {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Perks Section */
.perks-section { padding: 6rem 0; background: white; }

.perks-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .perks-grid { grid-template-columns: repeat(3, 1fr); } }

.perk-item { text-align: center; padding: 1.5rem; }

.perk-icon { font-size: 1.25rem; color: #2563eb; margin-bottom: 1.5rem; }

.perk-item h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.perk-item p { font-size: 0.875rem; color: #64748b; font-weight: 300; line-height: 1.625; }

/* CTA Section */
.cta-section { padding: 6rem 0; text-align: center; }

.cta-box {
    background-color: #2563eb;
    border-radius: 2.5rem;
    padding: 5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.2);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.cta-desc { color: #dbeafe; margin-bottom: 3rem; max-width: 36rem; margin-left: auto; margin-right: auto; font-weight: 300; }

.btn-cta {
    background-color: white;
    color: #2563eb;
    padding: 1.05rem 2.86rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    display: inline-block;
    text-decoration: none;
}

.btn-cta:hover { background-color: #f8fafc; }


/* Animations */
.animate-on-scroll {
    transition: all 1s;
    opacity: 0;
    transform: translateY(2rem);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 380px) {
    .btn-secondary:last-of-type {
        display: none;
    }
}


@media (max-width: 422px) {
    .features-cards {
        grid-template-columns: 1fr;
    }
}

footer .container {
    max-width: var(--page-max-width);
}


@media (max-width: 562px) { 
    .footer-bottom > p:last-of-type {
        display: none;
    }
}