/* ============================================
   ROCKETTEC Landing Page Styles
   ============================================ */

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --text-color: #1e293b;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================
   Global Styles
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #e2e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0f172a;
}

.public-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #0f172a;
}

.public-content {
    flex: 1;
}

/* ============================================
   Header Styles
   ============================================ */

.public-header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.public-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.public-header .logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
}

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

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-signin {
    padding: 0.625rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.nav-link-signin:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Mobile Menu Button
   ============================================ */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn:hover {
    background: rgba(59, 130, 246, 0.2);
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Language Selector
   ============================================ */

.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #e2e8f0;
    transition: all 0.2s;
}

.language-button:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.language-menu.lang-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.2s;
}

.language-option:hover {
    background: rgba(59, 130, 246, 0.1);
}

.language-option.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* ============================================
   Footer Styles
   ============================================ */

.public-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links .separator {
    color: #666;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #93c5fd;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(59, 130, 246, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    padding: 4rem 2rem;
    background-color: #0f172a;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    color: #ffffff;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

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

.feature-card {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    border-color: var(--accent-color);
    background-color: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.015em;
}

.feature-description {
    color: #cbd5e1;
    line-height: 1.8;
}

/* ============================================
   Specs Section
   ============================================ */

.specs-section {
    padding: 4rem 2rem;
    background-color: #1e293b;
}

.specs-list {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(15, 23, 42, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.spec-item {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    min-width: 180px;
    color: #93c5fd;
}

.spec-value {
    color: #cbd5e1;
}

/* ============================================
   Use Cases Section
   ============================================ */

.usecases-section {
    padding: 4rem 2rem;
    background-color: #0f172a;
}

.usecase-list {
    max-width: 900px;
    margin: 0 auto;
}

.usecase-item {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.usecase-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.usecase-description {
    color: #cbd5e1;
    line-height: 1.8;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: 4rem 2rem;
    background-color: #0f172a;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(15, 23, 42, 0.8);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.pricing-info {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.pricing-delivery {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.pricing-contact {
    margin-top: 2rem;
    color: #cbd5e1;
}

/* ============================================
   Form Styles
   ============================================ */

.form-page {
    padding: 4rem 2rem;
    background-color: #0f172a;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(30, 41, 59, 0.8);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.form-label.required::after {
    content: " *";
    color: var(--error-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: rgba(15, 23, 42, 0.6);
    color: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(15, 23, 42, 0.8);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.9rem;
    color: #fca5a5;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-submit,
.form-cancel {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(59, 130, 246, 0.5);
}

.form-submit:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-cancel {
    background-color: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.form-cancel:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: var(--accent-color);
}

.form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================
   Success Page
   ============================================ */

.success-page {
    padding: 6rem 2rem;
    text-align: center;
    background-color: #0f172a;
}

.success-container {
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 2rem;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.success-message {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.success-submessage {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.success-reference {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.success-action {
    margin-top: 3rem;
}

/* ============================================
   Trust Triangle
   ============================================ */

.trust-triangle-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.trust-triangle-node {
    padding: 1.5rem 2rem;
}

.trust-triangle-top {
    padding: 1.5rem 2rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .public-header {
        position: sticky;
    }

    .public-header .header-container {
        padding: 0 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .public-header .logo-section {
        flex: 0 0 auto !important;
        margin-right: auto !important;
    }

    .public-header .logo {
        height: 40px;
        max-width: 150px;
        margin-right: auto !important;
    }

    .public-header .mobile-menu-btn {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 8px;
        cursor: pointer;
        padding: 8px;
    }

    .public-header .main-nav {
        display: none !important;
    }

    .public-header .main-nav.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        padding-top: 80px;
        z-index: 998;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
    }

    .main-nav .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .main-nav .nav-link::after {
        display: none;
    }

    .main-nav > div {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

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

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

    /* Trust Triangle responsive */
    .trust-triangle-container {
        padding: 0.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .trust-triangle-bottom {
        flex-direction: column !important;
        gap: 0.75rem;
    }

    .trust-triangle-node {
        padding: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .trust-triangle-arrow-middle {
        padding: 0.25rem !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 500px) {
    .trust-triangle-container {
        padding: 0.25rem !important;
    }

    .trust-triangle-node {
        padding: 0.5rem !important;
        font-size: 0.75rem !important;
    }

    .trust-triangle-node div {
        font-size: 0.7rem !important;
    }

    .trust-triangle-node div:first-child {
        font-size: 1.2rem !important;
    }

    .trust-triangle-top {
        padding: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 1rem;
    }

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

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

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

    .form-page {
        padding: 2rem 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

