:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #9a9a9a;
    --accent: #e63946;
    --accent-hover: #c4303c;
    --accent-alt: #ff6b6b;
    --border: #2a2a2a;
    --error: #ff4444;
    --warning: #ffaa00;
    --success: #e63946;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Unique animated mesh background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(230, 57, 70, 0.04) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: meshRotate 40s linear infinite;
}

@keyframes meshRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar with skewed accent */
.navbar {
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: navSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: accentSlide 3s ease-in-out infinite;
}

@keyframes accentSlide {
    0%, 100% { transform: translateX(0); width: 30%; }
    50% { transform: translateX(250%); width: 20%; }
}

@keyframes navSlide {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: translateX(-30px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: var(--accent);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s;
}

.logo-placeholder:hover::before {
    opacity: 0.4;
}

.logo-placeholder:hover {
    transform: scale(1.15) rotate(-10deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
    position: relative;
    z-index: 1;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-alt));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.nav-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link:hover::after {
    width: 50%;
}

/* Unique button styles */
.btn-primary, .btn-secondary, .btn-hero {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary, .btn-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
}

.btn-primary::before, .btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before, .btn-hero:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--bg-primary);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Hero Section with diagonal accent */
.hero {
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    animation: heroOrbit 30s linear infinite;
}

@keyframes heroOrbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1), gradientFlow 6s ease infinite;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* Services Section */
.services-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent);
    opacity: 0.1;
    transform: translate(-3px, -3px);
    z-index: -1;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Unique filter tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 500;
    position: relative;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.filter-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.filter-tab:hover::after {
    width: 100%;
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Services Grid with stagger */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 0 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent), var(--accent-alt), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) translateX(5px);
    box-shadow: -5px 15px 40px rgba(230, 57, 70, 0.2);
}

.service-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 0 transparent);
}

.service-card:hover .service-logo {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 15px var(--accent));
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.service-card:hover .service-name {
    color: var(--accent);
    transform: translateX(5px);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.service-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section with asymmetric cards */
.about-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 36, 0.5);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--accent-alt));
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateX(10px) translateY(-5px);
    border-color: var(--accent);
    background: rgba(26, 26, 36, 0.8);
    box-shadow: -10px 20px 40px rgba(230, 57, 70, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.3) rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    padding-left: 0;
}

.footer-section a::before {
    content: '▸';
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
    padding-left: 15px;
}

.footer-section a:hover::before {
    opacity: 1;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Modal with unique entrance */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: modalFade 0.4s ease-out;
}

@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--accent);
    border-radius: 0;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 98% 100%, 0 100%);
    box-shadow: -10px 20px 60px rgba(230, 57, 70, 0.2);
    animation: modalEntry 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntry {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}

.modal-close:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-left-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.5rem;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 15%);
}

.quantity-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}

.quantity-value {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.order-summary {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.btn-order {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* Loading & Messages */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-left: 4px solid var(--error);
    color: var(--error);
    padding: 1rem;
    margin-bottom: 1rem;
}

.success-message {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--success);
    border-left: 4px solid var(--success);
    color: var(--success);
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}