/* ========================================
   AltiCode - Main Stylesheet
   ======================================== */

/* --- CSS Variables & Reset --- */
:root {
    /* Colors - Light Theme */
    --color-primary: #FFE1D7;
    --color-secondary: #84AFFB;
    --color-accent1: #0259DD;
    --color-accent2: #FF6648;
    --color-text: #1A1A2E;
    --color-text-light: #666678;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FA;
    --color-surface: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0259DD 0%, #FF6648 100%);
    --gradient-secondary: linear-gradient(135deg, #84AFFB 0%, #0259DD 100%);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme */
body.dark-theme {
    --color-text: #E8E8F0;
    --color-text-light: #A8A8B8;
    --color-bg: #0F0F1A;
    --color-bg-alt: #1A1A2E;
    --color-surface: #16213E;
}

body.dark-theme .navbar {
    background: rgba(15, 15, 26, 0.95);
}

body.dark-theme .hero-gradient {
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.95) 0%, rgba(26, 26, 46, 0.9) 50%, rgba(15, 15, 26, 1) 100%);
}

body.dark-theme .code-window {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .code-header {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .form-input,
body.dark-theme .form-textarea {
    background: var(--color-bg-alt);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

body.dark-theme .faq-question {
    background: var(--color-bg-alt);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(2, 89, 221, 0.4);
    transition: var(--transition-normal);
    z-index: 9999;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(2, 89, 221, 0.5);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.logo-alti {
    color: var(--color-accent1);
}

.logo-code {
    color: var(--color-accent2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-accent1);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn-secondary {
    background: var(--color-accent1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn:hover,
.nav-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 89, 221, 0.3);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 249, 245, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-accent1);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4rem;
}

.code-window {
    width: 100%;
    max-width: 450px;
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.code-header {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: var(--color-bg-alt);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-header .dot.red { background: #FF6B6B; }
.code-header .dot.yellow { background: #FFD93D; }
.code-header .dot.green { background: #6BCB77; }

.code-content {
    padding: 20px;
    background: #1A1A2E;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-keyword { color: #C678DD; }
.code-var { color: #E5C07B; }
.code-func { color: #61AFEF; }
.code-prop { color: #D19A66; }
.code-string { color: #98C379; }
.code-comment { color: #5C6370; }

/* --- Values Section --- */
.values {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

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

.value-card {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(2, 89, 221, 0.15);
}

.value-card:hover::before {
    opacity: 0.05;
}

.value-card > * {
    position: relative;
    z-index: 1;
}

.value-icon {
    color: var(--color-accent1);
    margin-bottom: 1.5rem;
}

.value-icon svg {
    width: 64px;
    height: 64px;
    stroke: currentColor;
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-desc {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Services Preview --- */
.services-preview {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-accent1);
}

.service-link {
    color: var(--color-accent1);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link::after {
    content: '→';
    transition: var(--transition-normal);
}

.service-link:hover::after {
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-light {
    background: white;
    color: var(--color-accent1);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer {
    background: #1A1A2E;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 3rem;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex: 2;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--color-accent2);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    color: var(--color-accent2);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 102, 72, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 72, 0.4);
}

.btn-primary svg {
    transition: var(--transition-normal);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent1);
    border: 2px solid var(--color-accent1);
}

.btn-outline:hover {
    background: var(--color-accent1);
    color: white;
    transform: translateY(-2px);
}

/* --- Forms (Booking, Order, Contact) --- */
.form-section {
    padding: var(--section-padding);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--color-accent1);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--color-text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-normal);
    font-family: var(--font-body);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent1);
    box-shadow: 0 0 0 3px rgba(2, 89, 221, 0.1);
}

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

.form-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 89, 221, 0.3);
}

.form-success {
    text-align: center;
    padding: 3rem;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.form-success .success-icon svg {
    stroke: #6BCB77;
    stroke-width: 3;
}

/* --- Specific Pages --- */

/* Layanan Page */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card-full {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-price {
    color: var(--color-accent2);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 1rem 0;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent1);
    font-weight: 700;
}

.service-cta {
    display: flex;
    gap: 1rem;
}

/* Portofolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--color-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent1));
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-bg-alt);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent1);
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.portfolio-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent1);
    font-weight: 600;
}

.portfolio-link::after {
    content: '→';
    transition: var(--transition-normal);
}

.portfolio-link:hover::after {
    transform: translateX(3px);
}

/* FAQ Page */
.faq-section {
    padding: var(--section-padding);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
    background: var(--color-bg-alt);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.7);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition-normal);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: var(--section-padding);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
}

.contact-info h3 {
    margin-bottom: 0.75rem;
}

.contact-info p,
.contact-info a {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--color-accent1);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(2, 89, 221, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(2, 89, 221, 0.5);
    }
}

[data-aos] {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-fill-mode: both;
}

[data-aos][data-delay="100"] { animation-delay: 0.1s; }
[data-aos][data-delay="200"] { animation-delay: 0.2s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .code-window {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content,
    .hero-visual {
        flex: none;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        padding-left: 0;
    }
    
    .code-window {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Loading State --- */
body.loading {
    cursor: wait;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }
