:root {
    --primary: #292929;
    --accent: #fe792f;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --error: #ef4444;
    --success: #22c55e;
}

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

body {
    font-family: 'Unbounded', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: radial-gradient(rgba(254, 121, 47, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background-color: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 101;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--text);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.header-buttons {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.25rem;
    }

    .desktop-buttons {
        display: none;
    }

    .header-buttons {
        display: block;
        margin-top: 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--accent);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: rgba(254, 121, 47, 0.9);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--text);
}

/* Home Page Styles */
.home {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.title-3d {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    cursor: default;
}

@media (max-width: 768px) {
    .title-3d {
        font-size: 2.5rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .buttons a {
        width: 100%;
        text-align: center;
    }
}

.title-3d:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Get Started Page Styles */
.get-started {
    padding: 4rem 0;
}

.get-started h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .get-started {
        padding: 2rem 0;
    }

    .get-started h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

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

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.step-card {
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

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

/* Payment Page Styles */
.payment {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .payment {
        padding: 2rem 0;
    }

    .payment-form {
        margin: 0 1rem;
    }
}

.payment-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .payment-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .payment-header h1 {
        font-size: 1.5rem;
    }
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(34, 197, 94, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.secure-text {
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem;
    background-color: rgba(26, 26, 26, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text);
    font-family: 'Unbounded', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.input-group input:invalid {
    border-color: var(--error);
}

.error-tooltip {
    position: absolute;
    right: 1rem;
    cursor: help;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-group input:invalid + .error-tooltip {
    opacity: 1;
}

.error-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: var(--error);
    color: var(--text);
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-tooltip:hover::before {
    opacity: 1;
}

.terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .terms {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.terms-link {
    color: var(--accent);
    text-decoration: underline;
}

/* Payment Error Page Styles */
.payment-error {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .payment-error {
        padding: 2rem 0;
    }

    .error-content h1 {
        font-size: 2rem;
    }

    .error-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .error-buttons a {
        width: 100%;
        text-align: center;
    }
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.error-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.error-content h1::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--error);
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer Styles */
footer {
    background-color: rgba(26, 26, 26, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: auto;
}

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

@media (max-width: 768px) {
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .contact-info {
        text-align: center;
    }
}

.footer-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}