/* Page Specific Styles - Records Theme (Cyan/Teal) */
.records-hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.records-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.records-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ecfeff;
    /* Cyan 50 */
}

.records-text span.highlight {
    color: #22d3ee;
    /* Cyan 400 */
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #cffafe;
    /* Cyan 100 */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.subtitle strong {
    color: #fff;
}

.records-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Abstract Records Interface - Cyan Theme */
.records-interface {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    position: relative;
}

.records-interface:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: rgba(34, 211, 238, 0.4);
}

/* Mockup Structure */
.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.mock-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mock-doc {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(34, 211, 238, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mock-doc-icon {
    width: 30px;
    height: 40px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 4px;
}

.mock-doc-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-line {
    height: 4px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 2px;
    width: 80%;
}

/* Button Styling - Cyan Theme */
.btn-neon {
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Standardized Shape */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(8, 145, 178, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-neon:hover {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    /* Brighter Cyan */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(34, 211, 238, 0.6);
    border-color: rgba(165, 243, 252, 0.5);
}

.btn-secondary-neon {
    background: transparent;
    color: white;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.5);
    box-shadow: none;
}

.btn-secondary-neon:hover {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(34, 211, 238, 0.6);
}

/* Feature Cards - Cyan Overlay */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #ecfeff;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(8, 145, 178, 0.15);
    border-color: #a5f3fc;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #ecfeff;
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #164e63;
}

.feature-desc {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modules Dark Section (Cyan Variant) */
.modules-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #164e63 0%, #0e7490 100%);
    position: relative;
    overflow: hidden;
}

.modules-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #22d3ee;
    bottom: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Timeline Styles */
.timeline-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: #164e63;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #ecfeff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-title {
    font-size: 1.25rem;
    color: #164e63;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .records-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .records-text h1 {
        font-size: 3rem;
    }

    .subtitle {
        margin: 0 auto 2rem;
    }

    .records-visual {
        width: 100%;
        margin-top: 2rem;
    }

    .mock-doc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .records-hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .records-text h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .mock-doc-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Mobile Fix */
    .timeline-container {
        padding-left: 0;
    }

    .timeline-line {
        left: 30px !important;
        transform: none !important;
        width: 4px;
        background: #e0e7ff;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        /* Space for marker */
        padding-right: 0;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        flex-direction: column;
    }

    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        margin-top: 2rem;
    }

    .timeline-marker {
        left: 30px !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }
}

/* Responsive Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.comparison-card {
    padding: 3rem;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comparison-card {
        padding: 2rem !important;
    }

    .comparison-card[style*="scale"] {
        transform: scale(1) !important;
        margin-top: 1.5rem;
    }

    /* Responsive Interface */
    .records-interface {
        max-width: 100% !important;
        transform: none !important;
        width: 100% !important;
    }

    .records-interface:hover {
        transform: none !important;
    }
}