* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}


img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
}

a {
    transition: all 0.3s ease-in-out;
}
a:hover {
    opacity: 0.5;
}

body {
    background: #FFFEF8;
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Base Header (Desktop) */
header {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #000;
    padding: 10px 15px;
    justify-content: space-between;
    border-bottom: 2px solid #FAE100;
    position: relative;
}
header nav {
    display: flex;
    align-items: center;
    gap: 17px;
}
header nav a {
    text-decoration: none;
    color: #FAE100;
    font-size: 15px;
    font-weight: 600;
}
header nav #btn-highlight {
    background-color: #FAE100; 
    color: #000; 
    font-weight: 700; 
    padding: 10px 15px;
}
header nav #btn-light {
    background-color: #fff; 
    color: #000; 
    font-weight: 700; 
    padding: 10px 15px;
}
header #mobile-menu-btn {
    display: none;
}

/*Hero & Forms*/
#hero {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 50px;
    gap: 50px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #fffef8;
    background-image: radial-gradient(circle at 8% 14%, rgba(247, 222, 46, 0.22), transparent 36%), radial-gradient(circle at 96% 92%, rgba(247, 222, 46, 0.16), transparent 40%), radial-gradient(rgba(0, 0, 0, 0.07) 1.2px, transparent 1.3px);
    background-size: auto, auto, 28px 28px;    
}
#hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -170px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 0, 0, 0.09);
}
#hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -90px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(247, 222, 46, 0.10);
}
#hero #first {
    width: 60%;
}
#hero #first h1 {
    font-size: 60px;
    line-height: 1.3em;
    font-weight: 800;
    margin: 0px auto;
}
#hero #first #subtitle {
    font-size: 30px;
    line-height: 1.4em;
    font-weight: 400;
    color: #333;
}
#hero #first #pricing {
    margin-top: 25px; 
    color: #000; 
    font-size: 13px; 
    line-height: 1.4em;
}
#hero #second {
    width: 40%;
    background-color: #FAE100;
    padding: 30px;
    border-radius: 30px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
#hero #second h2 {
    font-size: 28px;
    line-height: 1.2em;
    color: #FAE100;
    padding: 10px 15px;
    margin: 0px ;
    background-color: #000;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
}
#hero #second .tier-selector {
    display: flex;
    gap: 15px;
    margin: 20px auto;
}
#hero #second .tier-card {
    flex: 1;
    border-radius: 10px;
    padding: 12px 12px 0px 12px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    border: 2px dashed #000;
}
#hero #second .tier-card:hover {
    background: #f5f5f5;
}
#hero #second .tier-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
#hero #second #cardFree.selected {
    background: #f5f5f5;
}
#hero #second #cardPro.selected-pro {
    background: #f5f5f5;
}
#hero #second .tier-card h3 {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin: 0px auto 5px;
    line-height: 1.2em;
}
#hero #second .tier-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.4em;
}
#hero #second .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
#hero #second .full-width {
    grid-column: span 2;
}
#hero #second .form-group {
    display: flex;
    flex-direction: column;
}
#hero #second label {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px;
    color: #000;
    line-height: 1.4em;
}
#hero #second input[type="text"], #hero #second input[type="email"], #hero #second input[type="url"], #hero #second input[type="file"], #hero #second select, #hero #second textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #fff;
}
#hero #second input[type="file"] {
    padding: 8px;
    background: #f8fafc;
}
#hero #second textarea {
    resize: vertical;
    min-height: 100px;
}
#hero #second .char-counter {
    font-size: 13px;
    margin-top: 4px;
}
#hero #second .char-counter {
    color: #555;
    display: block;
}
#hero #second .error {
    display: none;
    text-align: center;
    background-color: red;
    color: #fff;
    margin-top: 20px;
    padding: 10px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4em;
}
#hero #second button {
    background-color: #000;
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 17px;
    line-height: 1.4em;
    transition: all 0.3s ease-in-out
}
#hero #second button:hover {
    opacity: 0.5;
}
#hero #second button .btn-secondary { 
    background: #94a3b8; 
}
#reviewModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 50;
}
#reviewModal h3 {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin: 0px auto 5px;
    line-height: 1.2em;    
}
#reviewModal .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    font-size: 13px;
    line-height: 1.4em;
    max-height: 90vh; 
    overflow-y: auto;
}
#reviewModal .modal-data {
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
    font-size: 13px;
    line-height: 1.5em;
    overflow: auto;    
}
#reviewModal .modal-actions {
    display: flex;
    gap: 15px;
}
#reviewModal .modal-actions button {
    background-color: #000;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    line-height: 1.4em;
    transition: all 0.3s ease-in-out
}
.alert-success {
    display: none;
    text-align: center;
    background-color: #fff;
    color: #00cc66;
    margin-top: 20px;
    padding: 10px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4em;
}

/*Main*/
main {
    padding: 50px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

/*Top Hero*/
#tophero {
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background-color: #000;
    border-radius: 8px;
}
#tophero h1 {
    font-size: 36px;
    line-height: 1.4em;
    font-weight: 800;
    margin: 0px;
    color: #FAE100;
}
#tophero span {
    color: #fff;
    font-size: 14px;
    line-height: 1.4em;
}

/*Projects*/
.project-row {
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: background 0.2s;
    margin: 15px auto;
    background-color: #f8f8f8;
}
.project-row.pro-row { 
    border-top: 3px solid #eab308;
    background: #fefce8;
    padding: 20px;
    border-radius: 4px;
    border-bottom: 1px solid #fef08a;
    border-left: 1px solid #fef08a;
    border-right: 1px solid #fef08a;
    margin: 15px auto;
}
.project-row.pro-row:hover { 
    background-color: #fef08a;
}
.project-row h2, .project-row.pro-row h2  {
    font-size: 24px;
    line-height: 1.2em;    
    margin: 0px 0px 10px 0px;
    font-weight: 700;
}
.project-row h2 a, .project-row.pro-row h2 a {
    color: #333;
    text-decoration: none;
}
.project-row h2 a:hover, .project-row.pro-row h2 a:hover {
    text-decoration: underline;
}
.project-row.pro-row .badge-pro {
    background: #fff;
    color: #ca8a04;
    border: 1px solid #fef08a;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    vertical-align: middle;
    margin-left: 8px;
    display: inline-block;
    line-height: 1.4em;
}
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
    gap: 10px;
}
.project-meta .meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.project-meta .category-tag { 
    background: #eee; 
    color: #333; 
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;    
}
.project-meta .badge-looking { 
    background: #e0f2fe; 
    color: #0284c7; 
    white-space: nowrap; 
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;    
}

/*Individual Projects*/
#view-project {
    background-color: #FAE100;
    max-width: 750px;
    width: 100%;
    border-radius: 8px;
    padding: 20px;
    margin: auto;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px    
}
#view-project #view-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #000;
    line-height: 1.4em;
}
#view-project #view-meta-row .category-tag { 
    background: #eee; 
    color: #000; 
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;    
}
#view-project #view-meta-row .badge-looking { 
    background: #e0f2fe; 
    color: #0284c7; 
    white-space: nowrap; 
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;    
}
#view-project #view-meta-row .view-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #000;
}
#view-project .project-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
#view-project .project-header-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
#view-project .project-header-row h1 {
    margin: 0 0 4px 0;
    font-size: 28px;
    line-height: 1.3em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #000;
}
#view-project .project-header-row p {
    font-size: 15px;
    color: #000;
    margin: 0;
    line-height: 1.4em;
}
#view-project .pro-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #555;
}
#view-project .pro-links .pro-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #aaa;
    background-color: #f8fafc;
    color: #555;
}
#view-project .project-description {
    font-size: 16px;
    line-height: 1.4em;
    color: #000;
    margin-bottom: 30px;
    white-space: pre-wrap;
}
#contact-section {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
#contact-section h3 {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    line-height: 1.2em;   
}
#contact-section p {
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.4em;
}
#contact-section .captcha-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
#contact-section .captcha-math {
    font-size: 18px;
    font-weight: bold;
    background: #e2e8f0;
    padding: 8px 15px;
    border-radius: 6px;
    color: #555;
}
#contact-section .captcha-input {
    width: 60px;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #555;
    border-radius: 4px;
    outline: none;
}
#contact-section .captcha-input:focus { 
    border-color: #000; 
}
#contact-section .btn-submit {
    background-color: #000;
    color: #FAE100;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
    font-size: 17px;
}
#contact-section .btn-email {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
}
#revealedEmailContainer { 
    display: none; 
}
#contact-section .captcha-error {
    color: #dc2626;
    font-size: 14px;
    display: none;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4em;
}
#actions-bar {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #000;
    padding-top: 15px;
    justify-content: flex-end;
}
#actions-bar .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #aaa;
    background-color: #f8fafc;
    color: #555;
}

/* Related Projects Section */
#related-section {
    max-width: 750px;
    width: 100%;
    margin: 50px auto 0px;
}
#related-section h3 {
    font-weight: 600;
    font-size: 24px;
    color: #000;
    line-height: 1.2em; 
}

/*Pagination*/
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}
.pagination .btn-page {
    padding: 8px 16px;
    background: #FAE100;
    border-radius: 8px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4em;    
}
.pagination .btn-disabled { 
    opacity: 0.5; 
    pointer-events: none; 
}
.pagination .page-info { 
    font-size: 14px; 
    color: #333;
    line-height: 1.4em;
}

/*Footer*/
footer {
    background-color: #000;
    text-align: center;
    font-size: 13px;
    color: #fff;
    width: 100%;
    padding: 10px 50px;
}
footer p {
    color: #eee;
}
footer #flinks {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px auto 0px;
}
footer #flinks > :first-child {
    align-self: center;
}
footer #flinks h4 {
    font-size: 17px;
    color: #FAE100;
}
footer #flinks p {
    color: #eee;
    line-height: 1.4em;
}
footer #flinks p a {
    color: #eee;
    text-decoration: none;
}
footer #flinks img {
    margin: auto;
    display: block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
/*Hero & Forms*/
#hero {
    padding: 20px;
    flex-direction: column;
    gap: 30px;    
}
.hero-bg::before, .hero-bg::after { 
    display: none; 
} 
#hero #first {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#hero #first h1 {
    font-size: 50px;
    line-height: 1.4em;
    text-align: center;
}
#hero #first #subtitle {
    font-size: 20px;
    text-align: center;
    color: #333;
}
#hero #first #pricing {
    text-align: center;
}
#hero #second {
    width: 100%;
    padding: 20px;
}
#hero #second .form-grid {
    grid-template-columns: 1fr;
}
#hero #second .tier-selector { 
    flex-direction: column;
}
#hero #second .full-width {
    grid-column: span 1;
}

/*Main*/
main { 
    padding: 20px
}

/*Top Hero*/
#tophero h1 {
    font-size: 28px;
}

/*Projects*/
.project-row h2, .project-row.pro-row h2  {
    font-size: 22px;
}
#contact-section .btn-email {
    font-size: 14px;
}

/*Footer*/
footer {
    padding: 10px 20px;
}
footer #flinks {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
}
}

@media (max-width: 1024px) {
/*Header*/
header #mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: #FAE100;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}
header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #111; 
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 80px;
    padding-left: 20px;
    gap: 25px;
    transition: right 0.3s ease-in-out; 
    z-index: 1000;
    border-left: 2px solid #FAE100;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}
header nav.slide-in {
    right: 0; 
}
header nav a.btn-highlight, header nav a.btn-light {
    width: 85%;
    text-align: center;
    box-sizing: border-box;
}
}