/* AnySmart Website - CCTV & Surveillance Page CSS */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Root Variables - Matching home.css */
:root {
    --primary-blue: #03a9f4;
    --light-gray: #e9e9e9;
    --dark-gray: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Hero section styles are imported from the component */

/* Hikvision Intro Section */
.hikvision-intro-section {
    background: var(--white);
    padding: 5rem 2rem 4rem 2rem;
    text-align: center;
}

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

.intro-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.intro-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--dark-gray);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0288d1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(3, 169, 244, 0.3);
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
}

.feature-icon .material-icons {
    font-size: 40px;
    color: var(--white);
}

.feature-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--dark-gray);
    line-height: 1.6;
    text-align: center;
}

/* Who is Hikvision Section */
.who-hikvision-section {
    background: var(--light-gray);
    padding: 5rem 2rem;
}

.who-hikvision-container {
    max-width: 1400px;
    margin: 0 auto;
}

.who-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.who-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.hikvision-camera-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.who-text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.who-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: -0.5px;
}

.who-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--dark-gray);
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.who-description {
    font-size: 1rem;
    font-weight: 300;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: 0.5px;
}

.benefit-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .who-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .who-image-column {
        position: relative;
        top: 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hikvision-intro-section {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
    }
    
    .feature-icon .material-icons {
        font-size: 32px;
    }
    
    .who-hikvision-section {
        padding: 3rem 1.5rem;
    }
    
    .who-title {
        font-size: 1.8rem;
    }
    
    .who-subtitle {
        font-size: 1.2rem;
    }
    
    .hikvision-camera-img {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 1.6rem;
    }
    
    .intro-description {
        font-size: 0.95rem;
    }
    
    .who-title {
        font-size: 1.5rem;
    }
    
    .who-subtitle {
        font-size: 1.1rem;
    }
    
    .who-description {
        font-size: 0.95rem;
    }
    
    .benefit-title {
        font-size: 1rem;
    }
    
    .benefit-text {
        font-size: 0.9rem;
    }
}

/* Main Factsheets Section */
.factsheets-section {
    background: #d3d3d3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.factsheets-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.factsheets-title {
    font-size: 3rem;
    font-weight: 300;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0;
}

.factsheets-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Left Column: Image */
.factsheets-image {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.factsheets-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    aspect-ratio: 1 / 1;
}

/* Right Column: Content */
.factsheets-content {
    display: flex;
    flex-direction: column;
}

/* Factsheets List */
.factsheets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.factsheet-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.factsheet-row:hover {
    padding-left: 10px;
}

.factsheet-row.convenience-row {
    border-bottom: 2px solid #8b7340;
    padding-bottom: 0;
}

.fund-name {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.5;
}

.factsheet-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 50px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.factsheet-btn:hover {
    background: #333333;
}

.download-all-btn {
    background: #8b7340;
    padding: 14px 50px;
    font-size: 1rem;
}

.download-all-btn:hover {
    background: #a67c00;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .factsheets-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .factsheets-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .factsheets-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .factsheets-section {
        padding: 40px 25px;
    }
    
    .factsheets-title {
        font-size: 1.8rem;
    }
    
    .factsheet-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .factsheet-btn {
        width: 100%;
    }
    
    .fund-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .factsheets-section {
        padding: 30px 15px;
    }
    
    .factsheets-title {
        font-size: 1.5rem;
    }
    
    .factsheets-image {
        min-height: 250px;
    }
    
    .factsheet-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .download-all-btn {
        padding: 14px 30px;
    }
}