:root {
    --bg: #05020a;
    --bg-alt: #0d0717;
    --card: #130c24;
    --card-alt: #19112f;
    --accent: #43c4ff;
    --accent-soft: rgba(67, 196, 255, 0.15);
    --text: #f6f4ff;
    --muted: #b3afc9;
    --tag: #f0adff;
    --highlight: #59f3c1;
    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, rgba(67, 196, 255, 0.15), transparent 45%) var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem clamp(1rem, 4vw, 3.5rem);
    background: rgba(5, 2, 10, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-label {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.brand-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
}

.main-nav a {
    color: var(--muted);
    position: relative;
    padding-bottom: 0.15rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.cta-button {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    color: #05020a;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(89, 243, 193, 0.3);
}

.link-button {
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

main {
    padding: clamp(1rem, 4vw, 3.5rem);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--highlight);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlights li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    font-size: 0.9rem;
}

.hero-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.hero-card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.services {
    margin-top: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: linear-gradient(145deg, var(--card), var(--card-alt));
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-right: 5rem; /* Add space for tag */
    line-height: 1.3;
}

.service-card ul {
    padding-left: 1.1rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tag);
    background: rgba(240, 173, 255, 0.1);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
}

.approach {
    margin-top: 4rem;
    background: rgba(67, 196, 255, 0.05);
    border-radius: 36px;
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
}

.approach-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.approach-steps li {
    background: rgba(5, 2, 10, 0.6);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.approach-steps li.visible {
    opacity: 1;
    transform: translateY(0);
}

.approach-steps h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.membership {
    margin-top: 4rem;
}

.membership-card {
    background: linear-gradient(145deg, var(--card), var(--card-alt));
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.membership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.membership-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.membership-content h3 {
    margin: 0;
    font-size: 1.75rem;
}

.membership-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: grid;
    gap: 1.25rem;
}

.membership-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.membership-benefits li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 196, 255, 0.1);
    border-radius: 10px;
}

.membership-benefits li strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.membership-benefits li p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.membership-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 1.25rem;
    background: rgba(67, 196, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.price-amount {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.membership-agreement-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.agree-checkbox {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.agree-checkbox:checked + label {
    color: var(--text);
}

.membership-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.membership-toggle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.membership-toggle-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.membership-toggle-btn:hover .btn-icon {
    transform: translateX(4px);
}

.paypal-container-wrapper {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.payment-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.payment-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.payment-info {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    color: #05020a;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.payment-step strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.payment-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.paypal-button-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    min-height: 60px;
    align-items: center;
}

#paypal-container-SEVH6DDALFSHJ {
    display: inline-block;
    margin: 0 auto;
}

.back-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.portfolio {
    margin-top: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: linear-gradient(145deg, var(--card), var(--card-alt));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(67, 196, 255, 0.1), rgba(240, 173, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    font-size: 4rem;
    opacity: 0.6;
}

.portfolio-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(67, 196, 255, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.portfolio-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--text);
}

.portfolio-content > p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex: 1;
}

.portfolio-tech {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tech li {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(67, 196, 255, 0.05);
    border-radius: 20px;
    margin-top: 2rem;
}

.portfolio-cta p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact {
    margin-top: 4rem;
}

.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
        padding: 1rem clamp(1rem, 3vw, 2rem);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        order: 3;
        margin-top: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .main-nav.active {
        max-height: 500px;
        padding: 1rem 0;
        margin-top: 1rem;
    }
    
    .main-nav a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .header-actions {
        margin-left: auto;
    }
    
    .hero {
        padding-top: 1rem;
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
    
    .membership-card {
        padding: 2rem;
    }
    
    .membership-benefits {
        gap: 1rem;
    }
    
    .membership-benefits li {
        padding: 0.875rem;
    }
    
    .payment-info {
        gap: 0.875rem;
    }
    
    .payment-step {
        padding: 1rem;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    main {
        padding: clamp(1rem, 3vw, 2rem);
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-heading h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-card {
        padding: 1.5rem;
    }
    
    .membership-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .membership-icon {
        font-size: 2rem;
    }
    
    .membership-content h3 {
        font-size: 1.5rem;
    }
    
    .membership-benefits li {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .benefit-icon {
        margin: 0 auto;
    }
    
    .membership-price {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .membership-agreement-text {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .payment-header h3 {
        font-size: 1.5rem;
    }
    
    .payment-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 0.5rem;
    }
    
    .paypal-button-container {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .brand {
        flex-wrap: wrap;
    }
    
    .brand-label {
        font-size: 0.9rem;
    }
    
    .brand-tagline {
        font-size: 0.75rem;
    }
    
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.9rem;
    }
    
    .main-nav a {
        padding: 0.5rem 0;
    }
    
    .cta-button {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .link-button {
        width: 100%;
        text-align: center;
    }
    
    .hero-highlights {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-highlights li {
        width: 100%;
        text-align: center;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .tag {
        position: static;
        display: inline-block;
        margin-bottom: 0.75rem;
    }
    
    .approach {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .approach-steps li {
        padding: 1.25rem;
    }
    
    .membership-card {
        padding: 1.25rem;
        border-radius: 20px;
    }
    
    .membership-content h3 {
        font-size: 1.25rem;
    }
    
    .membership-benefits li {
        padding: 0.75rem;
    }
    
    .membership-benefits li strong {
        font-size: 0.95rem;
    }
    
    .membership-benefits li p {
        font-size: 0.85rem;
    }
    
    .membership-price {
        padding: 0.875rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-label,
    .price-amount {
        font-size: 0.9rem;
    }
    
    .membership-agreement-text {
        font-size: 0.85rem;
    }
    
    .agree-checkbox {
        width: 16px;
        height: 16px;
    }
    
    .payment-header h3 {
        font-size: 1.25rem;
    }
    
    .payment-subtitle {
        font-size: 0.85rem;
    }
    
    .payment-step {
        padding: 0.875rem;
    }
    
    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }
    
    .payment-step strong {
        font-size: 0.95rem;
    }
    
    .payment-step p {
        font-size: 0.85rem;
    }
    
    .portfolio-item {
        border-radius: 16px;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-placeholder {
        font-size: 3rem;
    }
    
    .portfolio-content {
        padding: 1.25rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-content > p {
        font-size: 0.9rem;
    }
    
    .portfolio-cta {
        padding: 1.5rem;
    }
    
    .portfolio-cta p {
        font-size: 0.95rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .site-footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .site-header {
        padding: 0.75rem 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-heading {
        margin-bottom: 1.5rem;
    }
    
    .services-grid,
    .portfolio-grid {
        gap: 1rem;
    }
    
    .membership-card {
        padding: 1rem;
    }
    
    .membership-benefits {
        gap: 0.75rem;
    }
    
    .payment-info {
        gap: 0.75rem;
    }
}
