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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8fafc;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 75%, #475569 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(56, 189, 248, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    animation: gradientShift 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}

.smart-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
    gap: 32px;
}

.icon-container {
    position: relative;
    display: flex;
    align-items: center;
}

.smart-icon {
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
    animation: iconFloat 3s ease-in-out infinite;
}

.smart-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.smart-icon:nth-child(3) {
    animation-delay: 1s;
}

.smart-icon:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.connection-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
    margin-left: 16px;
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.brand-name {
    display: block;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.divider {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
    margin: 16px 0;
}

.tagline {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-top: 24px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Content Section */
.content-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.content-text {
    max-width: 600px;
}

.content-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 32px;
    line-height: 1.2;
}

.content-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 48px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.feature-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

.cta-container {
    text-align: center;
}

.cta-button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    border: none;
    border-radius: 50px;
    padding: 18px 48px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.4);
}

.button-glow {
    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.6s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

.cta-subtitle {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #64748b;
}

/* Smart Home Visualization */
.content-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.smart-home-visualization {
    position: relative;
    width: 400px;
    height: 400px;
}

.house-outline {
    width: 100%;
    height: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    padding: 24px;
}

.room {
    position: relative;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.room-3 {
    grid-column: span 2;
}

.device {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
}

.device-light {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

.device-thermostat {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.device-speaker {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.device-camera {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
}

.device-sensor {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.device::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-ring {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    animation: hubRotate 10s linear infinite;
}

.hub-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

@keyframes hubRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.connection-web::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at center, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    border-radius: 24px;
    animation: connectionPulse 3s ease-in-out infinite;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 64px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.contact-details h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.contact-details p {
    color: #64748b;
    margin: 6px 0;
    line-height: 1.6;
}

.contact-details a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0891b2;
}

/* Privacy Policy Section */
.privacy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

.privacy-item {
    margin-bottom: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.privacy-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-item p {
    color: #475569;
    margin: 0 0 12px 0;
}

.privacy-item ul {
    color: #475569;
    margin: 12px 0;
    padding-left: 24px;
}

.privacy-item li {
    margin: 8px 0;
    position: relative;
}

.privacy-item li::marker {
    color: #38bdf8;
}

.privacy-footer {
    text-align: center;
    padding: 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 40px;
    background: rgba(56, 189, 248, 0.02);
    border-radius: 12px;
}

.privacy-footer p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    font-style: italic;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 64px 0 32px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #38bdf8;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-tech-icons {
    display: flex;
    gap: 16px;
}

.tech-icon {
    width: 32px;
    height: 32px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .smart-home-visualization {
        width: 320px;
        height: 320px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-item {
        padding: 24px;
    }

    .privacy-item {
        padding: 24px;
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .smart-icons {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .smart-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .connection-line {
        display: none;
    }
    
    .hero-content {
        padding: 24px 16px;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .smart-home-visualization {
        width: 280px;
        height: 280px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .privacy-item {
        padding: 20px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .content-title {
        font-size: 1.75rem;
    }
    
    .content-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .smart-home-visualization {
        width: 240px;
        height: 240px;
    }
    
    .house-outline {
        padding: 16px;
        gap: 12px;
    }
    
    .device {
        width: 24px;
        height: 24px;
    }
    
    .hub-ring {
        width: 60px;
        height: 60px;
    }
    
    .hub-core {
        width: 36px;
        height: 36px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }

    .contact-icon {
        align-self: center;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .privacy-item {
        padding: 16px;
        margin-bottom: 20px;
    }

    .privacy-item h3 {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .contact-section,
    .privacy-section {
        padding: 60px 0;
    }
}