/* Variables */
:root {
    --primary: #EF4036; /* Singapore red */
    --secondary: #006FB9; /* Singapore blue */
    --highlight: #F7C600; /* Singapore gold/yellow */
    --dark-accent: #1A1A1A;
    --light-bg: #FFFFFF;
    --gray-bg: #F5F7FA;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --border-radius: 10px;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--dark-accent);
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Ocean Background Animation */
.ocean {
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    z-index: -100;
    opacity: 0.1;
}

.wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23006FB9' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,208C384,203,480,181,576,181.3C672,181,768,203,864,202.7C960,203,1056,181,1152,170.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 12s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
}

.wave:nth-of-type(2) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23EF4036' fill-opacity='0.8' d='M0,256L48,266.7C96,277,192,299,288,282.7C384,267,480,213,576,213.3C672,213,768,267,864,277.3C960,288,1056,256,1152,240C1248,224,1344,224,1392,224L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    bottom: 0;
    animation: wave 18s linear reverse infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% {transform: translateX(0);}
    50% {transform: translateX(-25%);}
    100% {transform: translateX(-50%);}
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 140px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 500;
    fill: var(--primary);
}

.logo-text-bold {
    font-weight: 800;
    fill: var(--secondary);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    font-size: 1rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

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

/* Mobile Menu */
#menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 100;
}

.menu-toggle-label span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-toggle-label span:nth-child(1) {
    top: 0;
}

.menu-toggle-label span:nth-child(2) {
    top: 9px;
}

.menu-toggle-label span:nth-child(3) {
    top: 18px;
}

#menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

#menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background-color: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0 5px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(239, 64, 54, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.primary-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light-text);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(239, 64, 54, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    text-align: center;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 64, 54, 0.4);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 64, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(239, 64, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 64, 54, 0);
    }
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.phone-screen {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screen-svg {
    width: 100%;
    display: block;
}

/* Features Section */
.features-section {
    background-color: var(--light-bg);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 111, 185, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-accent);
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.85;
}

/* How to Use Section */
.how-to-section {
    background-color: var(--gray-bg);
    position: relative;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.step {
    flex: 1;
    min-width: 250px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 1.3rem;
}

.step-content {
    padding-top: 15px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-accent);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin-top: 20px;
    color: var(--primary);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    flex: 1;
    min-width: 280px;
    background-color: var(--gray-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 20px;
    color: var(--text-color);
}

.testimonial-content p::before {
    content: """;
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-name {
    font-weight: 600;
    color: var(--dark-accent);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.rating {
    color: var(--highlight);
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--gray-bg);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--dark-accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-color);
    opacity: 0.85;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .primary-button {
    background: var(--highlight);
    color: var(--dark-accent);
    font-weight: 700;
}

.cta-section .primary-button:hover {
    box-shadow: 0 10px 25px rgba(247, 198, 0, 0.5);
}

/* Footer */
.footer {
    background-color: var(--dark-accent);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--highlight);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
    color: var(--light-text);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--highlight);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.keywords {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.7rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-toggle-label {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--light-bg);
        z-index: 99;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 70px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    #menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.3rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .feature-badges {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
}
