/* Color Variables */
:root {
    --white: #000000;
    --dark-gray: #d4d4d4;
    --black: #ffffff;
    --accent: #b4ff00;
    --light-gray: #1a1a1a;
    --border-gray: #333333;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 6px;
    border: 3px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8ff00;
}

/* Firefox scrollbar */
* {
    scrollbar-color: var(--accent) var(--light-gray);
    scrollbar-width: thin;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
#main-content {
    padding-top: 0;
}

#main-content .container {
    padding-top: 12rem;
}

#main-content .container h1 {
    animation: fadeInLeft 0.6s ease;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--light-gray);
    border-bottom: 2px solid var(--accent);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(26, 26, 26, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 10;
}

/* Carousel Background */
/* Override padding for index.html container */
.about-preview .container,
.tools-section .container,
.cta-section .container {
    padding-top: 0;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
    z-index: 20;
}

.hero-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    display: none;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: var(--white) !important;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white) !important;
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(180, 255, 0, 0.3);
    background-color: #a3e600;
}

.btn-secondary {
    background-color: transparent;
    color: var(--black) !important;
    border-color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: #000000 !important;
    transform: translateY(-2px);
}

/* About Preview Section */
.about-preview {
    background-color: var(--light-gray);
    text-align: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 600px !important;
    height: auto !important;
}

.about-preview .container {
    padding: 0 2rem !important;
    width: 100%;
    max-width: 700px;
}

.about-preview h2 {
    color: var(--black);
}

.about-preview p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--dark-gray);
}

.link-accent {
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-accent:hover {
    transform: translateX(5px);
}

/* Tools Section */
.tools-section {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.tools-section h2 {
    text-align: center;
    color: var(--black);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tools-category {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.tools-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tools-category h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.tools-list {
    list-style: none;
}

.tools-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.tools-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e6e6e6 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* Pages */
.page {
    padding: 0 2rem;
    padding-bottom: 6rem;
    padding-top: 12rem;
    min-height: 100vh;
    margin-top: 100px;
    animation: fadeIn 0.5s ease;
    display: block;
}

.page h1 {
    color: var(--black);
    margin-bottom: 5rem;
    animation: fadeInDown 0.6s ease;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(180, 255, 0, 0.15);
    transform: translateY(-8px);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .tag {
    background-color: var(--accent);
    color: var(--black);
}

/* Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(180, 255, 0, 0.15);
    transform: translateY(-8px);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.product-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    margin-top: auto;
}

/* About Page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

.about-text h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text h3 {
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-item h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(180, 255, 0, 0.15);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    animation: fadeInLeft 0.8s ease;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 255, 0, 0.1);
}

.contact-info {
    animation: fadeInRight 0.8s ease;
}

.contact-info h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.detail-item h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.detail-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-item a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--black);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--light-gray);
    border-radius: 50%;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--dark-gray);
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-5px) scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--dark-gray);
    margin-top: 8rem;
    border-top: 2px solid var(--accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-info {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-social-icon:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--light-gray);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-gray);
}

.footer-bottom p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-gray);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-gray);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .page {
        padding: 0 1rem;
        padding-top: 10rem;
    }

    .page h1 {
        font-size: 2rem;
    }

    .hero {
        margin-top: 100px;
        min-height: calc(100vh - 100px);
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .navbar {
        z-index: 1000;
    }

    .nav-menu {
        top: 60px;
    }

    .page {
        margin-top: 100px;
    }

    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-content.purchase-modal {
    max-width: 900px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    padding: 1rem;
    background-color: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-link:hover {
    border-color: var(--accent);
    background-color: rgba(180, 255, 0, 0.1);
    color: var(--accent);
}

.contact-link strong {
    color: var(--accent);
    font-weight: 600;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--black);
}

.modal-content h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.modal-content h3 {
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkout-left {
    border-right: 2px solid var(--border-gray);
    padding-right: 1.5rem;
}

.checkout-right {
    padding-left: 1.5rem;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--black);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--black);
    background-color: var(--light-gray);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--accent);
    background-color: var(--light-gray);
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--accent);
}

.payment-label {
    color: var(--black);
    font-weight: 500;
}

.payment-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Product Preview */
.product-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.preview-image {
    width: 100%;
}

.preview-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #333333;
}

.preview-info {
    padding-top: 0.5rem;
}

.preview-label {
    color: var(--dark-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.preview-value {
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0 0;
}

/* Showcases Grid */
.showcases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.showcase-box {
    background-color: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.showcase-box:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(180, 255, 0, 0.1);
}

.showcase-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #333333;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-box:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-box h3 {
    color: var(--black);
    margin: 0 0 0.5rem 0;
}

.showcase-box p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.showcase-box .btn {
    margin-top: auto;
}

/* Showcase Modal */
.showcase-modal-content {
    max-width: 1000px;
}

.showcase-modal-wrapper {
    width: 100%;
}

.showcase-content {
    width: 100%;
    margin-top: 1rem;
}

.showcase-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.preview-item {
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--light-gray);
    width: 100%;
    aspect-ratio: 1 / 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.preview-item:hover img {
    transform: scale(1.05);
}

.showcase-content iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--black);
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .showcases-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .showcase-modal-content {
        max-width: 95vw;
    }

    .showcase-content iframe {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-left {
        border-right: none;
        border-bottom: 2px solid var(--border-gray);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    
    .checkout-right {
        padding-left: 0;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
