/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
    min-width: 320px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.container {
    max-width: 1236px;
    margin: 0 auto;
    padding: 0 clamp(8px, 2vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Auto-fit sections to screen edges */
section {
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: clamp(20px, 5vh, 72px) clamp(8px, 2vw, 80px) clamp(40px, 8vh, 112px) clamp(8px, 2vw, 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    gap: clamp(15px, 3vh, 50px);
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: clamp(20px, 5vh, 72px) clamp(8px, 2vw, 80px) clamp(40px, 8vh, 112px) clamp(8px, 2vw, 80px);
    gap: clamp(15px, 3vh, 50px);
    opacity: 1;
    background: none;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bghero.jpg');
    background-size: cover;
    background-position: 50% 60%;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000094;
    z-index: -1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-image {
    max-width: 416px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}



.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(32px, 4.4vw, 64px);
    line-height: 1.25;
    letter-spacing: -0.04em;
    text-align: center;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-family: 'Inter';
    font-weight: 500;
    font-style: normal;
    font-size: clamp(18px, 1.9vw, 28px);
    line-height: 1.36;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 1098px;
    opacity: 1;
    margin: 0 auto;
}

/* Section Styles */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: #2d3748;
}

/* Cards Grid */
.cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1236px;
    width: 100%;
    gap: 28px;
    opacity: 1;
    margin: 0 auto 80px auto;
}

.empowerment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 1236px;
    margin: 0 auto;
}

.empowerment-grid .card {
    width: 100%;
    max-width: 393px;
    min-width: 300px;
    flex: 0 1 calc(33.333% - 19px);
    min-height: 260px;
    padding: 24px;
    gap: 4px;
    opacity: 1;
    border-radius: 22.35px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 0px #00000040;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card h3, .empowerment-grid .card h3 {
    max-width: 297.603515625px;
    width: 100%;
    opacity: 1;
    font-family: 'Inter';
    font-weight: 600;
    font-style: normal;
    font-size: clamp(20px, 1.9vw, 28px);
    line-height: 150%;
    letter-spacing: 1%;
    text-align: center;
    margin: 0 auto 16px auto;
    color: #2d3748;
}

.card p, .empowerment-grid .card p {
    max-width: 345px;
    width: 100%;
    opacity: 1;
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 150%;
    letter-spacing: 1%;
    text-align: center;
    color: #4a5568;
    margin: 0 auto;
}

/* Section Backgrounds */
.complexity {
    width: 100%;
    min-height: clamp(400px, 50vh, 574px);
    padding: clamp(30px, 5vh, 71px) clamp(8px, 2vw, 5%) clamp(50px, 8vh, 112px) clamp(8px, 2vw, 5%);
    background: #FFFFFF;
    gap: clamp(16px, 2vh, 32px);
    opacity: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.complexity .cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1236px;
    width: 100%;
    gap: 28px;
    opacity: 1;
    margin: 0 auto;
}

.complexity .card {
    width: 100%;
    max-width: 394px;
    min-height: 249px;
    padding: 32px 19px 32px 19px;
    gap: 4px;
    opacity: 1;
    border-radius: 22.35px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px 0px #00000040;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.empowerment {
    width: 100%;
    min-height: clamp(500px, 60vh, 814px);
    padding: clamp(30px, 5vh, 71px) clamp(8px, 2vw, 5%) clamp(40px, 5vh, 72px) clamp(8px, 2vw, 5%);
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 2vh, 24px);
}

/* Citizen Focus Section */
.citizen-focus {
    padding: clamp(50px, 8vh, 100px) 0;
    background: #FFFFFF;
    width: 100%;
}

.citizen-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    max-width: 1236px;
    margin: 0 auto;
}

.citizen-text h2 {
    max-width: 793px;
    width: 100%;
    opacity: 1;
    font-family: 'Inter';
    font-weight: 500;
    font-style: normal;
    font-size: clamp(28px, 3.3vw, 48px);
    line-height: 150%;
    letter-spacing: 1%;
    color: #111D2C;
    text-align: left;
    padding-left: 0;
    margin: 0;
}

.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.phone-mockup img {
    max-width: 248px;
    width: 100%;
    height: auto;
    opacity: 1;
    object-fit: contain;
    content: url('phone.png');
}

/* Phone mockup styles moved to .phone-mockup class */

/* Removed app-related styles */

/* Inside Urbanora Section */
.inside-urbanora {
    padding: clamp(50px, 8vh, 100px) 0;
    background: #F8F8F8;
    width: 100%;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1138px;
    min-height: 251px;
    padding: 31px clamp(20px, 5.6vw, 64px);
    opacity: 1;
    border-radius: 22.35px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    box-shadow: 0px 0px 4px 0px #00000040;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-icon {
    flex-shrink: 0;
    width: clamp(80px, 11vw, 160px);
    height: clamp(80px, 11vw, 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: contain;
}

.feature-content {
    flex: 1;
    margin-left: 24px;
    gap: 4px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: rotate(0deg);
}

.feature-content h3 {
    width: auto;
    opacity: 1;
    font-family: 'Inter';
    font-weight: 600;
    font-style: normal;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -3%;
    color: #33404B;
    margin-bottom: 16px;
}

.feature-content p {
    width: 100%;
    max-width: 718px;
    opacity: 1;
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 180%;
    letter-spacing: 1%;
    color: #33404B;
}

/* CTA Section */
.cta {
    width: 100%;
    min-height: clamp(200px, 25vh, 291px);
    transform: rotate(0deg);
    opacity: 1;
    padding: clamp(50px, 8vh, 113px) clamp(8px, 2vw, 5%) clamp(50px, 8vh, 112px) clamp(8px, 2vw, 5%);
    background: #FFFFFF;
    color: black;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta .section-title {
    max-width: 1062px;
    width: 100%;
    transform: rotate(0deg);
    opacity: 1;
    font-family: Inter;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(32px, 3.3vw, 48px);
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: black;
    margin-bottom: 0;
}

/* Footer */
.footer {
    width: 100%;
    min-height: clamp(300px, 40vh, 448.66668701171875px);
    gap: 4px;
    transform: rotate(0deg);
    opacity: 1;
    padding: clamp(60px, 10vh, 148px) clamp(8px, 2vw, 5%) clamp(60px, 10vh, 148px) clamp(8px, 2vw, 5%);
    background: #000000;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0;
}

.footer-divider {
    width: 100%;
    max-width: 1350px;
    height: 0px;
    transform: rotate(0deg);
    opacity: 0.8;
    border-width: 0.5px;
    border-top: 0.5px solid #FFFFFF;
    background: transparent;
    margin: 10px auto;
    position: relative;
    left: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0;
}

.footer-text {
    max-width: 563px;
    width: 100%;
    height: auto;
    transform: rotate(0deg);
    opacity: 1;
    font-family: Inter;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0 auto 10px auto;
}

.product-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.rootcode-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.rootcode-logo img {
    width: clamp(80px, 8vw, 116px);
    height: auto;
    transform: rotate(0deg);
    opacity: 1;
    object-fit: contain;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: auto;
    height: auto;
    min-height: 47px;
    transform: rotate(0deg);
    opacity: 1;
    font-family: Inter;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 130%;
    letter-spacing: 1%;
    background: transparent;
    color: white;
    padding: 0;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin: 0;
    cursor: pointer;
}

.contact-btn:hover {
    opacity: 0.8;
}

.contact-btn-arrow {
    width: clamp(28px, 3.3vw, 48px);
    height: clamp(28px, 3.3vw, 48px);
    opacity: 1;
    transform: rotate(0deg);
    fill: white;
}

.footer-right {
    text-align: right;
    position: relative;
}

.copyright {
    font-size: clamp(12px, 0.8vw, 14px);
    opacity: 0.7;
    text-align: right;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .footer {
        padding: 120px 5% 120px 5%;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0 2.5%;
    }
    
    .hero {
        padding: 60px 5% 100px 5%;
    }
    
    .citizen-content {
        max-width: 95%;
        gap: 40px;
    }
    
    .feature-card {
        max-width: 95%;
        width: 100%;
        padding: 24px 32px;
    }
    
    .empowerment-grid .card {
        flex: 0 1 calc(50% - 14px);
        max-width: 450px;
    }
    
    .footer {
        padding: 120px 5% 120px 5%;
    }
    
    .cta {
        padding: 100px 5% 100px 5%;
    }
    
    .cta .section-title {
        max-width: 95%;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .citizen-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .citizen-text h2 {
        text-align: center;
        margin: 0 auto;
    }
    
    .empowerment-grid .card {
        flex: 0 1 calc(50% - 14px);
        max-width: 400px;
        min-width: 280px;
    }
    
    .complexity .cards-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .complexity .card {
        max-width: 450px;
        width: 80%;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
        padding: 32px 24px;
    }
    
    .feature-content {
        margin-left: 0;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 10px;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .footer-text {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .contact-btn {
        font-size: clamp(24px, 3vw, 36px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 5% 80px 5%;
        gap: 30px;
    }
    
    .logo-image {
        width: clamp(250px, 60vw, 416px);
        height: auto;
    }
    
    .cards-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .complexity .cards-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .empowerment-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .empowerment-grid .card {
        max-width: 400px;
        width: 90%;
    }
    
    .complexity .card {
        max-width: 400px;
        width: 90%;
    }
    
    .citizen-focus {
        padding: 60px 0;
    }
    
    .inside-urbanora {
        padding: 60px 0;
    }
    
    .feature-cards {
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .cta {
        padding: 80px 5% 80px 5%;
    }
    
    .footer {
        padding: 80px 5% 80px 5%;
    }
    
    .footer-divider {
        width: 100%;
        left: 0;
        margin: 20px auto;
    }
    
    .contact-btn-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 30px 5% 60px 5%;
        gap: 20px;
    }
    
    .container {
        padding: 0 5%;
    }
    
    .citizen-content {
        gap: 20px;
    }
    
    .phone-mockup img {
        max-width: 200px;
    }
    
    .feature-content h3 {
        margin-bottom: 12px;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .contact-btn {
        gap: 12px;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-text {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 150%;
    }
    
    .product-by {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .rootcode-logo img {
        width: clamp(80px, 20vw, 116px);
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 5% 40px 5%;
    }
    
    .logo-image {
        width: clamp(200px, 80vw, 300px);
    }
    
    .empowerment-grid .card,
    .complexity .card {
        width: 95%;
        padding: 20px 16px;
    }
    
    .card h3,
    .empowerment-grid .card h3 {
        width: auto;
        height: auto;
        font-size: clamp(20px, 5vw, 28px);
    }
    
    .card p,
    .empowerment-grid .card p {
        width: auto;
        height: auto;
        font-size: clamp(14px, 3.5vw, 18px);
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-icon {
        width: 120px;
        height: 120px;
    }
    
    .feature-icon img {
        width: 120px;
        height: 120px;
    }
    
    .cta {
        padding: 60px 5%;
    }
    
    .footer {
        padding: 60px 5%;
    }
    
    .contact-btn {
        font-size: clamp(20px, 5vw, 28px);
        gap: 8px;
    }
    
    .contact-btn-arrow {
        width: 28px;
        height: 28px;
    }
    
    .copyright {
        font-size: clamp(12px, 3vw, 14px);
        text-align: center;
    }
}

/* Mobile First Approach - Base styles for small screens */
@media (max-width: 375px) {
    .hero {
        padding: 20px 4% 40px 4%;
        gap: 15px;
    }
    
    .container {
        padding: 0 4%;
    }
    
    .logo-image {
        width: clamp(180px, 70vw, 280px);
    }
    
    .hero-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .section-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 24px;
    }
    
    .empowerment-grid .card,
    .complexity .card {
        width: 100%;
        padding: 16px 12px;
        min-height: 200px;
    }
    
    .card h3,
    .empowerment-grid .card h3 {
        font-size: clamp(18px, 5vw, 24px);
        margin-bottom: 12px;
    }
    
    .card p,
    .empowerment-grid .card p {
        font-size: clamp(13px, 3.5vw, 16px);
    }
    
    .feature-card {
        padding: 16px 12px;
        gap: 16px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-content h3 {
        font-size: clamp(18px, 5vw, 24px);
    }
    
    .feature-content p {
        font-size: clamp(13px, 3.5vw, 16px);
    }
    
    .footer {
        padding: 40px 4%;
    }
    
    .contact-btn {
        font-size: clamp(18px, 5vw, 24px);
        gap: 8px;
    }
    
    .contact-btn-arrow {
        width: 24px;
        height: 24px;
    }
    
    .footer-text {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .copyright {
        font-size: clamp(10px, 3vw, 13px);
        text-align: center;
    }
}

/* iPhone SE and similar small devices */
@media (max-width: 320px) {
    .hero {
        padding: 16px 3% 32px 3%;
        min-height: 500px;
    }
    
    .logo-image {
        width: clamp(160px, 80vw, 240px);
    }
    
    .hero-title {
        font-size: clamp(20px, 8vw, 28px);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(12px, 4.5vw, 16px);
    }
    
    .empowerment-grid .card,
    .complexity .card {
        padding: 12px 8px;
        min-height: 180px;
    }
    
    .feature-card {
        padding: 12px 8px;
    }
    
    .footer {
        padding: 32px 3%;
    }
    
    .footer-content {
        gap: 8px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for interactive elements */
.card:hover, .feature-card:hover {
    cursor: pointer;
}

/* Focus styles for accessibility */
button:focus, a:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-background::before {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .card, .feature-card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}