/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Variables */
:root {
    /* Default theme (Orange) */
    --primary-color: #ff8a00;
    --primary-hover: #e67a00;
    --primary-light: rgba(255, 138, 0, 0.1);
    --primary-gradient: linear-gradient(135deg, #ff8a00 0%, #ff6b35 100%);
    --primary-gradient-hover: linear-gradient(135deg, #e67a00 0%, #e55a2b 100%);
    --footer-bg: #0d294e;
}

/* Angler Theme (Blue) */
.theme-angler {
    --primary-color: #0d294f;
    --primary-hover: #0a1f3a;
    --primary-light: rgba(13, 41, 79, 0.1);
    --primary-gradient: linear-gradient(135deg, #0d294f 0%, #1e3a5f 100%);
    --primary-gradient-hover: linear-gradient(135deg, #0a1f3a 0%, #1a2f4a 100%);
    --footer-bg: #0d294f;
}

/* PasswordShare Theme (Green/Teal) */
.theme-passwordshare {
    --primary-color: #059669;
    --primary-hover: #047857;
    --primary-light: rgba(5, 150, 105, 0.1);
    --primary-gradient: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    --primary-gradient-hover: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    --footer-bg: #064e3b;
}

/* DocuPulse Theme (Teal + Purple) */
.theme-docupulse {
    --primary-color: #1b7a7f;
    --primary-hover: #155f63;
    --primary-light: rgba(27, 122, 127, 0.1);
    --primary-gradient: linear-gradient(135deg, #1b7a7f 0%, #762263 100%);
    --primary-gradient-hover: linear-gradient(135deg, #155f63 0%, #5a1a4a 100%);
    --footer-bg: #1b7a7f;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient-hover);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f5f9;
}

/* Text selection */
::selection {
    background: color-mix(in oklab, var(--primary-color) 20%, transparent);
    color: #0d294e;
}

::-moz-selection {
    background: color-mix(in oklab, var(--primary-color) 20%, transparent);
    color: #0d294e;
}

/* Focus outline improvements */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth transitions for interactive elements */
a, button, input, textarea, select {
    transition: all 0.2s ease;
}

/* Custom focus styles for better accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--primary-light);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(13, 41, 78, 0.15);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0d294e;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
    transition: all 0.2s ease;
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.nav {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 41, 78, 0.1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.nav-link:hover {
    color: white;
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.nav-link:active {
    transform: translateY(0);
}

/* Main content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Index page specific hero - no background */
.hero-index {
    background: transparent;
    color: #0d294e;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* PasswordShare page specific hero with fish background */
.hero-passwordshare {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-passwordshare::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/coral-2717227_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-passwordshare::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.4) 0%, rgba(13, 148, 136, 0.3) 100%);
    pointer-events: none;
}

/* PasswordShare CTA section with coral background */
.cta-passwordshare {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-passwordshare::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/coral-2582513_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.cta-passwordshare::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.75) 0%, rgba(13, 148, 136, 0.75) 100%);
    pointer-events: none;
}

.cta-passwordshare .cta-content {
    position: relative;
    z-index: 2;
}

/* PasswordShare Enterprise CTA section */
.cta-passwordshare-enterprise {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-passwordshare-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/coral-3628397_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.cta-passwordshare-enterprise::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
    pointer-events: none;
}

.cta-passwordshare-enterprise .cta-content {
    position: relative;
    z-index: 2;
}

/* Comparison Table Base Styles */
.comparison {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 41, 78, 0.05);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    text-align: center;
}

.comparison-header > div {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-header > div:last-child {
    border-right: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.comparison-row:hover {
    background: #f8fafc;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    padding: 1rem;
    font-weight: 600;
    color: #0d294e;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.comparison-free,
.comparison-enterprise {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-free:last-child,
.comparison-enterprise:last-child {
    border-right: none;
}

.comparison-row:nth-child(even) {
    background: #f8fafc;
}

.comparison-row:nth-child(even):hover {
    background: #f1f5f9;
}

.comparison-row i.fa-check {
    color: #16a34a !important;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
}

.comparison-row i.fa-times {
    color: #dc2626 !important;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
}

/* Additional specificity for checkmarks */
.comparison-free i.fa-check,
.comparison-enterprise i.fa-check {
    color: #16a34a !important;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
}

.comparison-free i.fa-times,
.comparison-enterprise i.fa-times {
    color: #dc2626 !important;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
}

/* Responsive comparison table */
@media (max-width: 768px) {
    .comparison-table {
        margin: 0 1rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comparison-header > div,
    .comparison-feature,
    .comparison-free,
    .comparison-enterprise {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0.75rem;
    }
    
    .comparison-header > div:last-child,
    .comparison-feature:last-child,
    .comparison-free:last-child,
    .comparison-enterprise:last-child {
        border-bottom: none;
    }
    
    .comparison-feature {
        background: #f8fafc;
        font-weight: 700;
        color: #0d294e;
    }
}

/* PasswordShare Enterprise Theme */
.theme-passwordshare-enterprise {
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: rgba(124, 58, 237, 0.08);
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
}

.theme-passwordshare-enterprise .btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-passwordshare-enterprise .btn-primary:hover {
    background: var(--primary-gradient-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-passwordshare-enterprise .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.theme-passwordshare-enterprise .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.theme-passwordshare-enterprise .feature-icon-modern {
    color: var(--primary-color);
    background: var(--primary-light);
}

.theme-passwordshare-enterprise .step-number {
    background: var(--primary-gradient);
    color: white;
}

.theme-passwordshare-enterprise .comparison-table .comparison-header {
    background: var(--primary-gradient);
    color: white;
}

.theme-passwordshare-enterprise .comparison-table .comparison-row:nth-child(even) {
    background: var(--primary-light);
}

/* Override the original CTA styles for PasswordShare */
.cta.cta-passwordshare {
    background: var(--primary-gradient) !important;
    background-image: none !important;
}

.cta.cta-passwordshare::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('../images/coral-2582513_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
}

.cta.cta-passwordshare::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.75) 0%, rgba(13, 148, 136, 0.75) 100%) !important;
    pointer-events: none !important;
}

/* Angler page specific hero with jellyfish background */
.hero-angler {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-angler::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/jellyfish-2341235_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-angler::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 41, 79, 0.4) 0%, rgba(30, 58, 95, 0.3) 100%);
    pointer-events: none;
}

/* PasswordShare Enterprise page specific hero with coral background */
.hero-passwordshare-enterprise {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-passwordshare-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/coral-3202725_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-passwordshare-enterprise::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
    pointer-events: none;
}

/* Angler Get Started section with jellyfish background */
.deployment-code-angler {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.deployment-code-angler::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/jellyfishes-5584171_640.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.deployment-code-angler::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 41, 79, 0.75) 0%, rgba(30, 58, 95, 0.75) 100%);
    pointer-events: none;
}

.deployment-code-angler h4 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.deployment-code-angler p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-index .hero-content {
    position: relative;
    z-index: 2;
}

.hero-index .hero-title {
    color: #0d294e;
    text-shadow: none;
}

.hero-index .hero-subtitle {
    color: #4a5568;
    text-shadow: none;
}

.hero-index .highlight {
    color: var(--primary-color);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #fff2e6;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #0d294e;
    border: 1px solid rgba(13, 41, 78, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(13, 41, 78, 0.3);
    color: #0d294e;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.btn-success {
    background: #38a169;
    color: white;
}

/* Features section */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0d294e;
    letter-spacing: -0.02em;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-showcase {
    max-width: 1400px;
    margin: 0 auto;
}

.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #0d294e 0%, #1e3a5f 100%);
    background-image: url('../images/coral-3628397_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.7) 0%, rgba(13, 41, 78, 0.8) 50%, rgba(30, 58, 95, 0.8) 100%);
    pointer-events: none;
}

.feature-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="highlight-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23highlight-grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-color);
}

.feature-badge i {
    font-size: 1rem;
}

.feature-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

.feature-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-animation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 3;
    position: relative;
    animation: pulse 2s infinite;
}

.security-layers {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.layer {
    position: absolute;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.layer-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-duration: 8s;
}

.layer-2 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.layer-3 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-duration: 15s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(13, 41, 78, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-modern {
    background: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--primary-light);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0d294e;
    letter-spacing: -0.01em;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        background-attachment: scroll;
        background-position: center top;
    }
    
    .feature-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .feature-highlight {
        padding: 2rem;
    }
    
    .feature-content h3 {
        font-size: 2rem;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .security-animation {
        width: 150px;
        height: 150px;
    }
    
    .shield-icon {
        font-size: 3rem;
    }
    
    .layer-1 {
        width: 90px;
        height: 90px;
        top: -45px;
        left: -45px;
    }
    
    .layer-2 {
        width: 120px;
        height: 120px;
        top: -60px;
        left: -60px;
    }
    
    .layer-3 {
        width: 150px;
        height: 150px;
        top: -75px;
        left: -75px;
    }
}

/* How it works section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    position: relative;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(13, 41, 78, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: var(--primary-gradient);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px var(--primary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0d294e;
    letter-spacing: -0.01em;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* Create secret section */
.create-secret-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
}

.create-secret-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 41, 78, 0.1), transparent);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.create-secret-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0d294e;
    letter-spacing: -0.02em;
}

.create-secret-section p {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA section */
.cta {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Forms */
.create-page, .view-page, .created-page, .error-page {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.page-header p {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.create-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}


.create-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.create-form .form-group:first-child {
    grid-column: 1 / -1;
}

.create-form .form-group:nth-child(2) {
    grid-column: 1 / -1;
}

.create-form .form-row {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
    width: 100%;
}

.create-form .form-row .form-group {
    grid-column: unset;
    width: 100%;
}

.create-form .form-actions {
    grid-column: 1 / -1;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .create-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .create-form .form-group:first-child,
    .create-form .form-group:nth-child(2),
    .create-form .form-group:nth-child(3),
    .create-form .form-group:nth-child(4) {
        grid-column: unset;
    }
    
    .create-form-container {
        max-width: 100%;
        padding: 2rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-weight: 600;
    color: #0d294e;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-input, .form-textarea, .form-select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    transform: translateY(-1px);
}

/* Custom scrollbar for form elements */
.form-textarea::-webkit-scrollbar {
    width: 6px;
}

.form-textarea::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.form-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 3px;
}

.form-textarea::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient-hover);
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Secret content textarea - full width and prominent */
#secretContent {
    width: 100%;
    min-height: 120px;
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    word-wrap: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;
}

/* Passphrase input specific styling */
#passphraseInput {
    margin-top: 15px;
    margin-bottom: 25px;
}

.form-help {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    margin-top: 1rem;
}

/* Error popup */
.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.error-popup-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: scaleIn 0.3s ease-out;
    border-left: 4px solid #dc2626;
}

.error-popup-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.error-popup-icon i {
    font-size: 3rem;
    color: #dc2626;
}

.error-popup-message h3 {
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.error-popup-message p {
    color: #991b1b;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.error-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #991b1b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.error-popup-close:hover {
    background: #fecaca;
    color: #dc2626;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Result container */
.result-container {
    max-width: 900px;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border: 2px solid #68d391;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.result-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #68d391, #38a169);
    border-radius: 1.5rem 1.5rem 0 0;
}

.result-success {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.secret-info {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.info-item code {
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    word-break: break-all;
    word-wrap: break-word;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
}

.secret-url {
    margin: 1.5rem 0;
}

.secret-url label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.url-input-group {
    display: flex;
    gap: 0.5rem;
}

.url-input-group .form-input {
    flex: 1;
}

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

/* View page specific */
.secret-info {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.passphrase-form {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.passphrase-form h3 {
    margin-bottom: 1rem;
    color: #1a202c;
}

.content-container {
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-display {
    margin-bottom: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

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

.warning-message {
    background: #fef5e7;
    border: 1px solid #f6ad55;
    color: #744210;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.warning-box {
    background: #fef5e7;
    border: 1px solid #f6ad55;
    color: #744210;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.warning-box h3 {
    margin-bottom: 1rem;
    color: #744210;
}

.warning-box ul {
    list-style: none;
    padding: 0;
}

.warning-box li {
    padding: 0.25rem 0;
}

.warning-box li:before {
    content: "• ";
    color: #f6ad55;
    font-weight: bold;
}

/* Error page */
.error-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.error-container p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

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

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 41, 78, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 41, 78, 0.1);
    max-width: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px -1px var(--primary-light);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

.alert-warning {
    background: #fef5e7;
    color: #744210;
    border: 1px solid #f6ad55;
}

.alert-info {
    background: #ebf8ff;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

.alert-icon {
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coming-soon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
}

.coming-soon-content i {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.coming-soon-text {
    font-size: 1rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .coming-soon-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coming-soon-text {
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    padding: 0.25rem 0;
    color: #a0aec0;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e3a5f;
    color: #a0aec0;
}

/* Legal pages */
.legal-page {
    padding: 4rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.legal-content h1 {
    color: #0d294e;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content h2 {
    color: #0d294e;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #0d294e;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.legal-content strong {
    color: #0d294e;
    font-weight: 600;
}

.last-updated {
    text-align: center;
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    color: #e67a00;
    text-decoration: underline;
}

.cookie-table, .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-table th, .data-table th {
    background: #0d294e;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td, .data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.cookie-table tr:last-child td, .data-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even), .data-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d294e;
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
}

.cookie-banner .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cookie modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #0d294e;
    font-size: 1.5rem;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.cookie-modal-close:hover {
    background: #f7fafc;
    color: #0d294e;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    margin: 0;
    color: #0d294e;
    font-size: 1.125rem;
    font-weight: 600;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 1.5rem;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 1.125rem;
    width: 1.125rem;
    left: 0.1875rem;
    bottom: 0.1875rem;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(1.5rem);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .cookie-table, .data-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th, .data-table th,
    .cookie-table td, .data-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Tools section */
.tools {
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    position: relative;
}

.tools .container {
    max-width: 1400px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

/* Hero Slideshow Styles */
.hero-slideshow {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow-wrapper {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 41, 78, 0.8) 0%, rgba(255, 138, 0, 0.6) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text {
    max-width: 600px;
    color: white;
    text-align: left;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-badge i {
    font-size: 1rem;
    color: #ffd700;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.slide-features .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.slide-features .feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slide-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-actions .btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.4);
}

.slide-actions .btn-primary:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.6);
}

.slide-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.slide-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.slideshow-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.3);
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
}

.slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 2rem;
}

.slideshow-nav.next {
    right: 2rem;
}

.slideshow-nav i {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

/* Responsive slideshow */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slide-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .slideshow-nav {
        width: 50px;
        height: 50px;
    }
    
    .slideshow-nav.prev {
        left: 1rem;
    }
    
    .slideshow-nav.next {
        right: 1rem;
    }
    
    .slideshow-nav i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slideshow-nav {
        display: none;
    }
    
    .slideshow-dots {
        bottom: 1rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

.tool-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 41, 78, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card-header {
    flex-shrink: 0;
}

.tool-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card-description {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    min-height: 100px;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tool-icon {
    font-size: 4rem;
    margin: 0 auto 2rem auto;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tool-card:hover .tool-icon {
    color: #e67a00;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.3);
}

.tool-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #0d294e;
    letter-spacing: -0.01em;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 0 2rem 0;
    min-height: 50px;
    align-items: center;
    flex-shrink: 0;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--primary-light);
}

.tool-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    min-height: 50px;
    align-items: center;
    flex-shrink: 0;
    padding: 0 1rem;
}

.tool-actions .btn {
    white-space: nowrap;
    min-width: 120px;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Deployment section */
.deployment {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
    position: relative;
}

.deployment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.deployment-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0d294e;
}

.deployment-info p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.deployment-info ul {
    list-style: none;
    padding: 0;
}

.deployment-info li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.deployment-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.deployment-code {
    background: #0d294e;
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.deployment-code h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.deployment-code pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.deployment-code code {
    color: #68d391;
}

/* Use cases section */
.use-cases {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    position: relative;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(13, 41, 78, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.use-case-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0d294e;
}

.use-case-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* CTA actions */
.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Enterprise Features Section */
.enterprise-features {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

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

.enterprise-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.enterprise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.enterprise-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.enterprise-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.enterprise-item p {
    color: #718096;
    line-height: 1.6;
}

/* Security Section */
.security-section {
    padding: 6rem 0;
    background: #1a202c;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-text .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.security-description {
    font-size: 1.125rem;
    color: #a0aec0;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.security-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    width: 2rem;
    text-align: center;
}

.security-feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.security-feature p {
    color: #a0aec0;
    line-height: 1.6;
}

/* Contact section */
.contact {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.7s forwards;
    position: relative;
    overflow: hidden;
    z-index: 998;
    isolation: isolate;
}

/* Index page contact section with coral background */
.contact-index {
    background: var(--primary-gradient);
    background-image: url('../images/coral-2637019_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.contact * {
    color: white !important;
}

.contact a {
    color: white !important;
}

.contact button {
    color: white !important;
}

.contact .btn {
    color: white !important;
}

.contact .btn-primary {
    color: white !important;
}

.contact .btn-secondary {
    color: white !important;
}

.contact .btn-outline {
    color: white !important;
    border-color: white !important;
}

.contact .btn-outline:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.contact .btn-large {
    color: white !important;
}

.contact .btn-primary.btn-large {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.contact .btn-primary.btn-large:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Force all text in contact section to be white with maximum specificity */
.contact h1,
.contact h2,
.contact h3,
.contact h4,
.contact h5,
.contact h6,
.contact p,
.contact span,
.contact div,
.contact a,
.contact button {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Nuclear option - override everything in contact section */
#contact * {
    color: white !important;
}

#contact h1,
#contact h2,
#contact h3,
#contact h4,
#contact h5,
#contact h6,
#contact p,
#contact span,
#contact div,
#contact a,
#contact button {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.75) 0%, rgba(255, 107, 53, 0.75) 100%);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grain)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    z-index: 999;
    isolation: isolate;
}

.contact .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.contact-info p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 1000;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: white;
    width: 2rem;
    text-align: center;
}

.contact-item span {
    font-weight: 500;
    color: white;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
    position: relative;
    z-index: 1000;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .tools .container {
        max-width: 1200px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop optimization for coral background */
@media (min-width: 1200px) {
    .hero-index {
        background-attachment: fixed;
        background-position: center center;
    }
    
    .hero-passwordshare {
        background-attachment: fixed;
        background-position: center center;
    }
    
    .hero-angler {
        background-attachment: fixed;
        background-position: center center;
    }
    
    
    .cta-passwordshare {
        background-attachment: fixed;
        background-position: center center;
    }
    
    .feature-highlight {
        background-attachment: fixed;
        background-position: center center;
    }
    
    .contact-index {
        background-attachment: fixed;
        background-position: center center;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-index {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .hero-passwordshare {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .hero-angler {
        background-attachment: scroll;
        background-position: center top;
    }
    
    
    .cta-passwordshare {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .result-actions, .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        gap: 0.5rem;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .nav {
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deployment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .tool-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-index {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-actions {
        align-items: center;
    }
}

/* Force Angler contact section to use blue theme with jellyfish background - highest priority */
.contact.contact-angler {
    background: linear-gradient(135deg, #0d294f 0%, #1e3a5f 100%) !important;
    background-image: url('../images/jellyfish-21741_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.contact.contact-angler::before {
    background: linear-gradient(135deg, rgba(13, 41, 79, 0.75) 0%, rgba(30, 58, 95, 0.75) 100%) !important;
}

/* PasswordShare Enterprise contact section styling */
.contact.contact-passwordshare-enterprise {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    background-image: url('../images/aquarium-3202717_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.contact.contact-passwordshare-enterprise::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.75) 0%, rgba(109, 40, 217, 0.75) 100%) !important;
}

/* DocuPulse theme styling */
.theme-docupulse {
    --primary-color: #16767b;
    --primary-hover: #0f5a5e;
    --primary-light: rgba(22, 118, 123, 0.08);
    --primary-gradient: linear-gradient(135deg, #16767b 0%, #711e60 100%);
    --primary-gradient-hover: linear-gradient(135deg, #711e60 0%, #16767b 100%);
}

.theme-docupulse .btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
}

.theme-docupulse .btn-primary:hover {
    background: var(--primary-gradient-hover);
    border-color: var(--primary-hover);
}

.theme-docupulse .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-docupulse .btn-outline:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

.theme-docupulse .feature-icon-modern {
    background: var(--primary-gradient);
    color: white;
}

.theme-docupulse .step-number {
    background: var(--primary-gradient);
    color: white;
}

.theme-docupulse .comparison-table {
    border: 1px solid var(--primary-color);
}

.theme-docupulse .comparison-header {
    background: var(--primary-gradient);
    color: white;
}

/* DocuPulse hero section styling */
.hero-docupulse {
    background: linear-gradient(135deg, #16767b 0%, #711e60 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-docupulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/reef-tank-3624204_1920.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-docupulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 118, 123, 0.4) 0%, rgba(113, 30, 96, 0.3) 100%);
    pointer-events: none;
}

/* DocuPulse contact section styling */
.contact.contact-docupulse {
    background: linear-gradient(135deg, #16767b 0%, #711e60 100%) !important;
    background-image: url('../images/coral-3202723_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.contact.contact-docupulse::before {
    background: linear-gradient(135deg, rgba(22, 118, 123, 0.75) 0%, rgba(113, 30, 96, 0.75) 100%) !important;
}

/* DocuPulse Lite theme styling */
.theme-docupulse-lite {
    --primary-color: #1e6f79;
    --primary-hover: #1a5f68;
    --primary-light: rgba(30, 111, 121, 0.08);
    --primary-gradient: linear-gradient(135deg, #1e6f79 0%, #1e6f79 100%);
    --primary-gradient-hover: linear-gradient(135deg, #1a5f68 0%, #1a5f68 100%);
}

.theme-docupulse-lite .btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
}

.theme-docupulse-lite .btn-primary:hover {
    background: var(--primary-gradient-hover);
    border-color: var(--primary-hover);
}

.theme-docupulse-lite .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-docupulse-lite .btn-outline:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
}

.theme-docupulse-lite .feature-icon-modern {
    background: var(--primary-gradient);
    color: white;
}

.theme-docupulse-lite .step-number {
    background: var(--primary-gradient);
    color: white;
}

.theme-docupulse-lite .comparison-table {
    border: 1px solid var(--primary-color);
}

.theme-docupulse-lite .comparison-header {
    background: var(--primary-gradient);
    color: white;
}

/* DocuPulse Lite hero section styling */
.hero-docupulse-lite {
    background: linear-gradient(135deg, #1e6f79 0%, #1e6f79 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-docupulse-lite::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/anemone-1391724_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-docupulse-lite::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 111, 121, 0.4) 0%, rgba(30, 111, 121, 0.3) 100%);
    pointer-events: none;
}

/* DocuPulse Lite contact section styling */
.contact.contact-docupulse-lite {
    background: linear-gradient(135deg, #1e6f79 0%, #1e6f79 100%) !important;
    background-image: url('../images/sea-anemone-6677841_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Pricing Comparison Styles */
.pricing-comparison {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.pricing-badge.coming-soon {
    background: #fef3c7;
    color: #92400e;
}

.pricing-badge.popular {
    background: var(--primary-gradient);
    color: white;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0.25rem;
}

.pricing-price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.pricing-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.pricing-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #555;
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

.pricing-cta .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Location & Compliance Section */
.location-compliance {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.location-content {
    text-align: center;
}

.location-info h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.location-info p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.compliance-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 150px;
}

.compliance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.compliance-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.compliance-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
    
    .compliance-features {
        gap: 1rem;
    }
    
    .compliance-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .compliance-item i {
        font-size: 1.5rem;
    }
}

.contact.contact-docupulse-lite::before {
    background: linear-gradient(135deg, rgba(30, 111, 121, 0.75) 0%, rgba(30, 111, 121, 0.75) 100%) !important;
}
