@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oswald:wght@200..700&display=swap');

/* Global */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #F5F7FB;
    background-image: 
        radial-gradient(at 10% 10%, rgba(79, 70, 229, 0.07) 0px, transparent 55%),
        radial-gradient(at 90% 15%, rgba(14, 165, 233, 0.06) 0px, transparent 55%),
        radial-gradient(at 50% 95%, rgba(99, 102, 241, 0.05) 0px, transparent 60%),
        linear-gradient(to right, rgba(203, 213, 225, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(203, 213, 225, 0.15) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: "Oswald", sans-serif; 
    color: #1A2E35;
    line-height: 1.2em;
}

p, span, a, li, td, th, label, select, radio, input, button, textarea, option, .error-msg, .success-msg {
   font-family: "Inter", sans-serif;  
   color: #475569;
   line-height: 1.5em;
}

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

a {
    transition: all 0.3s ease;
}
a:hover {
    opacity: 0.7;
}

/* Header */
header {
    width: 200px;
    padding: 10px;
    margin: auto;
}

/* Main Container */
.container {
    width: 100%;
    margin: auto;
}

/* Hero Section */
.hero-section {
    padding: 30px;
    width: 60%;
    margin: auto;
}
.hero-section h1 {
    text-align: center;
    font-size: 55px;
    margin: 10px;
}
.hero-section h1 span {
    color: #2563EB;
}
.standout-text {
    display: inline-block; 
    font-weight: 600;
    animation: pulse-attention 2s ease-in-out infinite;
}
@keyframes pulse-attention {
  0%, 30%, 100% {
    transform: scale(1);
    color: #2563EB;
    text-shadow: none;
  }
  10%, 20% {
    transform: scale(1.10);
    color: #2563EB;
  }
}
.hero-section p {
    font-size: 20px;
    text-align: center;
}
.userprocess {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 95%;
    max-width: 700px;
    margin: auto;
    position: relative;
}
.input-group {
    text-align: left;
    margin-bottom: 10px;
}
.input-group label {
    display: block; 
    margin-bottom: 6px;
    font-size: 15px; 
    font-weight: 600;
    line-height: 1.5em;    
}
.input-group input, textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px; 
    font-size: 15px; 
    outline: none; 
    transition: border 0.3s;
}
.input-group input:focus {
    border-color: #0070ba;
}
.error-msg, .msg-error { 
    color: #cc0000!important; 
    font-size: 16px;
    margin-bottom: 16px;
    display: none; 
    font-weight: 600;
    line-height: 1.5em;
    text-align: center;
}
.success-msg, .msg-success {
    color: #339900!important; 
    font-size: 16px;
    margin-bottom: 16px;
    display: none; 
    font-weight: 600;
    line-height: 1.5em;  
    text-align: center;
}
#submit-btn {
    width: 100%; 
    padding: 12px; 
    background-color: #2563EB; 
    color: #fff; 
    border: none; 
    border-radius: 10px; 
    font-size: 17px; 
    cursor: pointer;   
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    margin-top: 15px;
}
#submit-btn:hover {
    opacity: 0.8!important;
}
.hint {
    font-size: 12px;
    font-style: italic;
    color: #555;
}

/* Progress Bar Styles */
#progress-container {
    display: none;
    margin-top: 25px;
}
.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #2463EB;
    transition: width 0.4s ease;
}
.progress-text {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

/* Result */
#result-section {
    display: none;
    margin:auto;
    padding: 20px;
    width: 100%;
    max-width: 900px;
}
#result-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    line-height: 1.6;
    font-size: 15px;
    color: #1e293b;
    min-height: 350px; 
    resize: vertical;
}
.action-row {
    display: flex;
    gap: 12px;
    padding: 15px;
}
.action-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.copy-btn { 
    background-color: #059669; 
}
.copy-btn:hover {
    background-color: #047857; 
}
.pdf-btn { 
    background-color: #dc2626; 
}
.pdf-btn:hover { 
    background-color: #b91c1c;
}

/* Space */
.space {
    margin-bottom: 60px;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

/* Section Header */
.section-header {
    text-align: center;
    width: 900px;
    margin: 0 auto 60px auto;
}
.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.section-header p {
    font-size: 17px;
}

/* Features Section */
.features-section {
    padding: 60px 20px 40px 20px;
    border-top: 1px solid #ddd;
    background-color: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: #F5F7FB;
    border: 1px solid #ddd;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.04);
    transition: transform 0.2s;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #2463EB;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 25px;
}
.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 17px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 10px 20px 90px 20px;
    background-color: #fff;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: #2463EB;

    padding: 35px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-text {
    font-size: 17px;
    font-style: italic;
    color: #fff;
}

/* FAQ Section */
.faq-section {
    padding: 50px 20px 90px 20px;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.02);
}
.faq-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2463EB;
}
.faq-item p {
    font-size: 17px;
}

/* Footer */
footer {
    width: 100%;
    padding: 10px;
    background-color: #1A2E35;
    margin-top: auto;
}
footer #footermain {
    width: 70%;
    display: flex;
    align-items: center;
    margin: auto;
    flex-direction: column;
}
footer p {
    font-size: 13px;
    text-align: center;
    color: #fff;
}
footer a {
    line-height: 1.5em;
    color: #fff;
}
footer a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Responsive */
@media all and (max-width:900px) {
/* Hero Section */
.hero-section {
    padding: 50px 20px 10px 20px;
    width: 100%;
 }
.hero-section h1 {
    font-size: 40px;
}

/* Section Header */
.section-header {
    max-width: 100%;
    margin: 0 auto 30px auto
}

/* Features Section */
.features-grid {
    grid-template-columns: repeat(1, 100%); 
}

/* Testimonials Section */
.testimonials-section {
    padding: 2px 20px 80px 20px;
}
.testimonials-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: #2463EB;
    padding: 35px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* FAQ Section */
.faq-section {
    padding: 50px 20px 80px 20px;
}
.faq-container {
    width: 100%;
}
.faq-item h3 {
    font-size: 20px;
}

/* Footer Section */
footer #footermain {
    width: 95%;
}
}
