* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.logo img {
    height: 48px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0056b3;
}

.login-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.login-btn:hover {
    border-color: #0056b3;
    color: #0056b3;
}

/* Hero Section */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0 0;
    text-align: left;
    background-image: url('/images/court-square-hometown-grid.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
    max-width: none;
    margin: 0;
    flex: 1;
    padding: 0 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
    align-self: center;
    padding-bottom: 2rem;
    min-width: 0;
    max-width: calc(100% - 420px);
    margin-left: 0;
}

.demo-container {
    flex: 0 0 380px;
    position: relative;
    align-self: flex-end;
    margin-right: 0;
}

/* iPhone Mockup */
.iphone-mockup {
    width: 380px;
    height: 620px;
    background: #000;
    border-radius: 50px 50px 0 0;
    padding: 10px 10px 0 10px;
    position: relative;
    overflow: hidden;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 35px 35px 0 0;
    position: relative;
    overflow: hidden;
}

.iphone-header {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.messages-container {
    height: calc(100% - 140px);
    overflow-y: auto;
    padding: 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.messages-container::-webkit-scrollbar {
    display: none;
}

.message {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.message.customer {
    text-align: right;
}

.message.system {
    text-align: left;
}

.message-bubble {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 22px;
    max-width: 80%;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
}

.customer .message-bubble {
    background: #007AFF;
    color: white;
}

.customer .message-bubble::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: -6px;
    width: 0;
    height: 0;
    border-left: 12px solid #007AFF;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.system .message-bubble {
    background: #e5e5ea;
    color: #333;
}

.system .message-bubble::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: -6px;
    width: 0;
    height: 0;
    border-right: 12px solid #e5e5ea;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.typing-indicator {
    display: none;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 25px;
}

.typing-bubble {
    background: #e5e5ea;
    border-radius: 22px;
    padding: 15px 25px;
    display: inline-block;
    position: relative;
}

.typing-dots {
    display: flex;
    gap: 5px;
}

.typing-dots span {
    width: 10px;
    height: 10px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: 50px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.btn-primary {
    padding: 0.875rem 2rem;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #004494;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

/* Hero Utility Icons */
.hero-utility-icons {
    position: absolute;
    bottom: 2rem;
    left: 40px;
    display: flex;
    gap: 2rem;
    z-index: 2;
    opacity: 0.9;
    margin-left: 0;
}

.hero-utility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-utility-item:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.hero-utility-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-utility-item span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Utility Icons */
.utility-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 4rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .utility-icons {
        display: none;
    }
}

.utility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 90px;
}

.utility-item i {
    font-size: 3rem;
    transition: transform 0.2s;
}

.utility-item:hover i {
    transform: scale(1.1);
}

.utility-item span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

/* Individual icon colors */
.utility-item:nth-child(1) i { color: #FFD700; } /* Power - Gold */
.utility-item:nth-child(2) i { color: #4A90E2; } /* Water - Blue */
.utility-item:nth-child(3) i { color: #8B4513; } /* Sewer - Brown */
.utility-item:nth-child(4) i { color: #FF6B35; } /* Gas - Orange */
.utility-item:nth-child(5) i { color: #9B59B6; } /* Internet - Purple */
.utility-item:nth-child(6) i { color: #F39C12; } /* Streetlight - Amber */
.utility-item:nth-child(7) i { color: #95A5A6; } /* More - Gray */

/* Enhanced Content Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
    font-size: 1.1rem;
}

.purpose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.purpose-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.purpose-text {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
}

.cta-section {
    background: #0056b3;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    padding: 1rem 2rem;
    background: white;
    color: #0056b3;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Testimonial */
.testimonial {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial cite {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    font-style: normal;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
}

.footer-copy {
    color: #999;
    font-size: 0.875rem;
}

.difference {
	font-size:25px;	
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
	
	.header-company-text {
		font-size:18px;	
	}

    .nav-right {
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 4rem 0 0;
        min-height: 90vh;
    }
	
	.hero h1 {
		font-size:39px;	
	}
	
	.hero .subtitle {
		font-size:17px;	
	}

	.cta-title {
		font-size:22px;	
	}
	
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 30px;
    }

    .hero-text {
        padding-bottom: 1rem;
        max-width: 100%;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .demo-container {
        flex: 0 0 300px;
        align-self: center;
        margin-right: 0;
    }

    .hero-utility-icons {
        display: none;
    }

    .hero-utility-item i {
        font-size: 1.5rem;
    }

    .hero-utility-item span {
        font-size: 0.7rem;
    }

    .iphone-mockup {
        width: 300px;
        height: 500px;
        padding: 8px 8px 0 8px;
        border-radius: 40px 40px 0 0;
    }

    .iphone-screen {
        border-radius: 25px 25px 0 0;
    }

    .iphone-header {
        padding: 15px 20px;
        font-size: 16px;
    }

    .messages-container {
        padding: 20px;
        height: calc(100% - 120px);
    }

    .message {
        margin-bottom: 15px;
    }

    .message-bubble {
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 14px;
    }

    .typing-bubble {
        padding: 12px 20px;
        border-radius: 18px;
    }

    .typing-dots span {
        width: 8px;
        height: 8px;
    }

    .hero .subtitle {
        text-align: center;
    }

    .utility-icons {
        gap: 2rem;
        margin: 3rem 0;
    }

    .utility-item i {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .testimonial {
        padding: 4rem 1rem;
    }

    .testimonial blockquote {
        font-size: 1.25rem;
    }
}