* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --accent-color: #ffffff;
    --card-bg: #ffffff;
    --text-dark: #0a0a0a;
    --text-light: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly tap targets */
button, a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Global 3D Background - Consistent throughout */
.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.global-background canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button-nav {
    padding: 0.75rem 2rem;
    background: var(--text-primary);
    color: var(--text-dark);
    border: none;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    transform: translateZ(0);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-button-nav:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 3rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    font-weight: 300;
    max-width: 700px;
}

.cta-button-hero {
    padding: 1.5rem 4rem;
    background: var(--text-primary);
    color: var(--text-dark);
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    transform: translateZ(0);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-button-hero:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--text-tertiary));
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Features Section */
.features {
    padding: 12rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.section-header {
    text-align: left;
    margin-bottom: 6rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4rem;
}

.section-number {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.feature-card {
    background: var(--card-bg);
    color: var(--text-dark);
    padding: 4rem 3rem;
    border-radius: 0;
    transition: var(--transition);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 300;
}

/* Pricing Section */
.pricing {
    padding: 12rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.pricing-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    color: var(--text-dark);
    padding: 5rem 4rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.quote-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.quote-cta-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    padding: 1.25rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 300;
}

.feature-item:last-child {
    border-bottom: none;
}

.cta-button-pricing {
    width: 100%;
    padding: 1.5rem;
    background: var(--text-dark);
    color: var(--text-primary);
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-button-pricing:hover {
    transform: translateY(-2px);
    background: rgba(10, 10, 10, 0.9);
}

/* Contact Section */
.contact {
    padding: 12rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    color: var(--text-dark);
    padding: 4rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    position: relative;
}

.form-message {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.form-message-success {
    background: rgba(0, 200, 0, 0.1);
    color: #006600;
    border: 1px solid rgba(0, 200, 0, 0.3);
}

.form-message-error {
    background: rgba(200, 0, 0, 0.1);
    color: #cc0000;
    border: 1px solid rgba(200, 0, 0, 0.3);
}

.cta-button-form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 300;
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-dark);
    border-width: 2px;
}

.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 300;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
    border-width: 2px;
}

.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.cta-button-form {
    width: 100%;
    padding: 1.5rem;
    background: var(--text-dark);
    color: var(--text-primary);
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-button-form:hover {
    transform: translateY(-2px);
    background: rgba(10, 10, 10, 0.9);
}

/* Footer */
.footer {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    background: transparent;
    text-align: center;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container,
    .nav-container,
    .section-header,
    .features-grid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-content {
        padding: 0 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 1.5rem 0;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .cta-button-nav {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-content {
        text-align: left;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
    
    .cta-button-hero {
        padding: 1.25rem 2.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        min-height: 48px; /* Touch-friendly minimum */
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }

    /* Section Headers */
    .section-header {
        text-align: left;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    .section-number {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* Features Section */
    .features {
        padding: 6rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Pricing/Quote Section */
    .pricing {
        padding: 6rem 0;
    }
    
    .pricing-card {
        padding: 3rem 2rem;
        margin: 0 1.5rem;
    }
    
    .pricing-header h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .pricing-features {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .quote-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button-pricing {
        padding: 1.25rem;
        font-size: 0.95rem;
        min-height: 48px; /* Touch-friendly minimum */
    }

    /* Contact Section */
    .contact {
        padding: 6rem 0;
    }
    
    .contact-form-container {
        padding: 0 1.5rem;
    }
    
    .contact-form {
        padding: 2.5rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .cta-button-form {
        padding: 1.25rem;
        font-size: 0.95rem;
        min-height: 48px; /* Touch-friendly minimum */
    }
    
    .form-group input {
        min-height: 48px; /* Touch-friendly minimum */
    }
    
    .form-group textarea {
        min-height: 120px;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-message {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    /* Container Padding */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
    
    .cta-button-nav {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        min-height: 85vh;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button-hero {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .section-header {
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features,
    .pricing,
    .contact {
        padding: 5rem 0;
    }
    
    .features-grid {
        padding: 0 1rem;
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.35rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .pricing-card {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }
    
    .pricing-header h3 {
        font-size: 1.75rem;
    }
    
    .quote-description {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 2rem 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
