/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #ffffff;
    --accent-green: #4CAF50;
    --accent-green-dark: #388E3C;
    --accent-green-light: #81C784;
    --accent-gray: #757575;
    --accent-gray-light: #9E9E9E;
    --accent-gray-dark: #424242;
    --text-dark: #212121;
    --text-light: #757575;
    --text-medium: #424242;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-light: #fafafa;
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-primary);
    position: relative;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo .logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.2;
}

.nav-logo .tagline {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--accent-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 0.3rem;
    transition: var(--transition);
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(76, 175, 80, 0.1);
    border-left-color: var(--primary-color);
    padding-left: 1.8rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-medium);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
    color: var(--text-dark);
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
    color: var(--accent-gray-light);
    transition: var(--transition);
}

.floating-icon:hover {
    opacity: 0.4;
    color: var(--primary-color);
    transform: scale(1.1);
}

.floating-icon[data-icon="light"] {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon[data-icon="lock"] {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon[data-icon="climate"] {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon[data-icon="ai"] {
    top: 50%;
    right: 10%;
    animation-delay: 3s;
}

.floating-icon[data-icon="camera"] {
    bottom: 20%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -2px;
    color: var(--text-dark);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number.ai-powered {
    position: relative;
}

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

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.video-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.video-modal-close:hover {
    color: var(--primary-color);
}

.video-container {
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 900px;
    max-width: 90vw;
    height: 506px;
    max-height: 80vh;
    min-height: 300px;
}

.demo-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #000;
    object-fit: contain;
}

.video-fallback-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.video-link-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.video-link-btn:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    z-index: 0;
    display: none;
}

.video-loading.active {
    display: block;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    z-index: 2;
}

.video-fallback.active {
    display: flex;
}

.video-fallback p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.video-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.video-note-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* What We Offer Section */
.what-we-offer {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.solution-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.solution-card.premium {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.solution-card.premium:hover {
    box-shadow: var(--shadow-hover);
}

.solution-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
    grid-column: span 2;
}

.solution-card.featured:hover {
    box-shadow: var(--shadow-hover);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 3rem;
    text-align: center;
    padding: 2rem 0 1rem;
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.solution-card:hover .card-image img {
    transform: scale(1.1);
}

.video-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.solution-card:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.solution-card:hover .play-icon {
    transform: scale(1.2);
}

.hover-text {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-overlay.static {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-green-dark) 100%);
}

.shield-icon {
    font-size: 4rem;
}

.integration-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 2rem;
    height: 100%;
    align-items: center;
}

.logo-item {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.phone-frame {
    width: 200px;
    height: 350px;
    background: var(--primary-color);
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-green-dark) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    color: var(--secondary-color);
}

.app-header {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.control-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.control-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-subtitle {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow);
}

.card-cta:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

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

.product-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.product-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.product-item:hover .product-image {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.product-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-item p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow);
}

.product-btn:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Thermal Fence Section */
.thermal-fence-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    color: var(--text-dark);
    position: relative;
}

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

.thermal-content .section-title,
.thermal-content .section-subtitle {
    color: var(--secondary-color);
}

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

.thermal-feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.thermal-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.thermal-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thermal-feature p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Estates Section */
.estates-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

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

.estate-feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.estate-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.estate-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.estate-feature p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* AI & Data Section */
.ai-data-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.ai-feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.ai-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.ai-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ai-feature p {
    color: var(--text-medium);
    line-height: 1.6;
}

.simulator-container {
    margin-top: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.simulator-container h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.simulator-container > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.simulator {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sim-action {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow);
    border: none;
}

.sim-action:hover {
    background: var(--accent-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.sim-result {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* Resources Section */
.resources-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

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

.resource-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.resource-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.resource-item p {
    color: var(--text-light);
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.support-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.support-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.support-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.support-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.support-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow);
}

.support-btn:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: var(--bg-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-dark);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section p {
    color: var(--text-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-headline {
        font-size: 2.5rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }
    
    .nav-logo {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-logo .logo-text {
        font-size: 0.9rem;
    }
    
    .nav-logo .tagline {
        font-size: 0.5rem;
        margin-top: 0;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

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

    .solution-card.featured {
        grid-column: span 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 568px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .video-container {
        width: 95vw;
        max-width: 95vw;
        height: auto;
        min-height: 300px;
        max-height: 70vh;
    }
    
    .demo-video {
        position: relative;
        min-height: 300px;
    }
    
    .video-fallback {
        padding: 1.5rem;
    }
    
    .video-fallback p {
        font-size: 1.2rem;
    }
    
    .video-modal-content {
        width: 95vw;
    }
    
    .construction-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .construction-content {
        min-width: auto;
        padding: 1rem;
    }
    
    .construction-text h3 {
        font-size: 0.9rem;
    }
    
    .construction-text p {
        font-size: 0.8rem;
    }
    
    .worker {
        width: 50px;
        height: 50px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .hero-bg-image {
        opacity: 0.2;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Under Construction Notification */
.construction-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    animation: bounce-around 8s ease-in-out infinite;
    pointer-events: auto;
    transition: all 0.5s ease-out;
}

.construction-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-hover);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.construction-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-green-light), var(--accent-gray), var(--primary-color));
    border-radius: 15px;
    z-index: -1;
    animation: border-rotate 3s linear infinite;
    background-size: 400% 400%;
    opacity: 0.3;
}

@keyframes border-rotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(50px, -30px) rotate(5deg);
    }
    20% {
        transform: translate(-40px, 20px) rotate(-5deg);
    }
    30% {
        transform: translate(30px, 40px) rotate(3deg);
    }
    40% {
        transform: translate(-50px, -20px) rotate(-3deg);
    }
    50% {
        transform: translate(20px, -40px) rotate(5deg);
    }
    60% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }
    70% {
        transform: translate(40px, -20px) rotate(3deg);
    }
    80% {
        transform: translate(-20px, 40px) rotate(-3deg);
    }
    90% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.construction-workers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.worker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    animation: worker-work 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.worker-1 {
    animation-delay: 0s;
}

.worker-2 {
    animation-delay: 0.3s;
}

.worker-3 {
    animation-delay: 0.6s;
}

@keyframes worker-work {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg) scale(1.1);
    }
    50% {
        transform: translateY(-5px) rotate(0deg) scale(1.05);
    }
    75% {
        transform: translateY(-10px) rotate(5deg) scale(1.1);
    }
}

.construction-text {
    text-align: center;
    color: var(--secondary-color);
}

.construction-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.construction-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.construction-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-medium);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: bold;
}

.construction-close:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow);
}

.construction-notification.hidden {
    display: none;
}

/* AI Particles Effect */
.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: particle-float 15s infinite ease-in-out;
}

.particle.purple {
    background: var(--accent-gray);
    opacity: 0.2;
}

.particle.neon {
    background: var(--primary-color);
    opacity: 0.3;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100vh) translateX(50px);
    }
}

/* Neural Network Effect */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: node-pulse 3s ease-in-out infinite;
}

.neural-node.purple {
    background: var(--accent-gray);
    opacity: 0.2;
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.1;
    animation: connection-pulse 4s ease-in-out infinite;
}

@keyframes node-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes connection-pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Enhanced AI Icon */
.ai-icon {
    animation: ai-pulse 2s ease-in-out infinite;
}

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

